From 70c70f7230df70dddbc8ae4e0314db251c88280e Mon Sep 17 00:00:00 2001 From: Johannes Date: Wed, 23 Jan 2019 00:52:23 +0100 Subject: [PATCH] linux4.20: disable all gcc plugins, except LATENT_ENTROPY on aarch64 and arm [ci skip] --- srcpkgs/linux4.20/files/arm-dotconfig | 4 ++-- srcpkgs/linux4.20/files/arm64-dotconfig | 4 ++-- srcpkgs/linux4.20/files/i386-dotconfig | 15 ++++----------- srcpkgs/linux4.20/files/ppc64-dotconfig | 12 +++--------- srcpkgs/linux4.20/files/ppc64le-dotconfig | 12 +++--------- srcpkgs/linux4.20/files/x86_64-dotconfig | 15 ++++----------- srcpkgs/linux4.20/template | 2 +- 7 files changed, 19 insertions(+), 45 deletions(-) diff --git a/srcpkgs/linux4.20/files/arm-dotconfig b/srcpkgs/linux4.20/files/arm-dotconfig index 7ab86253766..63d8ddca9eb 100644 --- a/srcpkgs/linux4.20/files/arm-dotconfig +++ b/srcpkgs/linux4.20/files/arm-dotconfig @@ -578,8 +578,8 @@ CONFIG_HAVE_GCC_PLUGINS=y CONFIG_GCC_PLUGINS=y # CONFIG_GCC_PLUGIN_CYC_COMPLEXITY is not set CONFIG_GCC_PLUGIN_LATENT_ENTROPY=y -CONFIG_GCC_PLUGIN_STRUCTLEAK=y -CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=y +# CONFIG_GCC_PLUGIN_STRUCTLEAK is not set +# CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL is not set # CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE is not set # CONFIG_GCC_PLUGIN_RANDSTRUCT is not set CONFIG_RT_MUTEXES=y diff --git a/srcpkgs/linux4.20/files/arm64-dotconfig b/srcpkgs/linux4.20/files/arm64-dotconfig index ddbc4d8ef25..83b3dc43bd6 100644 --- a/srcpkgs/linux4.20/files/arm64-dotconfig +++ b/srcpkgs/linux4.20/files/arm64-dotconfig @@ -773,8 +773,8 @@ CONFIG_HAVE_GCC_PLUGINS=y CONFIG_GCC_PLUGINS=y # CONFIG_GCC_PLUGIN_CYC_COMPLEXITY is not set CONFIG_GCC_PLUGIN_LATENT_ENTROPY=y -CONFIG_GCC_PLUGIN_STRUCTLEAK=y -CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=y +# CONFIG_GCC_PLUGIN_STRUCTLEAK is not set +# CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL is not set # CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE is not set # CONFIG_GCC_PLUGIN_RANDSTRUCT is not set # CONFIG_GCC_PLUGIN_STACKLEAK is not set diff --git a/srcpkgs/linux4.20/files/i386-dotconfig b/srcpkgs/linux4.20/files/i386-dotconfig index 80943410324..3ffaea60366 100644 --- a/srcpkgs/linux4.20/files/i386-dotconfig +++ b/srcpkgs/linux4.20/files/i386-dotconfig @@ -823,17 +823,10 @@ CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y # GCOV-based kernel profiling # # CONFIG_GCOV_KERNEL is not set -CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y -CONFIG_PLUGIN_HOSTCC="g++" -CONFIG_HAVE_GCC_PLUGINS=y -CONFIG_GCC_PLUGINS=y -# CONFIG_GCC_PLUGIN_CYC_COMPLEXITY is not set -CONFIG_GCC_PLUGIN_LATENT_ENTROPY=y -CONFIG_GCC_PLUGIN_STRUCTLEAK=y -CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=y -# CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE is not set -# CONFIG_GCC_PLUGIN_RANDSTRUCT is not set -# CONFIG_GCC_PLUGIN_STACKLEAK is not set +# CONFIG_ARCH_HAS_GCOV_PROFILE_ALL is not set +# CONFIG_PLUGIN_HOSTCC is not set +# CONFIG_HAVE_GCC_PLUGINS is not set +# CONFIG_GCC_PLUGINS is not set CONFIG_RT_MUTEXES=y CONFIG_BASE_SMALL=0 CONFIG_MODULES=y diff --git a/srcpkgs/linux4.20/files/ppc64-dotconfig b/srcpkgs/linux4.20/files/ppc64-dotconfig index de280036916..5f3d7dc62e5 100644 --- a/srcpkgs/linux4.20/files/ppc64-dotconfig +++ b/srcpkgs/linux4.20/files/ppc64-dotconfig @@ -691,15 +691,9 @@ CONFIG_REFCOUNT_FULL=y # # CONFIG_GCOV_KERNEL is not set CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y -CONFIG_PLUGIN_HOSTCC="g++" -CONFIG_HAVE_GCC_PLUGINS=y -CONFIG_GCC_PLUGINS=y -# CONFIG_GCC_PLUGIN_CYC_COMPLEXITY is not set -CONFIG_GCC_PLUGIN_LATENT_ENTROPY=y -CONFIG_GCC_PLUGIN_STRUCTLEAK=y -CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=y -# CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE is not set -# CONFIG_GCC_PLUGIN_RANDSTRUCT is not set +# CONFIG_PLUGIN_HOSTCC="g++" +# CONFIG_HAVE_GCC_PLUGINS=y +# CONFIG_GCC_PLUGINS is not set CONFIG_RT_MUTEXES=y CONFIG_BASE_SMALL=0 CONFIG_MODULES=y diff --git a/srcpkgs/linux4.20/files/ppc64le-dotconfig b/srcpkgs/linux4.20/files/ppc64le-dotconfig index fe8a16b109c..088385bcea2 100644 --- a/srcpkgs/linux4.20/files/ppc64le-dotconfig +++ b/srcpkgs/linux4.20/files/ppc64le-dotconfig @@ -626,15 +626,9 @@ CONFIG_REFCOUNT_FULL=y # # CONFIG_GCOV_KERNEL is not set CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y -CONFIG_PLUGIN_HOSTCC="g++" -CONFIG_HAVE_GCC_PLUGINS=y -CONFIG_GCC_PLUGINS=y -# CONFIG_GCC_PLUGIN_CYC_COMPLEXITY is not set -CONFIG_GCC_PLUGIN_LATENT_ENTROPY=y -CONFIG_GCC_PLUGIN_STRUCTLEAK=y -CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=y -# CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE is not set -# CONFIG_GCC_PLUGIN_RANDSTRUCT is not set +# CONFIG_PLUGIN_HOSTCC is not set +# CONFIG_HAVE_GCC_PLUGINS is not set +# CONFIG_GCC_PLUGINS is not set CONFIG_RT_MUTEXES=y CONFIG_BASE_SMALL=0 CONFIG_MODULES=y diff --git a/srcpkgs/linux4.20/files/x86_64-dotconfig b/srcpkgs/linux4.20/files/x86_64-dotconfig index 403448838c7..ef77eff61e1 100644 --- a/srcpkgs/linux4.20/files/x86_64-dotconfig +++ b/srcpkgs/linux4.20/files/x86_64-dotconfig @@ -851,17 +851,10 @@ CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y # GCOV-based kernel profiling # # CONFIG_GCOV_KERNEL is not set -CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y -CONFIG_PLUGIN_HOSTCC="g++" -CONFIG_HAVE_GCC_PLUGINS=y -CONFIG_GCC_PLUGINS=y -# CONFIG_GCC_PLUGIN_CYC_COMPLEXITY is not set -CONFIG_GCC_PLUGIN_LATENT_ENTROPY=y -CONFIG_GCC_PLUGIN_STRUCTLEAK=y -CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=y -# CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE is not set -# CONFIG_GCC_PLUGIN_RANDSTRUCT is not set -# CONFIG_GCC_PLUGIN_STACKLEAK is not set +# CONFIG_ARCH_HAS_GCOV_PROFILE_ALL is not set +# CONFIG_PLUGIN_HOSTCC is not set +# CONFIG_HAVE_GCC_PLUGINS is not set +# CONFIG_GCC_PLUGINS is not set CONFIG_RT_MUTEXES=y CONFIG_BASE_SMALL=0 CONFIG_MODULES=y diff --git a/srcpkgs/linux4.20/template b/srcpkgs/linux4.20/template index f51b7090608..76e773d91da 100644 --- a/srcpkgs/linux4.20/template +++ b/srcpkgs/linux4.20/template @@ -1,7 +1,7 @@ # Template file for 'linux4.20' pkgname=linux4.20 version=4.20.3 -revision=2 +revision=3 wrksrc="linux-${version}" short_desc="The Linux kernel and modules (${version%.*} series)" maintainer="Helmut Pozimski "