From acc639e42baf6c499f1249f0b6d34e3aab62b7ed Mon Sep 17 00:00:00 2001 From: Robert Schwebel Date: Thu, 11 Mar 2021 23:48:09 +0100 Subject: platform-v7a: enable GCC_PLUGINS PTXdist 2021.03.0 has a bug: without this, the v7a platform cannot be built. This basically reverts 510c23705bc999bda9d0b040418dfebe94fc9c68. Signed-off-by: Robert Schwebel --- configs/platform-v7a/kernelconfig | 9 +++++++++ configs/platform-v7a/platformconfig | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'configs') diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig index ce1304f..1f1c764 100644 --- a/configs/platform-v7a/kernelconfig +++ b/configs/platform-v7a/kernelconfig @@ -555,6 +555,7 @@ CONFIG_ALIGNMENT_TRAP=y # CONFIG_PARAVIRT is not set # CONFIG_PARAVIRT_TIME_ACCOUNTING is not set # CONFIG_XEN is not set +CONFIG_STACKPROTECTOR_PER_TASK=y # end of Kernel Features # @@ -769,6 +770,11 @@ CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y # end of GCOV-based kernel profiling CONFIG_HAVE_GCC_PLUGINS=y +CONFIG_GCC_PLUGINS=y +# CONFIG_GCC_PLUGIN_CYC_COMPLEXITY is not set +# CONFIG_GCC_PLUGIN_LATENT_ENTROPY is not set +# CONFIG_GCC_PLUGIN_RANDSTRUCT is not set +CONFIG_GCC_PLUGIN_ARM_SSP_PER_TASK=y # end of General architecture-dependent options CONFIG_RT_MUTEXES=y @@ -3455,6 +3461,9 @@ CONFIG_LSM="yama,loadpin,safesetid,integrity" # Memory initialization # CONFIG_INIT_STACK_NONE=y +# CONFIG_GCC_PLUGIN_STRUCTLEAK_USER is not set +# CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF is not set +# CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL is not set # CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not set # CONFIG_INIT_ON_FREE_DEFAULT_ON is not set # end of Memory initialization diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/platformconfig index a42e598..98bb638 100644 --- a/configs/platform-v7a/platformconfig +++ b/configs/platform-v7a/platformconfig @@ -135,7 +135,7 @@ PTXCONF_KERNEL_LZOP=y # PTXCONF_KERNEL_LZ4 is not set # PTXCONF_KERNEL_OPENSSL is not set # PTXCONF_KERNEL_LIBELF is not set -# PTXCONF_KERNEL_GCC_PLUGINS is not set +PTXCONF_KERNEL_GCC_PLUGINS=y PTXCONF_KERNEL_CONFIG_BASE_VERSION=y # -- cgit v1.2.3