https://llvm.org/bugs/show_bug.cgi?id=26362
Bug ID: 26362 Summary: clang 3.8.0.rc1 fails to build with gcc 4.8.1 Product: clang Version: 3.8 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: C++ Assignee: unassignedclangb...@nondot.org Reporter: su...@fb.com CC: dgre...@apple.com, llvm-bugs@lists.llvm.org Classification: Unclassified Created attachment 15744 --> https://llvm.org/bugs/attachment.cgi?id=15744&action=edit the error log Checkout out llvm, clang, compiler-rt of 3.8.0.rc1 tag. Build with gcc 4.8.1: ``` % cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_BUILD_TESTS=ON -DLLVM_ENABLE_EH=ON-DLLVM_ENABLE_RTTI=ON -DLLVM_TARGETS_TO_BUILD="X86;BPF" % ninja ``` A short snipped of the error: ``` In file included from /home/sugak/llvm/src/llvm/tools/clang/lib/CodeGen/CGBuilder.h:14:0, ... /home/sugak/llvm/src/src/llvm/tools/clang/lib/CodeGen/Address.h:111:31: error: cannot allocate an object of abstract type 'llvm::object::ObjectFile' template <class U> inline U cast(clang::CodeGen::Address addr) { ^ In file included from /home/sugak/llvm/src/llvm/include/llvm/DebugInfo/DIContext.h:20:0, ... /home/sugak/llvm/src/llvm/include/llvm/Object/ObjectFile.h:175:7: note: because the following virtual functions are pure within 'llvm::object::ObjectFile': class ObjectFile : public SymbolicFile { ^ In file included from /home/sugak/llvm/src/llvm/include/llvm/Object/ObjectFile.h:18:0, ... /home/sugak/llvm/src/llvm/include/llvm/Object/SymbolicFile.h:132:16: note: virtual void llvm::object::SymbolicFile::moveSymbolNext(llvm::object::DataRefImpl&) const virtual void moveSymbolNext(DataRefImpl &Symb) const = 0; ^ ``` See attached files for the whole error message. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs