From cd8b64b0a236b27e5383e2394de65b9bfd4b6677 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 18 Aug 2016 14:46:32 +0100 Subject: libunwind: Fix build race conflict with gcc and musl Building libunwind, then gcc-runtime causes build failures. This is hard to fix since gcc-runtime wants the internal gcc unwind.h header but libunwind wants to provide this. There are differences in include behaviour between gcc and glibc which are by design. This patch hacks around the issue by looking for a define used during gcc-runtime's build and skipping to the internal header in that case. The patch is only enabled on musl and is the best workaround I could come up with to unblock failing builds on our autobuilder. [YOCTO #10129] Signed-off-by: Richard Purdie --- meta/recipes-support/libunwind/libunwind_git.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-support/libunwind/libunwind_git.bb') diff --git a/meta/recipes-support/libunwind/libunwind_git.bb b/meta/recipes-support/libunwind/libunwind_git.bb index 6d1d9fb76e..cd4cb89378 100644 --- a/meta/recipes-support/libunwind/libunwind_git.bb +++ b/meta/recipes-support/libunwind/libunwind_git.bb @@ -13,6 +13,7 @@ SRC_URI = "git://git.sv.gnu.org/libunwind.git \ file://0001-ppc32-Consider-ucontext-mismatches-between-glibc-and.patch \ " +SRC_URI_append_libc-musl = " file://musl-header-conflict.patch" EXTRA_OECONF_append_libc-musl = " --disable-documentation --disable-tests " # http://errors.yoctoproject.org/Errors/Details/20487/ -- cgit 1.2.3-korg