summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-07-13 12:01:18 +0100
committerSteve Sakoman <steve@sakoman.com>2023-07-26 05:20:36 -1000
commit8585e789650d1c55d9ed8074976ae3229d6d9a39 (patch)
tree96b4b1a693057f6fdc317c3b6a0b2889dd64f019
parentb2e3fcb94d93a6dfbc8dbc58b50de75c10cc42a5 (diff)
downloadpoky-8585e789650d1c55d9ed8074976ae3229d6d9a39.tar.gz
gcc: don't pass --enable-standard-branch-protection
By changing the default code generation of GCC we're inadvertently breaking the GCC test suite, which has ~120K+ more failures when run for aarch64 compared to x86-64. This was because the generated code fragments included the BTI instructions, which the test case wasn't expecting. We can't tell the tests globally to run without branch protection, as that will break the tests which also turn it on. Remove the enabling of branch protection by standard in GCC, we'll enable it in the tune files instead. (From OE-Core rev: 759327cf6bd79118bae0c68e63742ae4721471d8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bb4b9017db6a893ed054a2d2ad4cc671dec09c42) Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-common.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc
index e4cdb73f0a..dba25eb754 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc
@@ -40,7 +40,6 @@ EXTRA_OECONF = "\
40 ${@get_gcc_mips_plt_setting(bb, d)} \ 40 ${@get_gcc_mips_plt_setting(bb, d)} \
41 ${@get_gcc_ppc_plt_settings(bb, d)} \ 41 ${@get_gcc_ppc_plt_settings(bb, d)} \
42 ${@get_gcc_multiarch_setting(bb, d)} \ 42 ${@get_gcc_multiarch_setting(bb, d)} \
43 --enable-standard-branch-protection \
44" 43"
45 44
46# glibc version is a minimum controlling whether features are enabled. 45# glibc version is a minimum controlling whether features are enabled.