when `CONFIG_GCC_PLUGIN_LATENT_ENTROPY=y` is set `scripts/gcc-plugins/latent_entropy_plugin.o` gets compiled for the target system instead of for the host causing the compilation to fail. The relevent error is reproduced with the following when a suitable cross compiler is present on the system: `make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- scripts/gcc-plugins/latent_entropy_plugin.o` Doing a full build with the flag enabled in `.config` would be necessary to test the plugin is used properly once it is compiled.