https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549
Bug ID: 65549 Summary: crash in htab_hash_string with -flto Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: a...@cloudius-systems.com lto1: internal compiler error: Segmentation fault 0xa283bf crash_signal ../../gcc/toplev.c:383 0x111c7b0 htab_hash_string ../../libiberty/hashtab.c:839 0x6d06bf external_ref_hasher::hash(external_ref const*) ../../gcc/dwarf2out.c:7763 0x6d06bf hash_table<external_ref_hasher, xcallocator, false>::find_slot(external_ref const*, insert_option) ../../gcc/hash-table.h:652 0x6d06bf lookup_external_ref ../../gcc/dwarf2out.c:7791 0x6d075d optimize_external_refs_1 ../../gcc/dwarf2out.c:7829 0x6d0788 optimize_external_refs_1 ../../gcc/dwarf2out.c:7833 0x6d0bc6 optimize_external_refs ../../gcc/dwarf2out.c:7882 0x6d0dfd output_comp_unit ../../gcc/dwarf2out.c:9122 0x6f6cd9 dwarf2out_finish ../../gcc/dwarf2out.c:24800 Please submit a full bug report, g++5 (GCC) 5.0.0 20150324 (experimental) To reproduce, clone seastar (https://github.com/cloudius-systems/seastar) ./configure.py --compiler /path/to/g++5 --cflags='-flto -D_GLIBCXX_USE_CXX11_ABI=0' ninja build/release/tests/tcp_client # named ninja-build on Fedora)