This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][gcc-4.9.0] gcc/Makefile.in: fix parallel building failure
- From: Tom Tromey <tromey at redhat dot com>
- To: Hongxu Jia <hongxu dot jia at windriver dot com>
- Cc: Andrew Pinski <pinskia at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, <Zhangle dot Yang at windriver dot com>, <raj dot khem at gmail dot com>
- Date: Thu, 24 Jul 2014 08:15:59 -0600
- Subject: Re: [PATCH][gcc-4.9.0] gcc/Makefile.in: fix parallel building failure
- Authentication-results: sourceware.org; auth=none
- References: <1406175013-8002-1-git-send-email-hongxu dot jia at windriver dot com> <CA+=Sn1nn7ZX_ttz2n7k7BzDF=Hy=oCHVjh6Ju02+wLC1C505qQ at mail dot gmail dot com> <53D0CAB5 dot 2060009 at windriver dot com>
>>>>> "Hongxu" == Hongxu Jia <hongxu.jia@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) : | $(generated_files)
That's the way it is supposed to work anyhow.
Tom