mainline: ada/Makefile broken?

Andreas Jaeger aj@suse.de
Tue Jun 4 03:52:00 GMT 2002


Andreas Jaeger <aj@suse.de> writes:

> With current CVS (with PCH merged) I get on i686-linux-gnu:
>
> make[2]: *** No rule to make target `gnatbind', needed by `ada'.  Stop.
> make[2]: Leaving directory `/builds/gcc/gcc-3.2-devel/gcc'
> make[1]: *** [stage1_build] Error 2
> make[1]: Leaving directory `/builds/gcc/gcc-3.2-devel/gcc'
> make: *** [bootstrap] Error 2
>
> This happens by invoking make bootstrap,

Geoff,

your ChangeLog mentions:

	* Make-lang.in (gnat1): Add dependency on s-gtype.
	(gnatbind): Add dependency on $(CONFIG_H).


but you removed gnatbind completly:

RCS file: /cvs/gcc/egcs/gcc/ada/Make-lang.in,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- gcc/ada/Make-lang.in        31 May 2002 10:47:33 -0000      1.11
+++ gcc/ada/Make-lang.in        4 Jun 2002 07:08:21 -0000       1.12
@@ -205,10 +205,6 @@ gnat1$(exeext): $(TARGET_ADA_SRCS) $(GNA
                $(SYSLIBS)
        $(RM) stamp-gnatlib2 stamp-tools
 
-gnatbind$(exeext): ada/b_gnatb.o $(GNATBIND_OBJS)
-       $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ ada/b_gnatb.o $(GNATBIND_OBJS) \
-             $(LIBIBERTY) $(LIBS)
-

I'm adding the appended patch as obvious, it brings me back to
bootstrap on i686-linux-gnu.

Andreas

2002-06-04  Andreas Jaeger  <aj@suse.de>

	* Make-lang.in (gnatbind): Readd rule that has been lost in last
	patch.

============================================================
Index: gcc/ada/Make-lang.in
--- gcc/ada/Make-lang.in	4 Jun 2002 07:08:21 -0000	1.12
+++ gcc/ada/Make-lang.in	4 Jun 2002 10:16:29 -0000
@@ -205,6 +205,10 @@ gnat1$(exeext): $(TARGET_ADA_SRCS) $(GNA
 		$(SYSLIBS)
 	$(RM) stamp-gnatlib2 stamp-tools
 
+gnatbind$(exeext): ada/b_gnatb.o $(CONFIG_H) $(GNATBIND_OBJS)
+	$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ ada/b_gnatb.o $(GNATBIND_OBJS) \
+	     $(LIBIBERTY) $(LIBS)
+
 # use target-gcc target-gnatmake target-gnatbind target-gnatlink 
 gnattools: $(GCC_PARTS) $(CONFIG_H) prefix.o force
 	$(MAKE) -C ada $(FLAGS_TO_PASS) $(ADA_FLAGS_TO_PASS) \

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Gcc-patches mailing list