Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 675476

Summary: sys-libs/llvm-unwind: build fat libs (multilib) on x64 Darwin
Product: Gentoo Linux Reporter: Fabian Groffen <grobian>
Component: Current packagesAssignee: LLVM support project <llvm>
Status: RESOLVED OBSOLETE    
Severity: normal CC: michael, prefix
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---

Description Fabian Groffen gentoo-dev 2019-01-15 08:40:36 UTC
Please allow llvm-unwind to be built "fat", containing 32 and 64-bits libs packaged into one.

@llvm: are you ok with below patch?


Michael Weiser:
I did have to apply a small patch to llvm-libunwind, however, to compile
fat to match libc++ and libc++abi:

--- sys-libs/llvm-libunwind/llvm-libunwind-7.0.1.ebuild 2018-12-20
13:56:00.000000000 +0100
+++ sys-libs/llvm-libunwind/llvm-libunwind-7.0.1.ebuild 2019-01-14
15:44:45.000000000 +0100
@@ -81,6 +81,10 @@
                )
        fi

+       # make sure we build multilib on OSX, because llvm insists on
+       # building multilib too
+       [[ ${CHOST} == *86*-darwin* ]] && mycmakeargs+=(
-DCMAKE_OSX_ARCHITECTURES="i386;x86_64" )
+
        cmake-utils_src_configure
 }
Comment 1 Fabian Groffen gentoo-dev 2021-01-11 20:41:42 UTC
we'd need to revisit this