[Bug bootstrap/84450] New: bootstrap-lto ICE in g-dyntab.adb
steven at uplinklabs dot net
gcc-bugzilla@gcc.gnu.org
Sun Feb 18 23:36:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84450
Bug ID: 84450
Summary: bootstrap-lto ICE in g-dyntab.adb
Product: gcc
Version: 7.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: steven at uplinklabs dot net
Target Milestone: ---
This bug has been around for at least a few GCC versions now, but I hadn't
gotten around to reporting it.
My configure flags:
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu
--target=x86_64-pc-linux-gnu \
--prefix=/usr \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ \
--with-build-config=bootstrap-lto \
--disable-libssp \
--disable-libstdcxx-pch \
--disable-libunwind-exceptions \
--disable-werror \
--enable-__cxa_atexit \
--enable-checking=release \
--enable-clocale=gnu \
--enable-gnu-indirect-function \
--enable-gnu-unique-object \
--enable-initfini-array \
--enable-install-libiberty \
--enable-libmpx \
--enable-linker-build-id \
--enable-lto \
--enable-multilib \
--enable-plugin \
--enable-shared \
--enable-threads=posix \
--with-isl \
--with-linker-hash-style=gnu \
--with-multilib-list=m32,m64,mx32 \
--with-system-zlib
Non-bootstrap-lto builds work fine, but if I -do- try a bootstrap-lto build, I
get this:
/build/gcc-multilib/src/gcc/gcc/ada/g-dyntab.adb: In function
‘prep__symbol_table__free’:
/build/gcc-multilib/src/gcc/gcc/ada/g-dyntab.adb:140:9: internal compiler
error: in gen_typedef_die, at dwarf2out.c:24370
end Free;
^
0x8b8125 gen_typedef_die
/build/gcc-multilib/src/gcc/gcc/dwarf2out.c:24370
0x8ba02b gen_decl_die
/build/gcc-multilib/src/gcc/gcc/dwarf2out.c:25390
0x8b866b gen_type_die_with_usage
/build/gcc-multilib/src/gcc/gcc/dwarf2out.c:24547
0x8b8de2 gen_type_die
/build/gcc-multilib/src/gcc/gcc/dwarf2out.c:24758
0x8ba0aa gen_decl_die
/build/gcc-multilib/src/gcc/gcc/dwarf2out.c:25410
0x8b9204 process_scope_var
/build/gcc-multilib/src/gcc/gcc/dwarf2out.c:24903
0x8b9262 decls_for_scope
/build/gcc-multilib/src/gcc/gcc/dwarf2out.c:24928
0x8b3d1a gen_subprogram_die
/build/gcc-multilib/src/gcc/gcc/dwarf2out.c:22465
0x8b9f58 gen_decl_die
/build/gcc-multilib/src/gcc/gcc/dwarf2out.c:25364
0x8badaa dwarf2out_decl
/build/gcc-multilib/src/gcc/gcc/dwarf2out.c:25879
0x8bae09 dwarf2out_function_decl
/build/gcc-multilib/src/gcc/gcc/dwarf2out.c:25894
0x939efe rest_of_handle_final
/build/gcc-multilib/src/gcc/gcc/final.c:4520
0x93a06c execute
/build/gcc-multilib/src/gcc/gcc/final.c:4562
This is built from gcc-7-branch@257786.
Any more details I can provide?
More information about the Gcc-bugs
mailing list