This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Final PATCH to break fixproto-enquire dependency - really;-) (was: Re: FYI build stability )
- To: Manfred dot Hollstein at ks dot sel dot alcatel dot de, manfred at s-direktnet dot de, wilson at cygnus dot com
- Subject: Re: Final PATCH to break fixproto-enquire dependency - really;-) (was: Re: FYI build stability )
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Wed, 20 May 1998 13:02:03 -0400 (EDT)
- Cc: egcs at cygnus dot com, law at cygnus dot com
> From: Manfred Hollstein <manfred@s-direktnet.de>
>
> On Mon, 18 May 1998, 20:07:28, wilson@cygnus.com wrote:
>
> > * We never try to build float.h anymore. Instead we just use
> > the one that configure selects from the config subdir. This
> > applies to native targets too.
> >
> > FYI This has implications for the libgcc.a build process. This would fix the
> > fixproto-enquire dependency loop. See
> > <http://www.cygnus.com/ml/egcs-bugs/1998-May/0196.html>
> > and its precursor. So we need a different but much simpler patch for this now.
> >
> > Jim
>
> Yep, just swapping $(LIBGCC) and $(STMP_FIXPROTO) is sufficient now.
>
> manfred
>
>
> Wed May 20 09:33:31 1998 Manfred Hollstein <manfred@s-direktnet.de>
>
> * Makefile.in (all.cross): Swap $(LIBGCC) and $(STMP_FIXPROTO).
> (rest.encap): Likewise.
>
> diff -rup -x CVS -x RCS -x *.o -x *.info* -x *.html* -x *.elc -x *.dvi -x *.orig -x *~ -x version.el egcs-19980520.orig/gcc/Makefile.in egcs-19980520/gcc/Makefile.in
> --- egcs-19980520.orig/gcc/Makefile.in Wed May 20 09:12:08 1998
> +++ egcs-19980520/gcc/Makefile.in Wed May 20 09:33:03 1998
> @@ -806,14 +806,14 @@ all.internal: start.encap rest.encap
> # This is what to compile if making a cross-compiler.
> # Note that we can compile enquire using the cross-compiler just built,
> # although we can't run it on this machine.
> -all.cross: native gcc-cross specs stmp-headers $(LIBGCC) $(STMP_FIXPROTO) \
> +all.cross: native gcc-cross specs stmp-headers $(STMP_FIXPROTO) $(LIBGCC) \
> $(LIBGCC1_TEST) $(EXTRA_PARTS) lang.all.cross
> # This is what to compile if making gcc with a cross-compiler.
> all.build: native xgcc$(exeext) $(EXTRA_PARTS) lang.all.build
> # This is what must be made before installing GCC and converting libraries.
> start.encap: native xgcc$(exeext) specs $(LIBGCC1) xlimits.h lang.start.encap
> # These can't be made until after GCC can run.
> -rest.encap: stmp-headers $(LIBGCC) $(STMP_FIXPROTO) $(EXTRA_PARTS) lang.rest.encap
> +rest.encap: stmp-headers $(STMP_FIXPROTO) $(LIBGCC) $(EXTRA_PARTS) lang.rest.encap
> # This is what is made with the host's compiler
> # whether making a cross compiler or not.
> native: config.status auto-host.h cpp$(exeext) $(LANGUAGES) \
>
But does this work with parallel builds?
Now that the circular dependency is broken, maybe we can safely have
libgcc2.ready depend on $(STMP_FIXPROTO). (?) That would ensure
parallel builds do the right thing.
I'll try testing it on my mips box.
--Kaveh
--
Kaveh R. Ghazi Project Manager / Custom Development
ghazi@caip.rutgers.edu Icon CMT Corp.