llvm-toolchain-3.8 FTBFS in Artful due to gcc-6 ICE

Bug #1694565 reported by Balint Reczey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-7 (Ubuntu)
Fix Released
Undecided
Unassigned
llvm-toolchain-3.8 (Ubuntu)
Invalid
Undecided
Unassigned
llvm-toolchain-4.0 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Rebuilding llvm-toolchain-3.8 1:3.8.1-23ubuntu3 failed on i386:

...
[ 54%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaEx
prCXX.cpp.o
cd /<<PKGBUILDDIR>>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-6 -DCLANG
_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GN
U_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-I/<<PKGBUILDDIR>>/build-llvm/tools/clang/lib/Sema -I/<<PKGBUILDDIR>>/tools/cla
ng/lib/Sema -I/<<PKGBUILDDIR>>/tools/clang/include -I/<<PKGBUILDDIR>>/build-llv
m/tools/clang/include -I/<<PKGBUILDDIR>>/build-llvm/include -I/<<PKGBUILDDIR>>/
include -std=c++0x -gsplit-dwarf -Wl,-fuse-ld=gold -fPIC -fvisibility-inlines-
hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-
field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-n
on-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fn
o-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exce
ptions -o CMakeFiles/clangSema.dir/SemaExprCXX.cpp.o -c /<<PKGBUILDDIR>>/tools/
clang/lib/Sema/SemaExprCXX.cpp
...
g++-6: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
tools/clang/lib/Sema/CMakeFiles/clangSema.dir/build.make:689: recipe for target
 'tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaExprCXX.cpp.o' failed
make[4]: *** [tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaExprCXX.cpp.o]
Error 4
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-llvm'
CMakeFiles/Makefile2:24600: recipe for target 'tools/clang/lib/Sema/CMakeFiles/
clangSema.dir/all' failed
make[3]: *** [tools/clang/lib/Sema/CMakeFiles/clangSema.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-llvm'
Makefile:152: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-llvm'
debian/rules:269: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:150: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Tags: ftbfs
Revision history for this message
Balint Reczey (rbalint) wrote :
Revision history for this message
Balint Reczey (rbalint) wrote :

Also failing with ICE with gcc-7 7.1.0-6ubuntu2 and gcc-snapshot 20170520-1ubuntu1 (amd64).

Revision history for this message
Matthias Klose (doko) wrote :

what about llvm 4 and 5?

affects: gcc-6 (Ubuntu) → gcc-7 (Ubuntu)
Revision history for this message
Balint Reczey (rbalint) wrote :

All llvm packages seem to build since then (or fail to build due to other reasons).

Changed in llvm-toolchain-4.0 (Ubuntu):
status: New → Fix Released
Changed in llvm-toolchain-3.8 (Ubuntu):
status: New → Fix Released
Changed in gcc-7 (Ubuntu):
status: New → Fix Released
Changed in llvm-toolchain-3.8 (Ubuntu):
status: Fix Released → Invalid
Changed in llvm-toolchain-4.0 (Ubuntu):
status: Fix Released → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.