http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57208
--- Comment #7 from Martin Liška <marxin.liska at gmail dot com> ---
I've updated to latest gcc, all previous bugs are irrelevant: I mixed different
-Ox cflags and chromium build system is full of hacks (they use gold as a
primary linker, but bfd is used for some stuff, I used just bfd in my
compilation).

gcc --version:
gcc (GCC) 4.9.0 20130617 (experimental)

I finally reached WPA stage of LTO, memory usage was about 8GB for ld and 11 GB
for lto1.

lto1 was running for about 20 minutes and following error occured:

lto1: error: ELF section name out of range
lto1: internal compiler error: Segmentation fault
0x85e0bf crash_signal
    ../../gcc/toplev.c:333
0xd7f0dd htab_delete
    ../../libiberty/hashtab.c:419
0x50a41c lto_file_read
    ../../gcc/lto/lto.c:2824
0x50a41c read_cgraph_and_symbols
    ../../gcc/lto/lto.c:3401
0x50a41c lto_main()
    ../../gcc/lto/lto.c:3834
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: g++ returned 1 exit status
/home/marxin/gcc-mirror/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/ld:
lto-wrapper failed
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Do you have any ideas?

Reply via email to