[LLVMdev] Unable to perform LLVM LTO using clang

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Dec 5 06:04:00 PST 2013


On 5 December 2013 07:46, Chunbai YANG <chunbyang2 at gapps.cityu.edu.hk> wrote:
> Dear Rafael,
>
> Thank you for your answer. The verbose mode -v shows that clang uses the old
> ld in /usr/bin while I install the gold in /usr/local/bin.

Clang should be searching the path. What does

$ which ld

print? Maybe all that you have to do is

$ export PATH=/usr/local/bin:$PATH

Cheers,
Rafael



More information about the llvm-dev mailing list