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.