http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58251
Bug ID: 58251 Summary: -flto causes ICE lto1: internal compiler error: in splice_child_die, at dwarf2out.c:4706 Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: jpakkane at gmail dot com With Gcc 4.8.1 on Ubuntu Saucy x86-64 I can reliably trigger an ICE. As the issue happens during link, I can't reduce it to a single file test case. The steps to reproduce are these: bzr branch lp:libcolumbus cd libcolumbus mkdir build cd build CXXFLAGS=-flto cmake -DCMAKE_BUILD_TYPE=relwithdebinfo .. make The output is this: Linking CXX shared library columbus.cpython-33m.so lto1: internal compiler error: in splice_child_die, at dwarf2out.c:4706 Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions. lto-wrapper: /usr/bin/c++ returned 1 exit status /usr/bin/ld: lto-wrapper failed collect2: error: ld returned 1 exit status You need CMake, libicu-dev, python3-dev and libboost-python-dev to compile the library. The version of libboost-python in Ubuntu Saucy is 1.53.