From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25494 invoked by alias); 9 Oct 2007 12:50:56 -0000 Received: (qmail 25462 invoked by uid 48); 9 Oct 2007 12:50:46 -0000 Date: Tue, 09 Oct 2007 12:50:00 -0000 Message-ID: <20071009125046.25461.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/33704] AIX runs c++ constructors in incorrect order In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dje at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-10/txt/msg00781.txt.bz2 ------- 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