Bootstrap breaks while configuring libgcc. Distribution is f10. Here the conftest.c which fails:
/* confdefs.h. */ #define PACKAGE_NAME "GNU C Runtime Library" #define PACKAGE_TARNAME "libgcc" #define PACKAGE_VERSION "1.0" #define PACKAGE_STRING "GNU C Runtime Library 1.0" #define PACKAGE_BUGREPORT "" /* end confdefs.h. */ int main () { ; return 0; } The failure report: checking for suffix of object files... configure: error: in `/share1/devel/gcc-testing/lto/objdir/powerpc-unknown-linux-gnu/libgcc': configure: error: cannot compute suffix of object files: cannot compile Compiling the above snippet with: /share1/devel/gcc-testing/lto/objdir/./gcc/xgcc -B/share1/devel/gcc-testing/lto/objdir/./gcc/ -B/usr/local/powerpc-unknown-linux-gnu/bin/ -B/usr/local/powerpc-unknown-linux-gnu/lib/ -isystem /usr/local/powerpc-unknown-linux-gnu/include -isystem /usr/local/powerpc-unknown-linux-gnu/sys-include -c -g -O2 conftest.c ends with: conftest.c:16: internal compiler error: Segmentation fault Leaving the -g away or add -gstabs lets the compiler build the .o file. Here the bt from gdb: GNU C (lto merged with rev 143693) version 4.4.0 20090127 (experimental) [lto revision 143742] (powerpc-unknown-linux-gnu) compiled by GNU C version 4.3.2 20081105 (Red Hat 4.3.2-7), GMP version 4.2.2, MPFR version 2.3.2. GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: b171cd7b97ecc9ca5a6389a8b0f486bf Program received signal SIGSEGV, Segmentation fault. 0x106bd414 in get_personality_function (decl=0x0) at /share1/devel/gcc-testing/lto/gcc/gcc/expr.h:806 806 tree personality = DECL_FUNCTION_PERSONALITY (decl); (gdb) bt #0 0x106bd414 in get_personality_function (decl=0x0) at /share1/devel/gcc-testing/lto/gcc/gcc/expr.h:806 #1 0x106c9a10 in output_call_frame_info (for_eh=0) at /share1/devel/gcc-testing/lto/gcc/gcc/dwarf2out.c:2914 #2 0x106cae70 in dwarf2out_frame_finish () at /share1/devel/gcc-testing/lto/gcc/gcc/dwarf2out.c:3351 #3 0x111d3058 in compile_file () at /share1/devel/gcc-testing/lto/gcc/gcc/toplev.c:1023 #4 0x111d5cf8 in do_compile () at /share1/devel/gcc-testing/lto/gcc/gcc/toplev.c:2220 #5 0x111d5d8c in toplev_main (argc=34, argv=0xbfc4c3a4) at /share1/devel/gcc-testing/lto/gcc/gcc/toplev.c:2252 #6 0x102dd048 in main (argc=34, argv=0xbfc4c3a4) at /share1/devel/gcc-testing/lto/gcc/gcc/main.c:35 -- Summary: lto bootstrap failure on ppc-linux Product: gcc Version: lto Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: andreast at gcc dot gnu dot org GCC build triplet: powerpc-unknown-linux-gnu GCC host triplet: powerpc-unknown-linux-gnu GCC target triplet: powerpc-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39011