public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dje at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/39929] [4.5 Regression] Bootstrapping fails at stage 1 on powerpc-apple-darwin9 and powerpc-ibm-aix
Date: Mon, 27 Apr 2009 13:54:00 -0000	[thread overview]
Message-ID: <20090427135424.20884.qmail@sourceware.org> (raw)
In-Reply-To: <bug-39929-12313@http.gcc.gnu.org/bugzilla/>



------- Comment #2 from dje at gcc dot gnu dot org  2009-04-27 13:54 -------
This also fails on AIX.  On AIX, the error appears as a failure while compiling
libobjc/linking.m.

A function in cgraphunit.c is being mis-compiled, possibly build_cdtor().  This
causes cgraph_build_static_cdtor() to be called with an invalid priority of
"-1", instead of 65535.  The priority should not be negative.  This negative
priority value generates an invalid global file function name:

_GLOBAL__I_-00001_0___objc_linking

A function name should not contain a minus sign, which is a syntax error. 
Recompiling cgarphunit.c without optimization fixes the miscompilation.  An
incorrect priority is calculated from decl_fini_priority_lookup(), but
recompiling tree.c does not change the failure.


-- 

dje at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dje at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
  GCC build triplet|powerpc-apple-darwin9       |powerpc-apple-
                   |                            |darwin9,powerpc-ibm-aix
   GCC host triplet|powerpc-apple-darwin9       |powerpc-apple-
                   |                            |darwin9,powerpc-ibm-aix
 GCC target triplet|powerpc-apple-darwin9       |powerpc-apple-
                   |                            |darwin9,powerpc-ibm-aix
           Priority|P3                          |P1
   Last reconfirmed|0000-00-00 00:00:00         |2009-04-27 13:54:23
               date|                            |
            Summary|[4.5 Regression]            |[4.5 Regression]
                   |Bootstrapping fails at stage|Bootstrapping fails at stage
                   |1 on powerpc-apple-darwin9  |1 on powerpc-apple-darwin9
                   |                            |and powerpc-ibm-aix


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39929


  parent reply	other threads:[~2009-04-27 13:54 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-27 13:08 [Bug bootstrap/39929] New: [4.5 Regression] Bootstrapping fails at stage 1 on powerpc-apple-darwin9 dominiq at lps dot ens dot fr
2009-04-27 13:12 ` [Bug bootstrap/39929] " dominiq at lps dot ens dot fr
2009-04-27 13:54 ` dje at gcc dot gnu dot org [this message]
2009-04-27 14:19 ` [Bug bootstrap/39929] [4.5 Regression] Bootstrapping fails at stage 1 on powerpc-apple-darwin9 and powerpc-ibm-aix dje at gcc dot gnu dot org
2009-04-27 19:07 ` pinskia at gcc dot gnu dot org
2009-04-27 19:11 ` pinskia at gcc dot gnu dot org
2009-04-27 19:24 ` pinskia at gcc dot gnu dot org
2009-04-27 19:44 ` pinskia at gcc dot gnu dot org
2009-04-28  0:38 ` matz at gcc dot gnu dot org
2009-04-28  1:04 ` pinskia at gcc dot gnu dot org
2009-04-28 14:19 ` pinskia at gcc dot gnu dot org
2009-04-28 14:21 ` pinskia at gcc dot gnu dot org
2009-04-28 22:31 ` jules at gcc dot gnu dot org
2009-04-28 22:50 ` pinskia at gcc dot gnu dot org
2009-04-29 17:37 ` matz at gcc dot gnu dot org
2009-05-04 11:45 ` dominiq at lps dot ens dot fr
2009-05-05 15:13 ` [Bug bootstrap/39929] [4.5 Regression] Bootstrapping fails at stage 1 on powerpc-ibm-aix mmitchel at gcc dot gnu dot org
2009-05-05 16:07 ` jules at gcc dot gnu dot org
2009-05-05 19:15 ` pinskia at gcc dot gnu dot org
2009-05-06 15:34 ` bonzini at gnu dot org
2009-05-06 15:49 ` matz at gcc dot gnu dot 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=20090427135424.20884.qmail@sourceware.org \
    --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).