Summary: | dev-lang/rust[llvm-libunwind]: fails to compile on glibc system (librustc_driver-66240fb970671f06.so: undefined reference to `_Unwind_GetLanguageSpecificData') | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Georgy Yakovlev <gyakovlev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | rust |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=733242 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log.xz |
Description
Sam James
2022-09-15 12:26:55 UTC
AFAIK Rust uses libgcc's unwind without llvm-libunwind here, so maybe we should just mask the flag on non-pure LLVM profiles? Not sure. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acacd8e179eb737f7e36c82ca6d8cf236eff0c9a commit acacd8e179eb737f7e36c82ca6d8cf236eff0c9a Author: Sam James <sam@gentoo.org> AuthorDate: 2022-09-15 23:19:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-15 23:20:06 +0000 profiles: mask dev-lang/rust[llvm-libunwind] on non-LLVM profiles Doesn't work on e.g. glibc systems. Unmasked on the LLVM profiles. It doesn't matter much as llvm-libunwind has different semantics to other packages, i.e. -llvm-libunwind doesn't force use of sys-libs/libunwind on glibc, so it doesn't prevent usage of llvm-libunwind for other packages. Closes: https://bugs.gentoo.org/870211 Signed-off-by: Sam James <sam@gentoo.org> profiles/base/package.use.mask | 8 ++++++++ profiles/features/clang/package.use.mask | 4 ++++ 2 files changed, 12 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e4b45b4f266a412435f6ede35765cb4fc0270d9 commit 0e4b45b4f266a412435f6ede35765cb4fc0270d9 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-09-16 01:04:34 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-16 01:04:34 +0000 profiles/base: fix typo in dev-lang/rust[llvm-libunwind] mask Bug: https://bugs.gentoo.org/870211 Thanks-to: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Sam James <sam@gentoo.org> profiles/base/package.use.mask | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) |