This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] fix parallel spu newlib build failures
- From: Andrew_Pinski at PlayStation dot Sony dot Com
- To: Patrick Mansfield <patmans at us dot ibm dot com>, gcc-patches at gcc dot gnu dot org
- Cc: Jeff Johnston <jjohnstn at redhat dot com>, newlib at sourceware dot org, Ulrich Weigand <Ulrich dot Weigand at de dot ibm dot com>
- Date: Mon, 15 Oct 2007 12:20:30 -0700
- Subject: Re: [PATCH] fix parallel spu newlib build failures
Forwarding this on to the gcc-patches list also since the toplevel
makefile is shared with them.
Note I can apply to the GCC repo if applied to src.
Thanks,
Andrew Pinski
newlib-owner@sourceware.org wrote on 10/15/2007 12:07:06 PM:
> This fixes my parallel build problem.
>
> Comments? Jeff - if OK, can you commit this?
>
> 2007-10-15 Patrick Mansfield <patmans@us.ibm.com>
>
> * Makefile.def: To avoid problems running with parallel makes,
> build newlib before libgloss so that target specific header files
> are availble.
> * Makefile.in: Regenerate.
>
> Index: fix-par-build/Makefile.def
> ===================================================================
> --- fix-par-build.orig/Makefile.def
> +++ fix-par-build/Makefile.def
> @@ -496,7 +496,7 @@ lang_env_dependencies = { module=rda; };
> lang_env_dependencies = { module=winsup; };
> lang_env_dependencies = { module=qthreads; };
>
> -dependencies = { module=all-target-libgloss;
on=configure-target-newlib; };
> +dependencies = { module=all-target-libgloss; on=all-target-newlib; };
> dependencies = { module=all-target-winsup; on=all-target-libiberty; };
> dependencies = { module=all-target-winsup; on=all-target-libtermcap; };
>
> Index: fix-par-build/Makefile.in
> ===================================================================
> --- fix-par-build.orig/Makefile.in
> +++ fix-par-build/Makefile.in
> @@ -51894,7 +51894,7 @@ all-target-libobjc: maybe-all-target-lib
> all-target-libobjc: maybe-all-target-boehm-gc
> all-target-libstdc++-v3: maybe-all-target-libiberty
> configure-target-libstdc++-v3: maybe-configure-target-libgomp
> -all-target-libgloss: maybe-configure-target-newlib
> +all-target-libgloss: maybe-all-target-newlib
> all-target-winsup: maybe-all-target-libiberty
> all-target-winsup: maybe-all-target-libtermcap
>
>