This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/33704] AIX runs c++ constructors in incorrect order
- 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: 9 Oct 2007 12:50:46 -0000
- Subject: [Bug target/33704] AIX runs c++ constructors in incorrect order
- References: <bug-33704-8038@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from dje at gcc dot gnu dot org 2007-10-09 12:50 -------
This is a long-standing issue about the way AIX loader behaves. AIX loader
implements breadth-first, not depth first. This is a difference from
SVR4-based systems. I believe that SVR4 does specify the ordeer. Look about
10 years ago on the mailinglist for a similar discussion.
A solution within GCC is very complicated. This really is an enhancement
request for AIX itself to make it more compatible with Linux and other
SVR4-like operating systems.
--
dje at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-10-09 12:50:46
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33704