From 0131a56ecdc8319995540722a7cf815950fba67f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 8 Apr 2020 15:23:56 +0100 Subject: [PATCH] kbuild: Disable gcc plugins raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- The GCC plugin feature leads to different kernel configurations on what ought to be equivalent build systems because they depend on the build hosts native compilers rather than the cross compilers needed for the target. This causes problems with module symbol version mismatches. Disable GCC plugins for all build hosts. Advanced build script hackery borrowed from a patch by milhouse. Signed-off-by: Phil Elwell Signed-off-by: Fang Yafen Signed-off-by: Zheng Zengkai --- scripts/gcc-plugin.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/gcc-plugin.sh b/scripts/gcc-plugin.sh index b79fd0bea838..c3d0c8fedbdd 100755 --- a/scripts/gcc-plugin.sh +++ b/scripts/gcc-plugin.sh @@ -1,5 +1,6 @@ #!/bin/sh # SPDX-License-Identifier: GPL-2.0 +exit 1 # Disable plugins set -e -- GitLab