Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 649880 Details for
Bug 733242
dev-lang/rust: Link against llvm-libunwind in case of using clang with compiler-rt and if it's installed (link to gcc_s if not installed)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Diff to current 1.44.1 ebuild
rust-1.44.1.ebuild.diff (text/plain), 1.59 KB, created by
David Carlos Manuelda
on 2020-07-19 19:54:09 UTC
(
hide
)
Description:
Diff to current 1.44.1 ebuild
Filename:
MIME Type:
Creator:
David Carlos Manuelda
Created:
2020-07-19 19:54:09 UTC
Size:
1.59 KB
patch
obsolete
>diff --git a/dev-lang/rust/rust-1.44.1.ebuild b/dev-lang/rust/rust-1.44.1.ebuild >index 3ddcdaa9e..f86c03217 100644 >--- a/dev-lang/rust/rust-1.44.1.ebuild >+++ b/dev-lang/rust/rust-1.44.1.ebuild >@@ -18,7 +18,7 @@ else > SLOT="stable/${ABI_VER}" > MY_P="rustc-${PV}" > SRC="${MY_P}-src.tar.xz" >- KEYWORDS="amd64 arm arm64 ppc64 x86" >+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" > fi > > RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).1" >@@ -211,6 +211,19 @@ src_configure() { > fi > > rust_target="$(rust_abi)" >+ llvm_libunwind="false" >+ if tc-is-clang; then >+ local compiler_rt=$($(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -print-libgcc-file-name) >+ if [[ ${compiler_rt} == *libclang_rt* ]]; then >+ if has_version sys-libs/llvm-libunwind; then >+ einfo "Linking with llvm-libunwind" >+ llvm_libunwind=true >+ else >+ einfo "Linking with gcc_s unwinder" >+ llvm_libunwind=false >+ fi >+ fi >+ fi > > cat <<- EOF > "${S}"/config.toml > [llvm] >@@ -262,6 +275,7 @@ src_configure() { > lld = $(usex system-llvm false $(toml_usex wasm)) > backtrace-on-ice = true > jemalloc = false >+ llvm-libunwind = ${llvm_libunwind} > [dist] > src-tarball = false > EOF >@@ -441,9 +455,9 @@ src_install() { > fi > > dodoc COPYRIGHT >- rm "${ED}/usr/share/doc/${P}"/*.old || die >- rm "${ED}/usr/share/doc/${P}/LICENSE-APACHE" || die >- rm "${ED}/usr/share/doc/${P}/LICENSE-MIT" || die >+ rm -f "${ED}/usr/share/doc/${P}"/*.old || die >+ rm -f "${ED}/usr/share/doc/${P}/LICENSE-APACHE" || die >+ rm -f "${ED}/usr/share/doc/${P}/LICENSE-MIT" || die > > # note: eselect-rust adds EROOT to all paths below > cat <<-EOF > "${T}/provider-${P}"
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 733242
: 649880 |
649882
|
688983
|
688986
|
689055