linux-imx/scripts/gcc-plugins
Dong Aisheng 1ad8de5ca9 LF-2702 scripts: gcc-plugins: make GCC_PLUGINS not default to y
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>
2024-11-18 13:31:39 +08:00
..
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
arm_ssp_per_task_plugin.c gcc-plugins: arm-ssp: Prepare for THREAD_INFO_IN_TASK support 2021-09-27 16:54:01 +02:00
gcc-common.h gcc-plugins: Remove duplicate included header file stringpool.h 2024-07-08 12:20:32 -07:00
gcc-generate-gimple-pass.h gcc-plugins: remove support for GCC 4.9 and older 2021-10-04 10:58:08 -07:00
gcc-generate-ipa-pass.h gcc-plugins: remove support for GCC 4.9 and older 2021-10-04 10:58:08 -07:00
gcc-generate-rtl-pass.h gcc-plugins: remove support for GCC 4.9 and older 2021-10-04 10:58:08 -07:00
gcc-generate-simple_ipa-pass.h gcc-plugins: remove support for GCC 4.9 and older 2021-10-04 10:58:08 -07:00
Kconfig LF-2702 scripts: gcc-plugins: make GCC_PLUGINS not default to y 2024-11-18 13:31:39 +08:00
latent_entropy_plugin.c gcc-plugins: latent_entropy: Fix typo (args -> argc) in plugin description 2023-11-14 09:32:47 -08:00
Makefile gcc-plugins: drop -std=gnu++11 to fix GCC 13 build 2023-02-02 16:31:23 +00:00
randomize_layout_plugin.c gcc-plugins: randstruct: Remove GCC 4.7 or newer requirement 2024-08-05 14:34:23 -07:00
sancov_plugin.c gcc-plugins: use KERNELVERSION for plugin version 2022-05-24 08:25:16 -07:00
stackleak_plugin.c gcc-plugins/stackleak: Avoid .head.text section 2024-04-03 14:35:49 -07:00
structleak_plugin.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_385.RULE 2022-06-10 14:51:36 +02:00