[llvm-bugs] [Bug 26362] New: clang 3.8.0.rc1 fails to build with gcc 4.8.1
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jan 28 15:47:33 PST 2016
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: unassignedclangbugs at nondot.org
Reporter: sugak at fb.com
CC: dgregor at apple.com, llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160128/8d49fb77/attachment.html>
More information about the llvm-bugs
mailing list