This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/39929] [4.5 Regression] Bootstrapping fails at stage 1 on powerpc-apple-darwin9 and powerpc-ibm-aix
- From: "dje at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Apr 2009 13:54:24 -0000
- Subject: [Bug bootstrap/39929] [4.5 Regression] Bootstrapping fails at stage 1 on powerpc-apple-darwin9 and powerpc-ibm-aix
- References: <bug-39929-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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