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: Use move-if-change on macro_list dependency


On Nov 17, 2004, at 11:25 AM, Geoffrey Keating wrote:
I've actually seen another report, from Dale, that having multiple sub-makes running inside the gcc/
directory causes other problems; he wasn't seeing anything to do with macro_list, he was failing earlier
trying to build insn-recog.c (or some insn- file, anyway).

I'm inclined to think what happened to me was a problem with make, or the prerelease OS it
happened on, rather than gcc, so I haven't discussed it here. But what happened is this. During
a bootstrap with -j 2 (on a dual-CPU machine), genattrtab was run twice during the stage1
and stage2 phases. The stage2 compilation of insn-attrtab.c started while the second genattrtab
was still running, and therefore failed. If others of you bootstrap with -j you might see if some
of the gen* are getting run twice; I think you have to be fairly unlucky to hit the race condition
(restarting worked fine for me).



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