This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada/PATCH] fix -j3 building
- From: Arnaud Charlet <charlet at adacore dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: gcc-patches Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 15 Feb 2005 11:26:17 +0100
- Subject: Re: [Ada/PATCH] fix -j3 building
- References: <8db74edce8b267b87ea4dc51c578018c@physics.uc.edu>
> OK? Built gnat1 with no problems with this patch.
If your patch is correct, doesn't that mean that the hunk in ada/Makefile.in
is a duplicate that should be removed, and that proper compilation flags
(in particular -O0) should be put in Make-lang.in ?
I am also concerned that we have similar issues with the other .o rules
duplicates between ada/Makefile.in and ada/Make-lang.in. What a mess...
> ChangeLog:
>
> * Make-lang.in (ada/seh_init.o): Add the dependancies.
>
> Index: Make-lang.in
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/ada/Make-lang.in,v
> retrieving revision 1.98
> diff -u -p -r1.98 Make-lang.in
> --- Make-lang.in 10 Feb 2005 13:54:45 -0000 1.98
> +++ Make-lang.in 14 Feb 2005 22:14:13 -0000
> @@ -1003,6 +1003,7 @@ ada/cstreams.o : ada/cstreams.c $(CONFIG
> ada/exit.o : ada/exit.c $(CONFIG_H) $(SYSTEM_H) ada/adaint.h
> ada/final.o : ada/final.c $(CONFIG_H) $(SYSTEM_H) ada/raise.h
> ada/link.o : ada/link.c
> +ada/seh_init.o : $(CONFIG_H) $(SYSTEM_H) ada/seh_init.c ada/raise.h
>
> ada/cio.o : ada/cio.c $(CONFIG_H) $(SYSTEM_H) ada/adaint.h
> $(CC) -c $(ALL_CFLAGS) $(ALL_ADA_CFLAGS) $(RT_FLAGS) \