[LLVMdev] Error while compiling mysql using LLVM-gold
Guoliang Jin
jingl1345 at gmail.com
Sun Jun 6 16:46:42 PDT 2010
Rafael Espindola wrote:
> 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,
>
Thanks Rafael. With the local compiled llvm-gcc, it compiles now, and
"-Wl,-debug" gives reasonable output. However, I still do not see the
bitcode file for those large software like apache while complied using
the gold plugin...
More information about the llvm-dev
mailing list