bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/19842] LTO build fails to write call address for weak symbol r


From: matt at godbolt dot org
Subject: [Bug gold/19842] LTO build fails to write call address for weak symbol reference
Date: Wed, 30 Mar 2016 18:21:33 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19842

--- Comment #35 from Matt Godbolt <matt at godbolt dot org> ---
Hi Honza,

I checkout the branch of my code where the problem exists and confirmed I could
reproduce. Then I re-linked with =-save-temps -fdump-ipa-all and sadly I get an
ICE:

GNU GIMPLE (DRW-internal-build) version 5.2.0 (x86_64-linux-gnu)
        compiled by GNU C version 5.2.0, GMP version 4.3.2, MPFR version 2.4.2,
MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU GIMPLE (DRW-internal-build) version 5.2.0 (x86_64-linux-gnu)
        compiled by GNU C version 5.2.0, GMP version 4.3.2, MPFR version 2.4.2,
MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
lto1: internal compiler error: in lhd_decl_printable_name, at langhooks.c:243
0x8345de lhd_decl_printable_name(tree_node*, int)
        ../../gcc-5.2.0/gcc/langhooks.c:243
0x66665e symtab_node::name() const
        ../../gcc-5.2.0/gcc/symtab.c:479
0x66665e symtab_node::dump_base(_IO_FILE*)
        ../../gcc-5.2.0/gcc/symtab.c:745
0xb6f480 varpool_node::dump(_IO_FILE*)
        ../../gcc-5.2.0/gcc/varpool.c:239
0x666e2a symtab_node::dump_table(_IO_FILE*)
        ../../gcc-5.2.0/gcc/symtab.c:872
0x60eee7 read_cgraph_and_symbols
        ../../gcc-5.2.0/gcc/lto/lto.c:3132
0x60eee7 lto_main()
        ../../gcc-5.2.0/gcc/lto/lto.c:3475
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: fatal error: /home/mgodbolt/.fighome/runtime/gcc/5.2.0-2/bin/g++
returned 1 exit status
compilation terminated.

I can retry with a more contemporary GCC build if you feel that would help. I
can also share the full error log (and anything else), if you don't mind me
emailing it to you directly (via a Google drive link).

Thanks, Matt

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]