[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [creduce-bugs] can't build



Sorry, I should have said: using the system g++ compiler and linking against the LLVM/Clang 3.4.2 binary distro, I get the error below.

But I get the same error when trying to build C-Reduce using clang++ 3.4.2 and linking against clang++ 3.4.2.

John



On 07/17/2014 11:08 AM, John Regehr wrote:
Using the LLVM/Clang 3.4.2 binary distribution for my OS (Ubuntu 14.04)
I cannot build C-Reduce, the final clang_delta link fails.  Can someone
take a look?

Using this same compiler I'm able to build LLVM so I suspect the problem
is on our side...

John


/home/regehr/clang+llvm-3.4.2-x86_64-linux-gnu-ubuntu-14.04/lib/libclangDriver.a(Driver.o):/home/ben/development/llvm/3.4/rc1/llvm.src/tools/clang/lib/Driver/Driver.cpp:function
clang::driver::Driver::GetFilePath(char const*, clang::driver::ToolChain
const&) const: error: undefined reference to
'std::__throw_out_of_range_fmt(char const*, ...)'
/home/regehr/clang+llvm-3.4.2-x86_64-linux-gnu-ubuntu-14.04/lib/libclangAST.a(DeclPrinter.o):/home/ben/development/llvm/3.4/rc1/llvm.src/tools/clang/lib/AST/DeclPrinter.cpp:function
clang::declvisitor::Base<clang::declvisitor::make_ptr, (anonymous
namespace)::DeclPrinter, void>::Visit(clang::Decl*): error: undefined
reference to 'std::__throw_out_of_range_fmt(char const*, ...)'
/home/regehr/clang+llvm-3.4.2-x86_64-linux-gnu-ubuntu-14.04/lib/libclangLex.a(PPMacroExpansion.o):/home/ben/development/llvm/3.4/rc1/llvm.src/tools/clang/lib/Lex/PPMacroExpansion.cpp:function
clang::Preprocessor::ExpandBuiltinMacro(clang::Token&): error: undefined
reference to 'std::__throw_out_of_range_fmt(char const*, ...)'
/home/regehr/clang+llvm-3.4.2-x86_64-linux-gnu-ubuntu-14.04/lib/libclangLex.a(Pragma.o):/home/ben/development/llvm/3.4/rc1/llvm.src/tools/clang/lib/Lex/Pragma.cpp:function
clang::Preprocessor::Handle_Pragma(clang::Token&): error: undefined
reference to 'std::__throw_out_of_range_fmt(char const*, ...)'