Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 688986 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.50.0 ebuild
rust-1.50.ebuild.diff (text/plain), 1.01 KB, created by
David Carlos Manuelda
on 2021-03-02 08:18:20 UTC
(
hide
)
Description:
diff to current 1.50.0 ebuild
Filename:
MIME Type:
Creator:
David Carlos Manuelda
Created:
2021-03-02 08:18:20 UTC
Size:
1.01 KB
patch
obsolete
>diff --git a/dev-lang/rust/rust-1.50.0.ebuild b/dev-lang/rust/rust-1.50.0.ebuild >index e98848b6f..e0a7acf70 100644 >--- a/dev-lang/rust/rust-1.50.0.ebuild >+++ b/dev-lang/rust/rust-1.50.0.ebuild >@@ -260,6 +260,19 @@ src_configure() { > fi > > rust_target="$(rust_abi)" >+ llvm_libunwind="no" # Formerly false, see https://github.com/rust-lang/rust/blob/master/config.toml.example >+ 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="in-tree" # Formerly true >+ else >+ einfo "Linking with gcc_s unwinder" >+ llvm_libunwind="no" >+ fi >+ fi >+ fi > > cat <<- _EOF_ > "${S}"/config.toml > [llvm] >@@ -316,6 +329,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_
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