Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834574 - dev-lang/rust - Add llvm-libunwind IUSE to be able to replace gcc_s in when compiled with clang
Summary: dev-lang/rust - Add llvm-libunwind IUSE to be able to replace gcc_s in when c...
Status: RESOLVED DUPLICATE of bug 733242
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-04 12:52 UTC by David Carlos Manuelda
Modified: 2022-03-05 07:44 UTC (History)
2 users (show)

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


Attachments
rust-1.59.0 diff (rust-1.59.0.ebuild.diff,1.16 KB, patch)
2022-03-04 12:54 UTC, David Carlos Manuelda
Details | Diff

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