https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83564
Bug ID: 83564 Summary: Compiling 'retdec' causes '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: hjek at member dot fsf.org Target Milestone: --- Host: Linux debian 4.9.0-4-686-pae #1 SMP Debian 4.9.65-3 (2017-12-03) i686 GNU/Linux Target: Linux debian 4.9.0-4-686-pae #1 SMP Debian 4.9.65-3 (2017-12-03) i686 GNU/Linux I'm just posting this error because the error message asked me to do it. I was compiling `retdec` from here https://github.com/avast-tl/retdec Output from running `make` in `build` of `retdec`: ``` [...] [ 20%] Building CXX object deps/ctypes/src/ctypes/CMakeFiles/ctypes.dir/void_type.cpp.o [ 20%] Linking CXX static library libctypes.a [ 20%] Built target ctypes Scanning dependencies of target ctypesparser [ 20%] Building CXX object deps/ctypes/src/ctypesparser/CMakeFiles/ctypesparser.dir/ctypes_parser.cpp .o [ 20%] Building CXX object deps/ctypes/src/ctypesparser/CMakeFiles/ctypesparser.dir/json_ctypes_parse r.cpp.o [ 20%] Linking CXX static library libctypesparser.a [ 20%] Built target ctypesparser Scanning dependencies of target demangler [ 20%] Building CXX object deps/demangler/src/demangler/CMakeFiles/demangler.dir/demangler.cpp.o [ 20%] Building CXX object deps/demangler/src/demangler/CMakeFiles/demangler.dir/demtools.cpp.o [ 20%] Building CXX object deps/demangler/src/demangler/CMakeFiles/demangler.dir/gparser.cpp.o [ 20%] Building CXX object deps/demangler/src/demangler/CMakeFiles/demangler.dir/igrams.cpp.o [ 20%] Building CXX object deps/demangler/src/demangler/CMakeFiles/demangler.dir/stgrammars/borlandll .cpp.o c++: 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. deps/demangler/src/demangler/CMakeFiles/demangler.dir/build.make:158: recipe for target 'deps/demangl er/src/demangler/CMakeFiles/demangler.dir/stgrammars/borlandll.cpp.o' failed make[2]: *** [deps/demangler/src/demangler/CMakeFiles/demangler.dir/stgrammars/borlandll.cpp.o] Error 4 CMakeFiles/Makefile2:1932: recipe for target 'deps/demangler/src/demangler/CMakeFiles/demangler.dir/a ll' failed make[1]: *** [deps/demangler/src/demangler/CMakeFiles/demangler.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make: *** [all] Error 2 % ``` Output of `gcc -v`: ``` Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/6/lto-wrapper Target: i686-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-18' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=i686-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-i386/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-i386 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-i386 --with-arch-directory=i386 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-targets=all --enable-multiarch --with-arch-32=i686 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu Thread model: posix gcc version 6.3.0 20170516 (Debian 6.3.0-18) ```