summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-05-14 10:30:09 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-15 16:31:45 +0100
commit3799c960c24b2bed74320df9dc8525821c8e1477 (patch)
tree479932e17e6e3eaf1693f231dabb6caa68110e23 /meta
parent68ad04722892f547990c2aa7fc21aa009f8f00b6 (diff)
downloadpoky-3799c960c24b2bed74320df9dc8525821c8e1477.tar.gz
valgrind: Do not use outline-atomics on aarch64
This avoids the __getauxval undefined reference error seen with gcc10 on doing static linking with -nodefaultlibs, which is uncommon usecase anyway, disabling outline-atomics is not a huge deal for OE in terms of performance as we already use -mcpu which is tuned enough to the SOC the code is being generated for (From OE-Core rev: 3952738d083b888e5b898ed3d63a0ed9a4dd3712) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.15.0.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.15.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.15.0.bb
index 7954437a1a..25837e4b44 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.15.0.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.15.0.bb
@@ -74,6 +74,8 @@ EXTRA_OECONF += "${@['--enable-only32bit','--enable-only64bit'][d.getVar('SITEIN
74# valgrind checks host_cpu "armv7*)", so we need to over-ride the autotools.bbclass default --host option 74# valgrind checks host_cpu "armv7*)", so we need to over-ride the autotools.bbclass default --host option
75EXTRA_OECONF_append_arm = " --host=armv7${HOST_VENDOR}-${HOST_OS}" 75EXTRA_OECONF_append_arm = " --host=armv7${HOST_VENDOR}-${HOST_OS}"
76 76
77CFLAGS_append_aarch64 = " -mno-outline-atomics "
78
77EXTRA_OEMAKE = "-w" 79EXTRA_OEMAKE = "-w"
78 80
79CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'" 81CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'"