[LLVMbugs] [Bug 8238] New: CMake build process failed with undefined reference
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Sep 27 00:57:25 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=8238
Summary: CMake build process failed with undefined reference
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Driver
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: oroppas at gmail.com
CC: llvmbugs at cs.uiuc.edu
Scanning dependencies of target clang
[ 94%] Building CXX object
tools/clang/tools/driver/CMakeFiles/clang.dir/driver.cpp.o
[ 94%] Building CXX object
tools/clang/tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o
[ 94%] Building CXX object
tools/clang/tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o
Linking CXX executable ../../../../bin/clang
../../../../lib/libclangCodeGen.so: undefined reference to
`llvm::createDeadTypeEliminationPass()'
../../../../lib/libclangCodeGen.so: undefined reference to
`llvm::createFunctionInliningPass(int)'
../../../../lib/libclangCodeGen.so: undefined reference to
`llvm::createAlwaysInlinerPass()'
../../../../lib/libclangCodeGen.so: undefined reference to
`llvm::createDeadArgEliminationPass()'
../../../../lib/libclangCodeGen.so: undefined reference to
`llvm::ParseAssembly(llvm::MemoryBuffer*, llvm::Module*, llvm::SMDiagnostic&,
llvm::LLVMContext&)'
../../../../lib/libclangCodeGen.so: undefined reference to
`llvm::createArgumentPromotionPass(unsigned int)'
../../../../lib/libclangCodeGen.so: undefined reference to
`llvm::createBitcodeWriterPass(llvm::raw_ostream&)'
../../../../lib/libclangCodeGen.so: undefined reference to
`llvm::ParseBitcodeFile(llvm::MemoryBuffer*, llvm::LLVMContext&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)'
../../../../lib/libclangCodeGen.so: undefined reference to
`llvm::createPruneEHPass()'
../../../../lib/libclangCodeGen.so: undefined reference to
`llvm::createGlobalDCEPass()'
../../../../lib/libclangCodeGen.so: undefined reference to
`llvm::createGlobalOptimizerPass()'
../../../../lib/libclangCodeGen.so: undefined reference to
`llvm::createStripDeadPrototypesPass()'
../../../../lib/libclangCodeGen.so: undefined reference to
`llvm::createConstantMergePass()'
../../../../lib/libclangCodeGen.so: undefined reference to
`llvm::createFunctionAttrsPass()'
collect2: ld returned 1 exit status
make[2]: *** [bin/clang] Error 1
make[1]: *** [tools/clang/tools/driver/CMakeFiles/clang.dir/all] Error 2
make: *** [all] Error 2
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list