From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11006 invoked by alias); 28 Jun 2005 20:50:19 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 10997 invoked by uid 22791); 28 Jun 2005 20:50:15 -0000 Received: from 26.mail-out.ovh.net (HELO 26.mail-out.ovh.net) (213.186.42.179) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 28 Jun 2005 20:50:15 +0000 Received: (qmail 1475 invoked by uid 503); 28 Jun 2005 20:50:17 -0000 Received: (QMFILT: 1.0); 28 Jun 2005 20:50:17 -0000 Received: from b6.ovh.net (HELO mail144.ha.ovh.net) (213.186.33.56) by 26.mail-out.ovh.net with DES-CBC3-SHA encrypted SMTP; 28 Jun 2005 20:50:17 -0000 Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 28 Jun 2005 20:49:51 -0000 Received: from mail144.ha.ovh.net (10.0.50.144) by mail144.ha.ovh.net with DES-CBC3-SHA encrypted SMTP; 28 Jun 2005 20:49:51 -0000 Received: from b0.ovh.net (HELO queue-pre) (213.186.33.50) by b0.ovh.net with SMTP; 28 Jun 2005 20:49:51 -0000 Received: from gut75-4-82-235-162-148.fbx.proxad.net (HELO ?192.168.1.100?) (laurent%guerby.net@82.235.162.148) by ns0.ovh.net with SMTP; 28 Jun 2005 20:49:51 -0000 Subject: [Ada] Patch needed to boostrap Ada on x86_64 as of 20050628 From: Laurent GUERBY To: gcc@gcc.gnu.org Content-Type: text/plain Date: Tue, 28 Jun 2005 20:50:00 -0000 Message-Id: <1119991811.8919.400.camel@pc.site> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Ovh-Remote: 82.235.162.148 (gut75-4-82-235-162-148.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: fait|type 1&3|0.5|H 0.5 X-SW-Source: 2005-06/txt/msg01197.txt.bz2 Ada bootstraps fine without patch on x86-linux, however on x86_64 bootstrap fail because of: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22212 The following patch is a workaround for it, it enables a full bootstrap and only 2 additional FAIL in ACATS, results here: http://gcc.gnu.org/ml/gcc-testresults/2005-06/msg01693.html Laurent Index: gnattools/Makefile.in =================================================================== RCS file: /cvs/gcc/gcc/gnattools/Makefile.in,v retrieving revision 1.4 diff -u -r1.4 Makefile.in --- gnattools/Makefile.in 30 Mar 2005 08:56:55 -0000 1.4 +++ gnattools/Makefile.in 28 Jun 2005 20:45:29 -0000 @@ -83,7 +83,7 @@ "CC=../../xgcc -B../../" \ "CFLAGS=$(CFLAGS) $(WARN_CFLAGS)" \ "LDFLAGS=$(LDFLAGS)" \ - "ADAFLAGS=$(ADAFLAGS)" \ + "ADAFLAGS=$(ADAFLAGS) -O0" \ "INCLUDES=$(INCLUDES_FOR_SUBDIR)" \ "ADA_INCLUDES=-I- -I../rts $(ADA_INCLUDES_FOR_SUBDIR)"\ "exeext=$(exeext)" \ @@ -112,7 +112,7 @@ TOOLS_FLAGS_TO_PASS_NATIVE= \ "CC=../../xgcc -B../../" \ "CFLAGS=$(CFLAGS)" \ - "ADAFLAGS=$(ADAFLAGS)" \ + "ADAFLAGS=$(ADAFLAGS) -O0" \ "INCLUDES=$(INCLUDES_FOR_SUBDIR)" \ "ADA_INCLUDES=-I../rts $(ADA_INCLUDES_FOR_SUBDIR)" \ "exeext=$(exeext)" \ Index: gcc/ada/Makefile.in =================================================================== RCS file: /cvs/gcc/gcc/gcc/ada/Makefile.in,v retrieving revision 1.118 diff -u -r1.118 Makefile.in --- gcc/ada/Makefile.in 16 Jun 2005 09:00:01 -0000 1.118 +++ gcc/ada/Makefile.in 28 Jun 2005 20:45:30 -0000 @@ -1994,6 +1994,10 @@ $(CC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) -O1 -fno-inline \ $(ADA_INCLUDES) $< $(OUTPUT_OPTION) +a-strfix.o : a-strfix.adb a-strfix.ads + $(CC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) -O0 \ + $(ADA_INCLUDES) $< $(OUTPUT_OPTION) + # force debugging information on s-assert.o so that it is always # possible to set breakpoint on assert failures.