[LLVMdev] gold and debug information

Rafael Espindola espindola at google.com
Tue Jul 20 06:49:18 PDT 2010


> export PATH="$LLVMPREFIX/bin:$LLVMGCCPREFIX/bin:$PATH"
> export CC="llvm-gcc -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm"
> export CXX="llvm-g++ -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm"
> export RANLIB=/bin/true
> export CFLAGS="-O4 -g"
>
> then configure, make, and then hit the error.
>
> The error only happens if the CFLAGS has -g in it.

Can you reduce the testcase a bit? It would be a lot easier to
reproduce with the ld invocation and the .o files given to it.

> Thanks,
> Guoliang

Cheers,
-- 
Rafael Ávila de Espíndola




More information about the llvm-dev mailing list