public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/67428] lto1: fatal error: test.elf.ltrans0.o: section is missing with -flto -fipa-pta
Date: Wed, 02 Sep 2015 09:27:00 -0000	[thread overview]
Message-ID: <bug-67428-4-eCqdiGoAmS@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-67428-4@http.gcc.gnu.org/bugzilla/>

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.


  parent reply	other threads:[~2015-09-02  9:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-01 18:59 [Bug ipa/67428] New: " gjl at gcc dot gnu.org
2015-09-01 19:01 ` [Bug ipa/67428] " gjl at gcc dot gnu.org
2015-09-01 19:02 ` gjl at gcc dot gnu.org
2015-09-01 19:02 ` gjl at gcc dot gnu.org
2015-09-01 19:07 ` gjl at gcc dot gnu.org
2015-09-01 19:08 ` gjl at gcc dot gnu.org
2015-09-02  9:27 ` rguenth at gcc dot gnu.org [this message]
2015-09-02  9:28 ` rguenth at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-67428-4-eCqdiGoAmS@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).