Re: [PATCH][gcc-4.9.0] gcc/Makefile.in: fix parallel building failure

2014-07-24 Thread Hongxu Jia
On 07/24/2014 12:17 PM, Andrew Pinski wrote: On Wed, Jul 23, 2014 at 9:10 PM, Hongxu Jia hongxu@windriver.com wrote: 1. How to reproduce the issue: 1) manually modify gcc/Makefile.in to delay the generation of config.h: ... diff --git gcc-4.9.0/gcc/Makefile.in gcc-4.9.0/gcc/Makefile.in ---

Re: [PATCH][gcc-4.9.0] gcc/Makefile.in: fix parallel building failure

2014-07-24 Thread Tom Tromey
Hongxu == Hongxu Jia hongxu@windriver.com writes: Hongxu I tests on 4.10 (gcc-4.10-20140720), and this issue still existed. It seems to me that the generated_files code should handle this: generated_files = config.h tm.h $(TM_P_H) $(TM_H) multilib.h \ [...] $(ALL_HOST_OBJS) : |

[PATCH][gcc-4.9.0] gcc/Makefile.in: fix parallel building failure

2014-07-23 Thread Hongxu Jia
1. How to reproduce the issue: 1) manually modify gcc/Makefile.in to delay the generation of config.h: ... diff --git gcc-4.9.0/gcc/Makefile.in gcc-4.9.0/gcc/Makefile.in --- gcc-4.9.0/gcc/Makefile.in +++ gcc-4.9.0/gcc/Makefile.in @@ -1622,9 +1622,12 @@ tm.h: cs-tm.h ; @true tm_p.h: cs-tm_p.h ;

Re: [PATCH][gcc-4.9.0] gcc/Makefile.in: fix parallel building failure

2014-07-23 Thread Andrew Pinski
On Wed, Jul 23, 2014 at 9:10 PM, Hongxu Jia hongxu@windriver.com wrote: 1. How to reproduce the issue: 1) manually modify gcc/Makefile.in to delay the generation of config.h: ... diff --git gcc-4.9.0/gcc/Makefile.in gcc-4.9.0/gcc/Makefile.in --- gcc-4.9.0/gcc/Makefile.in +++