lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <d8375c5b-03d6-4c24-83c1-483f0093c48d@gmail.com>
Date: Tue, 1 Apr 2025 17:34:05 -0400
From: Tadhg McDonald-Jensen <tadhgmister@...il.com>
To: kees@...nel.org, linux-hardening@...r.kernel.org,
 linux-kernel@...r.kernel.org
Subject: cross compile fails with GCC_PLUGIN_LATENT_ENTROPY

Hello,

When cross compiling the linux kernel with
`CONFIG_GCC_PLUGIN_LATENT_ENTROPY=y` it tries to compile the plugin for
the target platform instead of for the host machine causing the
compilation to fail.

I've opened a bug on bugzilla:
https://bugzilla.kernel.org/show_bug.cgi?id=219973

Specifically I am using GNU guix and trying to compile with `ARCH=arm`
and `CROSS_COMPILE=arm-linux-gnueabihf`, in guix the include paths are
setup in a non typical way so if that is relevant to this error I am
happy to provide more detail, but hopefully just the output of make
showing `CC scripts/gcc-plugins/latent_entropy_plugin.o` instead of
`HOSTCC` like many other files in the scripts folder is sufficient to
reproduce and solve this issue.

Kind Regards,
Tadhg McDonald-Jensen
Download attachment "OpenPGP_0x85C0C8DCBBF44EE7.asc" of type "application/pgp-keys" (665 bytes)

Download attachment "OpenPGP_signature.asc" of type "application/pgp-signature" (237 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ