[LLVMdev] X86ISelPattern.cpp:73: undefined reference to `X86CompilationCallback

Misha Brukman brukman at cs.uiuc.edu
Tue Aug 30 08:00:09 PDT 2005

On Tue, Aug 30, 2005 at 10:22:27AM +0200, Henrik Bach wrote:
> c:/MinGW/bin/../libexec/gcc/mingw32/3.4.2/collect2.exe -Bdynamic -o 
> c:/projects/src/llvm-1/llvm/lib/Target/X86/X86ISelPattern.cpp:73: undefined 
> reference to `X86CompilationCallback'
> collect2: ld returned 1 exit status

Take a look at X86JITInfo.cpp and search for that missing symbol.
You have to either add recognition for MinGW for the preprocessor or
add a MinGW-specific asm implementation of that function.

Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu

More information about the llvm-dev mailing list