[LLVMdev] Strange error of llvm-ld

Holger Schurig hs4233 at mail.mn-solutions.de
Wed Aug 15 23:35:32 PDT 2007


> I think I have experienced this when more than one module
> contains definitions for the same values. ie. it should only
> be a declaration in one of them.

Hmm, when I compile and link this with plain gcc, it everything 
works.

Anyway, llvm-ld should probably not just say "Cannot link 
file 'blah'", but why it cannot link it.

I compiled llvm in with --enable-debug. Is there any switch that 
I can use to turn on some verbosity, so that I can maybe see 
from debug output where the problem is?



More information about the llvm-dev mailing list