diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-08-07 23:47:58 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-10 10:46:32 +0100 |
commit | 309a6e01e3b40022c23df1f72ad5a6e9df65b334 (patch) | |
tree | 43c7e0588fec3fb02dd174502633a50c80b37a2f /meta/conf | |
parent | 6d84986631803bdb77dcb2d0f036025646e10728 (diff) | |
download | poky-309a6e01e3b40022c23df1f72ad5a6e9df65b334.tar.gz |
world-broken: Add libunwind for musl/arm
gcc and libunwind race and when libunwind wins
results are build fails for gcc as described
this is only seen on musl/arm since on musl
/usr/include is search before gcc fixed headers
and unwind.h is in fixed headers. So it works
ok on glibc but not on musl due to reversed search
order.
(From OE-Core rev: 2e9a88a21d21f2f71769899888fbbc994bc708f0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/distro/include/world-broken.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/conf/distro/include/world-broken.inc b/meta/conf/distro/include/world-broken.inc index a5f6371d31..d4bdddfcfe 100644 --- a/meta/conf/distro/include/world-broken.inc +++ b/meta/conf/distro/include/world-broken.inc | |||
@@ -47,3 +47,10 @@ EXCLUDE_FROM_WORLD_pn-perf_libc-musl = "1" | |||
47 | 47 | ||
48 | # error: 'RTLD_NEXT' was not declared in this scope | 48 | # error: 'RTLD_NEXT' was not declared in this scope |
49 | EXCLUDE_FROM_WORLD_pn-gcc-sanitizers_libc-musl = "1" | 49 | EXCLUDE_FROM_WORLD_pn-gcc-sanitizers_libc-musl = "1" |
50 | |||
51 | # gcc fails to build when libuwind is staged before building gcc since | ||
52 | # it then finds the unwind.h header from libunwind and not from libgcc | ||
53 | # and on arm specially they are different since libgcc defines some functions | ||
54 | # as macros which are functions in libunwind and it fails during linking | ||
55 | # libbacktrace/backtrace.c:76: undefined reference to `_Unwind_GetIP' | ||
56 | EXCLUDE_FROM_WORLD_pn-libunwind_libc-musl_arm = "1" | ||