[llvm-dev] Problems using Clang with LLD on embedded ARM

Renato Golin via llvm-dev llvm-dev at lists.llvm.org
Mon Feb 27 14:51:09 PST 2017


On 26 February 2017 at 11:10, Sean Silva <chisophugis at gmail.com> wrote:
> For that triple, Clang seems to be calling into GCC driver
> (/usr/bin/arm-none-eabi-gcc) for linking and GCC doesn't recognize
> -fuse-ld=lld (supposedly -fuse-ld=gold selects ld.gold, -fuse-ld=bfd selects
> ld.bfd and you would expect -fuse-lld=lld to select ld.lld, but it doesn't
> work like that apparently).

This is really odd, but since LLD is not officially supported on ARM
yet (Peter is almost there!), we haven't got around using it for
anything serious.

It smells like yet-another clang driver kerfuffle when cross-compiling.

cheers,
--renato


More information about the llvm-dev mailing list