On 2017/10/09 17:17, Peter Hessler wrote:
> Most of the "missing libraries" issues are related to how our ancient
> binutils handles DT_NEEDED, vs how llvm's lld handles DT_NEEDED.
> 
> arm64 only has llvm's lld, and does not have any binutils ld.
> 
> ld.bfd follows DT_NEEDED, while ld.lld requires all of those to be
> specifically listed in the link command.
> 
> amd64 and other arches do not see this, because they still use ld.bfd as
> their linker.

So: if you want to try fixing these problems but only have amd64, you can
try linking with -fuse-ld=lld.


Reply via email to