[LLVMdev] [Cygwin] onsistant error building LLVM

Reid Spencer reid at x10sys.com
Mon May 30 10:20:14 PDT 2005


If you look in X86JITInfo.cpp, you'll find CompilationCallback. I'm not
sure about CompilationCallback2. In any event, the code is conditionally
compiled and that might be tripping things up on Cygwin. 

Reid.

On Mon, 2005-05-30 at 17:17 +0100, Aaron Gray wrote:
> Consistant error building LLVM on Cygwin from CVS :-
>  
> make[2]: Entering directory `/usr/build/llvm/tools/llc'
> llvm[2]: Compiling llc.cpp for Debug build
> llvm[2]: Linking Debug executable llc
> /usr/build/llvm/Debug/lib/LLVMX86.o(.text+0x30506): In function
> `_GLOBAL__D__ZN7
> 6_GLOBAL__N__usr_src_llvm_lib_Target_X86_X86ISelPattern.cpp_9D2164D3_DD38501517X
> 86TargetLowering14LowerArgumentsERN4llvm8FunctionERNS1_12SelectionDAGE':
> /usr/src/llvm/lib/Target/X86/X86ISelPattern.cpp:73: undefined
> reference to `X86C
> ompilationCallback2'
> /usr/build/llvm/Debug/lib/LLVMX86.o(.text
> +0x305f2):/usr/src/llvm/lib/Target/X86/
> X86ISelPattern.cpp:73: undefined reference to
> `_X86CompilationCallback'
> /usr/build/llvm/Debug/lib/LLVMX86.o(.text
> +0x30601):/usr/src/llvm/lib/Target/X86/
> X86ISelPattern.cpp:73: undefined reference to
> `_X86CompilationCallback'
> collect2: ld returned 1 exit status
> make[2]: *** [/usr/build/llvm/Debug/bin/llc.exe] Error 1
> make[2]: Leaving directory `/usr/build/llvm/tools/llc'
> make[1]: *** [llc/.makeall] Error 2
> make[1]: Leaving directory `/usr/build/llvm/tools'
> make: *** [all] Error 1
> 
> Don't know what is causing it.
>  
> Aaron
>  
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050530/d6f60d30/attachment.sig>


More information about the llvm-dev mailing list