[llvm-dev] Problems using Clang with LLD on embedded ARM
Rafael Avila de Espindola via llvm-dev
llvm-dev at lists.llvm.org
Sun Feb 26 12:04:57 PST 2017
Sean Silva via llvm-dev <llvm-dev at lists.llvm.org> writes:
> 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).
Gosh, that is an old issue. I was sure we had converted to used ld
everywhere and deleted the old code for using the gcc driver as a
Doing that is probably the correct way to fix this issue. Having gcc
itelf support -fuse-ld=lld would be an awesome independent improvement.
More information about the llvm-dev