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

Bug 834574

Summary: dev-lang/rust - Add llvm-libunwind IUSE to be able to replace gcc_s in when compiled with clang
Product: Gentoo Linux Reporter: David Carlos Manuelda <StormByte>
Component: Current packagesAssignee: Georgy Yakovlev <gyakovlev>
Status: RESOLVED DUPLICATE    
Severity: normal CC: herrtimson, rust
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: rust-1.59.0 diff

Description David Carlos Manuelda 2022-03-04 12:52:43 UTC
Since some time I am modifying the rust ebuild to allow the posibility to link with llvm-libunwind instead of gcc_s when compiling rust with clang/libcxx/compiler-rt combination.

I've spotted no problems over at least 3 version so I'm sharing it here seeking it to be included mainstream.

Will attach the ebuild diff since it needs only little changes.

Reproducible: Always
Comment 1 David Carlos Manuelda 2022-03-04 12:54:25 UTC
Created attachment 766223 [details, diff]
rust-1.59.0 diff

This is the diff for rust 1.59.0 enabling optional llvm-libunwind
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-05 07:44:50 UTC
Let's discuss in bug 733242 but worth looking at https://github.com/gentoo/gentoo/pull/22221.

*** This bug has been marked as a duplicate of bug 733242 ***