This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bootstrap failure on Linux/x86-64 in Ada


Bonzini <bonzini@gnu.org> writes:

> Hi Andreas, this should be related to the fixes to AIX toplevel
> bootstrap.  My apologies if it is the cause.
>
> Can you try adding these lines to the toplevel Makefile.tpl?
>
> ADAFLAGS = -W -Wall -gnatpg -gnata
> ADAFLAGS_FOR_TARGET = -W -Wall -gnatpg -gnata
>
> and changing = to += in config/mt-ppc-aix?

I changed Makefile.in as well, below is the diff.

This seems to fix that issue.

But now it stops with my parallel bootstrap at:

ln: creating symbolic link `x86_64-suse-linux-gnu/stage1-x86_64-suse-linux-gnu' to `stage1-x86_64-suse-linux-gnu': File exists
make[3]: *** [stage1-start] Error 1
make[3]: Leaving directory `/builds/gcc/misc'
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [configure-build-fixincludes] Error 2
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/builds/gcc/misc'
make: *** [bootstrap] Error 2


Andreas

Index: Makefile.in
===================================================================
--- Makefile.in	(revision 108851)
+++ Makefile.in	(working copy)
@@ -338,6 +338,8 @@ LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARG
 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
 LDFLAGS_FOR_TARGET = 
 PICFLAG_FOR_TARGET = 
+ADAFLAGS = -W -Wall -gnatpg -gnata
+ADAFLAGS_FOR_TARGET = -W -Wall -gnatpg -gnata
 
 # ------------------------------------
 # Miscellaneous targets and flag lists
Index: Makefile.tpl
===================================================================
--- Makefile.tpl	(revision 108851)
+++ Makefile.tpl	(working copy)
@@ -258,6 +258,10 @@ BOOT_CFLAGS= -g -O2
 BOOT_ADAFLAGS=
 BOOT_LDFLAGS=
 
+ADAFLAGS = -W -Wall -gnatpg -gnata
+ADAFLAGS_FOR_TARGET = -W -Wall -gnatpg -gnata
+
+
 BISON = @BISON@
 YACC = @YACC@
 FLEX = @FLEX@
Index: config/mt-ppc-aix
===================================================================
--- config/mt-ppc-aix	(revision 108851)
+++ config/mt-ppc-aix	(working copy)
@@ -3,4 +3,4 @@
 # that the library does not use nearly the entire TOC of applications
 # until gnatlib is built as a shared library on AIX.  Compiling the
 # compiler with -mminimal-toc does not cause any harm.
-ADAFLAGS_FOR_TARGET = -mminimal-toc
+ADAFLAGS_FOR_TARGET += -mminimal-toc

-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]