|Summary:||sys-devel/clang-3.9.0 on armv7a-hardfloat-linux-musleabi: wrong dynamic linker name|
|Product:||Gentoo Linux||Reporter:||Felix Janda <felix.janda>|
|Component:||Current packages||Assignee:||LLVM support project <llvm>|
|Package list:||Runtime testing required:||---|
|Bug Depends on:|
Description Felix Janda 2016-10-13 21:42:33 UTC
Created attachment 450180 [details, diff] Upstream patch As mentioned in https://bugs.gentoo.org/show_bug.cgi?id=595834#c8 clang-3.9.0 does not use the correct dynamic linker name for CHOST="armv7a-hardfloat-linux-musleabi": It tries to use "ld-musl-armv7a.so.1" instead of "ld-musl-armhf.so.1". Bug 595834 is concerned with the "hf" part. The problem addressed by this bug is that "armv7a" is used instead of "arm". This issue has already been fixed upstream but it would be nice to add the patch to the tree.
Comment 1 Michał Górny 2016-10-17 18:11:19 UTC
Let's wait for upstream reply on my patch to the other issue, and then merge both of them.
Comment 2 Michał Górny 2016-12-14 21:43:48 UTC
I'm going to collapse the two bugs since they have a common cause. *** This bug has been marked as a duplicate of bug 595834 ***
Comment 3 Felix Janda 2016-12-14 23:38:31 UTC
Even if the arm tuple is changed from armv7a-hardfloat-linux-musleabi to armv7a-unknown-linux-musleabihf the patch attached to this bug is still necessary (for version 3.9.0) in order that the dynamic linker "ld-musl-armhf.so.1" instead of the non-existing "ld-musl-armv7ahf.so.1" is used.
Comment 4 Michał Górny 2016-12-15 08:32:54 UTC
Ah, sorry, my bad.
Comment 5 Michał Górny 2018-03-29 08:40:45 UTC
The fix seems to be present in 4+.