From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29197 invoked by alias); 11 Jun 2009 00:01:35 -0000 Received: (qmail 26119 invoked by uid 48); 11 Jun 2009 00:01:19 -0000 Date: Thu, 11 Jun 2009 00:01:00 -0000 Message-ID: <20090611000119.26118.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug bootstrap/37739] [4.4 Regression] bootstrap broken with core gcc > gcc-4.2.x In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mikpe at it dot uu dot se" 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: 2009-06/txt/msg00688.txt.bz2 ------- Comment #13 from mikpe at it dot uu dot se 2009-06-11 00:01 ------- (In reply to comment #11) > Fixed. Not quite. I'm trying to build gcc-4.4-20090609 on powerpc64-unknown-linux-gnu, with binutils 2.17.50.0.6-6, configured with --enable-languages=c,ada --with-cpu=default32 --disable-shared, and the first attempt to link gnat1 fails with R_PPC_REL24 errors similar to those shown earlier in this PR entry. A look in the build log shows that the host C compiler is invoked with -O1 while building the C parts of stage1, but the host gnat is invoked with no optimisation flags at all. It seems that the workaround to pass -O1 when --relax is missing isn't propagated into the Ada parts. If I set CC='gcc -O2' during the initial configure step the build succeeds. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37739