| Summary: | sys-devel/clang: '-static -rtlib=compiler-rt' causes missing symbols | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Amit Prakash Ambasta <amit.prakash.ambasta> |
| Component: | Current packages | Assignee: | LLVM support project <llvm> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | gentoo-user |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Amit Prakash Ambasta
2017-01-13 05:50:39 UTC
Looks like either -nodefaultlibs problem or something weird. It's missing -lunwind, and this should be added by libcxx linker script. Ok, so it seems to be actually a problem in clang driver. The code in tini somehow makes use of gcc personality stuff, which requires unwinder library. I'll spawn creduce to figure the relevant code out soonish. Ok, turns out it happens to all programs when using -static. Does not impact >=sys-libs/compiler-rt-4.0.0, older removed from portage tree |