[cfe-commits] Build breakage...

Devang Patel dpatel at apple.com
Wed Oct 31 15:53:41 PDT 2007


On Oct 31, 2007, at 3:49 PM, Steve Naroff wrote:

>
> On Oct 31, 2007, at 3:34 PM, Devang Patel wrote:
>
>>
>> On Oct 31, 2007, at 3:18 PM, Steve Naroff wrote:
>>
>>> I am unable to build clang...
>>
>> Now clang depends on libLLVMTarget.a just like it depends on  
>> libLLVMCore.a and libLLVMBitWriter.a
>>
>> If you do a debug build of llvm at /Users/admin/llvm you'll get / 
>> Users/admin/llvm/Debug/lib/libLLVMTarget.a
>>
>
> Thanks for the info. When I try building Target, I get the error  
> below...

hmm.. I don't get this. May be your .../llvm/Debug/bin/tblgen is stale.
What if you do a clean and make at llvm top level ?
-
Devang

>
>
> Please advise,
>
> snaroff
>
> [dylan:~/llvm/lib/Target] admin% make
> llvm[0]: Compiling MRegisterInfo.cpp for Debug build
> llvm[0]: Compiling SubtargetFeature.cpp for Debug build
> llvm[0]: Compiling TargetAsmInfo.cpp for Debug build
> llvm[0]: Compiling TargetData.cpp for Debug build
> llvm[0]: Compiling TargetFrameInfo.cpp for Debug build
> llvm[0]: Compiling TargetInstrInfo.cpp for Debug build
> llvm[0]: Compiling TargetMachOWriterInfo.cpp for Debug build
> llvm[0]: Compiling TargetMachine.cpp for Debug build
> llvm[0]: Compiling TargetMachineRegistry.cpp for Debug build
> llvm[0]: Compiling TargetSubtarget.cpp for Debug build
> llvm[0]: Building Debug Archive Library libLLVMTarget.a
> llvm[1]: Compiling CBackend.cpp for Debug build
> llvm[1]: Linking Debug Object Library LLVMCBackend.o
> llvm[1]: Compiling MSILWriter.cpp for Debug build
> llvm[1]: Linking Debug Object Library LLVMMSIL.o
> llvm[1]: Building X86.td register information header with tblgen
> llvm[1]: Building X86.td register names with tblgen
> llvm[1]: Building X86.td register info implementation with tblgen
> llvm[1]: Building X86.td instruction names with tblgen
> llvm[1]: Building X86.td instruction information with tblgen
> llvm[1]: Building X86.td assembly writer with tblgen
> llvm[1]: Building X86.td assembly writer #1 with tblgen
> llvm[1]: Building X86.td instruction selector implementation with  
> tblgen
> CMP16mi:        (X86cmp (loadi16 addr:$src1), (imm):$src2)
> /Users/admin/llvm/Debug/bin/tblgen: In CMP16mi: Unrecognized node  
> 'implicit'!
> make[1]: *** [/Users/admin/llvm/lib/Target/X86/Debug/ 
> X86GenDAGISel.inc.tmp] Error 1
> make: *** [X86/.makeall] Error 2
>
>> -
>> Devang
>

-
Devang






More information about the cfe-commits mailing list