https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87098
Bug ID: 87098 Summary: compiling program icetime.cc for icestorm fpga toolchain throws internal compiler error Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rly1 at embarqmail dot com Target Milestone: --- Created attachment 44592 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44592&action=edit g++ -E output for icetime.cc (gzipped) compiler failure building https://github.com/cliffordwolf/icestorm program icetime.cc on rev C beaglebone black sbc w/ debian version 9.5 and g++ from os distribution. Both the OS and icestorm are up to date as of 1255 24-aug-2018. A preprocessed (g++ -E) version of the icetime.cc program is attached. thanks -ron root@arm:/home/debian/icestorm# uname -a Linux arm 4.14.41-bone14 #1 PREEMPT Sun May 20 18:41:10 CEST 2018 armv7l GNU/Linux root@arm:/home/debian/icestorm# free total used free shared buff/cache available Mem: 497188 31552 307332 9808 158304 444628 Swap: 0 0 0 root@arm:/home/debian/icestorm# g++ --version g++ (Debian 6.3.0-18+deb9u1) 6.3.0 20170516 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. make -C icetime all make[1]: Entering directory '/home/debian/icestorm/icetime' g++ -MD -O0 -ggdb -Wall -std=c++11 -I/usr/local/include -DPREFIX='"/usr/local"' -DCHIPDB_SUBDIR='"icebox"' -c -o icetime.o icetime.cc g++: 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. <builtin>: recipe for target 'icetime.o' failed make[1]: *** [icetime.o] Error 4 make[1]: Leaving directory '/home/debian/icestorm/icetime' Makefile:8: recipe for target 'icetime.all' failed make: *** [icetime.all] Error 2