Bug#858261: gcc-6: "internal compiler error: Segmentation fault" when building webkit2gtk
Package: g++-6
Version: 6.3.0-9
Followup-For: Bug #858261
Dear Maintainer,
I get a similar failure when compiling RaftLib [1]. I'm not entirely sure it's
the same bug but it appeared with the last update (6.3.0-9) so it might well be.
Steps to reproduce:
git clone https://github.com/RaftLib/RaftLib
cd RaftLib
mkdir build
cd build
cmake ..
make
This fails with:
In file included from /tmp/RaftLib/raftinc/ringbufferheap.tcc:25:0,
from /tmp/RaftLib/raftinc/ringbufferbase.tcc:66,
from /tmp/RaftLib/raftinc/ringbuffer.tcc:34,
from /tmp/RaftLib/raftinc/port.hpp:37,
from /tmp/RaftLib/raftinc/kernel.hpp:29,
from /tmp/RaftLib/raftinc/allocate.hpp:29,
from /tmp/RaftLib/src/allocate.cpp:25:
/tmp/RaftLib/raftinc/ringbufferheap_abstract.tcc: In lambda function:
/tmp/RaftLib/raftinc/ringbufferheap_abstract.tcc:371:64: internal compiler error: Segmentation fault
local_insert_helper( *begin, *end, sig );
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
src/CMakeFiles/raft.dir/build.make:86: recipe for target 'src/CMakeFiles/raft.dir/allocate.cpp.o' failed
Didn't get a coredump despite them being enabled, but don't have time to figure
out what's going on with that right now, sorry.
Cheers,
Lorenz
[1] https://github.com/RaftLib/RaftLib
-- System Information:
Debian Release: 9.0
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages g++-6 depends on:
ii gcc-6 6.3.0-9
ii gcc-6-base 6.3.0-9
ii libc6 2.24-9
ii libgmp10 2:6.1.2+dfsg-1
ii libisl15 0.18-1
ii libmpc3 1.0.3-1+b2
ii libmpfr4 3.1.5-1
ii libstdc++-6-dev 6.3.0-9
ii zlib1g 1:1.2.8.dfsg-5
g++-6 recommends no packages.
Versions of packages g++-6 suggests:
ii g++-6-multilib 6.3.0-9
pn gcc-6-doc <none>
ii libstdc++6-6-dbg 6.3.0-9
-- no debconf information
Reply to: