[llvm-commits] [PATCH][CMake] Removing LLVMLibDeps.cmake and exporting libraries for CMake clients.

Óscar Fuentes ofv at wanadoo.es
Sat Sep 11 17:29:29 PDT 2010


Óscar Fuentes <ofv at wanadoo.es> writes:

[snip]

>> Michael has addressed the problems that cropped up. Do we know of any
>> other problems that need to be addressed?
>
> I haven't looked at the patch in detail, but my experience says that
> issues will appear. This is not my main concern, though.

Just tried the build on Linux/AMD64, and it fails with this:

Linking CXX executable ../../bin/llvm-mc
../../lib/libLLVMPIC16AsmPrinter.a(PIC16AsmPrinter.cpp.o): In function `llvm::PIC16AsmPrinter::doFinalization(llvm::Module&)':
PIC16AsmPrinter.cpp:(.text+0x12a2): undefined reference to `llvm::PIC16DbgInfo::EndModule(llvm::Module&)'
../../lib/libLLVMPIC16AsmPrinter.a(PIC16AsmPrinter.cpp.o): In function `llvm::PIC16AsmPrinter::doInitialization(llvm::Module&)':
PIC16AsmPrinter.cpp:(.text+0x1f86): undefined reference to `llvm::PIC16DbgInfo::BeginModule(llvm::Module&)'
../../lib/libLLVMPIC16AsmPrinter.a(PIC16AsmPrinter.cpp.o): In function `llvm::PIC16AsmPrinter::runOnMachineFunction(llvm::MachineFunction&)':
PIC16AsmPrinter.cpp:(.text+0x3be4): undefined reference to `llvm::PIC16DbgInfo::BeginFunction(llvm::MachineFunction const&)'
PIC16AsmPrinter.cpp:(.text+0x3f3e): undefined reference to `llvm::PIC16DbgInfo::ChangeDebugLoc(llvm::MachineFunction const&, llvm::DebugLoc const&, bool)'
PIC16AsmPrinter.cpp:(.text+0x3fcf): undefined reference to `llvm::PIC16DbgInfo::EndFunction(llvm::MachineFunction const&)'
collect2: ld returned 1 exit status
make[2]: *** [bin/llvm-mc] Error 1
make[1]: *** [tools/llvm-mc/CMakeFiles/llvm-mc.dir/all] Error 2
make: *** [all] Error 2

As Michael reported that the build worked for him on Linux yesterday, it
would be *very* interesting to analyze this failure. It can be
illustrative.




More information about the llvm-commits mailing list