This is the mail archive of the gcc-patches@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: [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
> 
> 



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