mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-08-22 00:40:35 +02:00
![]() Currently CONFIG_GCC_PLUGINS is auto enabled by detecting host build environment as follows: "depends on $(success,$(srctree)/scripts/gcc-plugin.sh $(CC))" This potentially cause an inconsistency issue of images built from two machines e.g. kernel modules built by ourselves maybe unable to load with a prebuilt kernel image and vice versa. (Affected by STACKPROTECTOR_PER_TASK which is also default y and depends on GCC_PLUGINS) In order to address this image inconsistency issue, we make the GCC_PLUGINS option not default to y and reply on users to select it from defconfig file once their host environment can meet the requirement and want this option enabled. This issue happened with GCC 10.2 toolchain and have gcc-10-plugin-dev package installed on host after migrated to Yocto 3.2. Acked-by: Jason Liu <jason.hui.liu@nxp.com> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> |
||
---|---|---|
.. | ||
.gitignore | ||
arm_ssp_per_task_plugin.c | ||
gcc-common.h | ||
gcc-generate-gimple-pass.h | ||
gcc-generate-ipa-pass.h | ||
gcc-generate-rtl-pass.h | ||
gcc-generate-simple_ipa-pass.h | ||
Kconfig | ||
latent_entropy_plugin.c | ||
Makefile | ||
randomize_layout_plugin.c | ||
sancov_plugin.c | ||
stackleak_plugin.c | ||
structleak_plugin.c |