[LLVMdev] Error while compiling mysql using LLVM-gold

Rafael Espindola espindola at google.com
Sun Jun 6 16:41:17 PDT 2010


On 6 June 2010 13:48, Guoliang Jin <jingl1345 at gmail.com> wrote:
> Thanks Rafael.
>
> I compiled llvm-gcc by myself, and I can compile mysql now.
>
> Right now, when I run llvm-gcc a.c -emit-llvm -use-gold-plugin -Wl,debug
> I got
> ld: error: cannot open debug: No such file or directory
> collect2: ld returned 1 exit status
>
> I do not know why this is happening.

It Is -Wl,-debug. Sorry about that.

Cheers,
-- 
Rafael Ávila de Espíndola




More information about the llvm-dev mailing list