Summary: | sys-libs/libomp: underlinking on musl | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | zhanglei.april |
Component: | Current packages | Assignee: | Bernard Cafarelli <voyageur> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | esigra, felix.janda, herrtimson, llvm, tsmksubc |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 269315, 430702 |
Description
zhanglei.april
2016-08-24 00:25:01 UTC
Can reproduce on arm with different compilers (and musl). Might be related to the fact that musl does not support symbol versioning. What does glibc ldd say about the libomp.so produced from the musl system? (In reply to Felix Janda from comment #1) > Can reproduce on arm with different compilers (and musl). > > Might be related to the fact that musl does not support symbol > versioning. What does glibc ldd say about the libomp.so produced from > the musl system? error while loading shared libraries: /usr/lib64/libc.so: invalid ELF header Ok, I've tested myself right now. After replacing the /usr/lib/libc.so ldscript, the glibc ldd no longer complains about anything. So this bug is likely a problem with musl's dynamic linker, possibly related to its lack of support for symbol versioning. Was this fixed in recent libomp-5.0.1? 15.0.0 is fine at least. |