[Bug ipa/67428] lto1: fatal error: test.elf.ltrans0.o: section is missing with -flto -fipa-pta
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 2 09:27:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67428
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|i386,avr |i386, avr, x86_64
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2015-09-02
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed on native x86_64.
#1 0x0000000000fe1eb3 in varpool_node::get_constructor (this=0x7ffff6ac6000)
at /space/rguenther/src/svn/gcc-5-branch/gcc/varpool.c:328
328 name);
(gdb) l
323 data = lto_get_section_data (file_data, LTO_section_function_body,
324 name, &len);
325 if (!data)
326 fatal_error (input_location, "%s: section %s is missing",
327 file_data->file_name,
328 name);
#0 fatal_error (loc=0, gmsgid=0x1785f49 "%s: section %s is missing")
at /space/rguenther/src/svn/gcc-5-branch/gcc/diagnostic.c:1203
#1 0x0000000000fe1eb3 in varpool_node::get_constructor (this=0x7ffff6ac6000)
at /space/rguenther/src/svn/gcc-5-branch/gcc/varpool.c:328
#2 0x0000000000eae0b6 in create_variable_info_for_1 (decl=0x7ffff68d7900,
name=0x1765de2 "NULL")
at /space/rguenther/src/svn/gcc-5-branch/gcc/tree-ssa-structalias.c:5676
#3 0x0000000000eae443 in create_variable_info_for (decl=0x7ffff68d7900,
name=0x1765de2 "NULL")
I think this is a dup of another bug waiting for Honza to comment. But I seem
to have guessed the answer now and am testing a fix.
More information about the Gcc-bugs
mailing list