From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1357 invoked by alias); 28 Nov 2012 19:35:59 -0000 Received: (qmail 30938 invoked by uid 48); 28 Nov 2012 19:35:38 -0000 From: "dje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/54791] AIX-only: Constructors are not called in main program. Date: Wed, 28 Nov 2012 19:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: dje at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-11/txt/msg02778.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791 --- Comment #30 from David Edelsohn 2012-11-28 19:35:36 UTC --- > 1) how did you install the gcc(you said it works on your aix) ? I mean what > mpfr,gmp, libmpc did you use and how did you install them? I built gmp, mpfr and mpc from source code and installed them in a local directory. I configure GCC with --with-gmp=/path/to/tools 2) How did you configure gcc before makeing? (the exact command line) You can see this in my regular GCC testsuite results. /gsa/yktgsa/home/e/d/edelsohn/src/src/configure --prefix=/gsa/yktgsa/home/e/d/edelsohn/install/powerpc-ibm-aix7.1.0.0-20121127 --disable-werror --enable-languages=c,c++,fortran,objc --with-gmp=/usr/gnu --with-mpfr=/usr/gnu --with-cloog=no --with-ppl=no --disable-libstdcxx-pch --with-boot-ldflags=-L/usr/gnu/lib 3) what aix do you you use(oslevel -s) ? and any other pre-requisites that I should put in order for me to have my gcc built.(environment vars... etc) I recently have built with AIX 7.1. I think it technically is 7.1.1 but not all filesets were upgraded so oslevel is not accurate. I previously built regularly with AIX 5.3 and have built with AIX 6.1. There were some problems with the AIX assembler that caused errors at link time, but not the type of errors that you are reporting. You also can contact Michael Perzl who has GCC 4.7 builds for nearly all recent releases of AIX. http://www.perzl.org/