[LLVMdev] JIT: LibDeps.txt does not include all dependencies

Eric Kidd emk.lists at gmail.com
Thu Mar 23 14:01:00 PST 2006


If I try to link HowToUseJIT.cpp against the JIT without also linking  
the interpreter, I get the following linker error:

ld: Undefined symbols:
__ZN4llvm11Interpreter6createEPNS_6ModuleEPNS_17IntrinsicLoweringE

It's not obvious, from the source, what depends on this symbol, or  
why GenLibDep.pl didn't detect this dependency. Linking against the  
interpreter fixes this.

Cheers,
Eric






More information about the llvm-dev mailing list