[LLVMdev] [Cygwin] onsistant error building LLVM

Jeff Cohen jeffc at jolt-lang.org
Mon May 30 10:46:02 PDT 2005


X86CompilationCallback2 is also defined in X86JITInfo.cpp.  One is a thin assembler wrapper around the other.  No matter how things are conditionally compiled, both functions will be present.  Is X86JITInfo.cpp itself being compiled?  



Reid Spencer wrote:

>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
>>    
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>LLVM Developers mailing list
>>LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>>http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
>>    
>>




More information about the llvm-dev mailing list