Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 428810 Details for
Bug 578064
sys-devel/llvm-3.8.0: build fails on Gentoo/FreeBSD.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sample patch for llvm-3.8.0.ebuild
bug578064.patch (text/plain), 1.62 KB, created by
Yuta SATOH
on 2016-03-23 10:43:17 UTC
(
hide
)
Description:
sample patch for llvm-3.8.0.ebuild
Filename:
MIME Type:
Creator:
Yuta SATOH
Created:
2016-03-23 10:43:17 UTC
Size:
1.62 KB
patch
obsolete
>diff --git a/llvm-3.8.0.ebuild b/llvm-3.8.0.ebuild >index f8e26f5..d6e9d39 100644 >--- a/llvm-3.8.0.ebuild >+++ b/llvm-3.8.0.ebuild >@@ -178,6 +178,9 @@ src_prepare() { > # disable use of SDK on OSX, bug #568758 > sed -i -e 's/xcrun/false/' utils/lit/lit/util.py || die > >+ # Workaround, can be compiled with gcc on Gentoo/FreeBSD, bug #578064 >+ use kernel_FreeBSD && [[ $(tc-getCC) == *gcc* ]] && append-cppflags "-D_GLIBCXX_USE_C99" >+ > if use clang; then > # Automatically select active system GCC's libraries, bugs #406163 and #417913 > epatch "${FILESDIR}"/clang-3.5-gentoo-runtime-gcc-detection-v3.patch >@@ -202,6 +205,10 @@ src_prepare() { > # https://llvm.org/bugs/show_bug.cgi?id=23793 > epatch "${FILESDIR}"/cmake/clang-0002-cmake-Make-CLANG_LIBDIR_SUFFIX-overridable.patch > >+ # Fix 'stdarg.h' file not found on Gentoo/FreeBSD, bug #578064 >+ # https://llvm.org/bugs/show_bug.cgi?id=26651 >+ epatch "${FILESDIR}"/llvm-3.8-compiler-rt-fbsd.patch >+ > pushd projects/compiler-rt >/dev/null || die > > # Fix WX sections, bug #421527 >@@ -249,7 +256,6 @@ multilib_src_configure() { > local mycmakeargs=( > -DLLVM_LIBDIR_SUFFIX=${libdir#lib} > >- -DLLVM_LINK_LLVM_DYLIB=ON > -DLLVM_ENABLE_TIMESTAMPS=OFF > -DLLVM_TARGETS_TO_BUILD="${targets}" > -DLLVM_BUILD_TESTS=$(usex test) >@@ -270,6 +276,13 @@ multilib_src_configure() { > -DHAVE_HISTEDIT_H=$(usex libedit) > ) > >+ # Fixed fails to link on Gentoo/FreeBSD, bug #578064 >+ if use kernel_FreeBSD; then >+ mycmakeargs+=( -DBUILD_SHARED_LIBS=ON ) >+ else >+ mycmakeargs+=( -DLLVM_LINK_LLVM_DYLIB=ON ) >+ fi >+ > if use clang; then > mycmakeargs+=( > -DCMAKE_DISABLE_FIND_PACKAGE_LibXml2=$(usex !xml)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 578064
:
428804
|
428806
|
428808
|
428810
|
428812
|
428982
|
428984