search for: targetld

Displaying 1 result from an estimated 1 matches for "targetld".

Did you mean: targeted
2011 Jan 28
0
[LLVMdev] LTO, llvm and -m32 not working
I tried compiling a simple source file "int main(){return 0;}" with clang -O4 -m32 -use-gold-plugin and I get the following error:ld: error: /tmp/llvmgold.o: incompatible targetld: /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/crt1.o:(.text+0x18): error: undefined reference to 'main' I have no issues compiling it without -m32. Is there a way to fix this?Thanks