Summary: | dev-lang/rust-bin: rust 1.67.1 is linked against libgcc, but does not have it as a dependency. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Violet Purcell <vimproved> |
Component: | Current packages | Assignee: | Gentoo Rust Project <rust> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=870280 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Violet Purcell
2023-02-13 01:08:59 UTC
Note that this was not an issue with rust-bin <1.67, it only started happening after the 1.67 update. > Error relocating /opt/rust-bin-1.67.1/bin/../lib/librustc_driver-a19ffab541701154.so: _Unwind_GetRegionStart: symbol not found
> ...
These _Unwind_* symbols are provided by libgcc_s.so.1, so libunwind is not needed.
And your output shows no linking against any libunwind.
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #2) > > Error relocating /opt/rust-bin-1.67.1/bin/../lib/librustc_driver-a19ffab541701154.so: _Unwind_GetRegionStart: symbol not found > > ... > > These _Unwind_* symbols are provided by libgcc_s.so.1, so libunwind is not > needed. > And your output shows no linking against any libunwind. Did not know that. I've edited the title accordingly. interesting, are you able to compile dev-lang/rust, or do you run into the same issue with the stage needed for bootstraping? (In reply to tt_1 from comment #4) > interesting, are you able to compile dev-lang/rust, or do you run into the > same issue with the stage needed for bootstraping? dev-lang/rust compiles fine, I assume the stage needed for bootstrapping must have libgcc statically linked in, or not require libgcc at all. The exact same issue happens with rustup's rust toolchain as well. we hack in different unwind implementation during rust (non-bin) merge on gcc-less system: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=941cc3c5faae01bff0045d92e62da0a9689a0358 we should mask rust-bin before adding explicit dependency. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92375e2d5c3202873b3cef286ce7e0457a01d6b8 commit 92375e2d5c3202873b3cef286ce7e0457a01d6b8 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2023-03-23 23:21:49 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2023-03-23 23:24:17 +0000 dev-lang/rust-bin: revbump 1.67.1, depend on gcc for libgcc_s Closes: https://bugs.gentoo.org/894142 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> .../rust-bin/{rust-bin-1.67.1-r1.ebuild => rust-bin-1.67.1-r2.ebuild} | 1 + 1 file changed, 1 insertion(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeb83a1cbe5a5185dfbb0dba264529bd90faffe0 commit eeb83a1cbe5a5185dfbb0dba264529bd90faffe0 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2023-03-23 23:18:48 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2023-03-23 23:24:17 +0000 dev-lang/rust-bin: add 1.68.1 Bug: https://bugs.gentoo.org/894142 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-lang/rust-bin/Manifest | 33 +++++ dev-lang/rust-bin/rust-bin-1.68.1.ebuild | 229 +++++++++++++++++++++++++++++++ 2 files changed, 262 insertions(+) |