https://bugs.freedesktop.org/show_bug.cgi?id=49717
Bug #: 49717 Summary: SCons build error with clang Classification: Unclassified Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: All Status: NEW Severity: blocker Priority: medium Component: Other AssignedTo: mesa-dev@lists.freedesktop.org ReportedBy: v...@freedesktop.org CC: jfons...@vmware.com mesa: 788fd04dacb9eb1e32010050c57cd2f49779311b (master) The SCons build fails with clang. $ clang -v Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0) Target: x86_64-pc-linux-gnu Thread model: posix $ scons [...] clang -o build/linux-x86_64-debug/gallium/drivers/llvmpipe/lp_test_arit build/linux-x86_64-debug/gallium/drivers/llvmpipe/lp_test_arit.o build/linux-x86_64-debug/gallium/drivers/llvmpipe/lp_test_main.o -L/usr/lib/llvm-3.0/lib build/linux-x86_64-debug/gallium/drivers/llvmpipe/libllvmpipe.a build/linux-x86_64-debug/gallium/auxiliary/libgallium.a -lLLVMBitWriter -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMX86Desc -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMMCParser -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMX86Info -lLLVMJIT -lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMCore -lLLVMSupport -lpthread -lffi -ldl -lm /usr/lib/llvm-3.0/lib/libLLVMX86CodeGen.a(X86TargetMachine.o): In function `llvm::X86TargetMachine::X86TargetMachine(llvm::Target const&, llvm::StringRef, llvm::StringRef, llvm::StringRef, llvm::Reloc::Model, llvm::CodeModel::Model, bool)': (.text+0x2cd): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&)' [...] -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev