X86ISelPattern.cpp:73: undefined reference to `X86CompilationCallback

Hi LLVM'ers,

I can't figure out why I get this error:

c:/MinGW/bin/../libexec/gcc/mingw32/3.4.2/collect2.exe -Bdynamic -o

[snip]

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.