mirror of
https://git.yoctoproject.org/poky
synced 2026-02-06 08:48:45 +01:00
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: 81351d984bc6238e9b901ae83c0de6e3d3463c77) 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>
This commit is contained in:
committed by
Steve Sakoman
parent
a809b0d5dc
commit
151fd33bbe
@@ -40,7 +40,6 @@ EXTRA_OECONF = "\
|
||||
${@get_gcc_mips_plt_setting(bb, d)} \
|
||||
${@get_gcc_ppc_plt_settings(bb, d)} \
|
||||
${@get_gcc_multiarch_setting(bb, d)} \
|
||||
--enable-standard-branch-protection \
|
||||
"
|
||||
|
||||
# glibc version is a minimum controlling whether features are enabled.
|
||||
|
||||
Reference in New Issue
Block a user