Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 675476 - sys-libs/llvm-unwind: build fat libs (multilib) on x64 Darwin
Summary: sys-libs/llvm-unwind: build fat libs (multilib) on x64 Darwin
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 OS X
: Normal normal (vote)
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-15 08:40 UTC by Fabian Groffen
Modified: 2021-01-11 20:41 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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