Re: Build failures with high parallel make(1) jobs with GCC

From: Ian Lepore <ian_at_FreeBSD.org>
Date: Wed, 23 Apr 2014 07:04:46 -0600
On Tue, 2014-04-22 at 00:13 -0400, Glen Barber wrote:
> On Mon, Apr 21, 2014 at 10:05:57PM -0600, Ian Lepore wrote:
> > On Mon, 2014-04-21 at 23:26 -0400, Glen Barber wrote:
> > > On Mon, Apr 21, 2014 at 11:21:24PM -0400, Glen Barber wrote:
> > > > On Mon, Apr 21, 2014 at 09:09:42PM -0600, Ian Lepore wrote:
> > > > > > The last successful build for powerpc on head/ was April 8.  But I am
> > > > > > having trouble tracking down what commits may (or may not) have
> > > > > > contributed to recent high-parallel build failures.
> > > > > > 
> > > > > 
> > > > > A couple weeks corresponds somewhat with the parallel subdir build
> > > > > changes (it's about 3 weeks now).  Try this patch I cooked up today for
> > > > > $work, and in src/lib/Makefile add .WAIT (as if it were a directory
> > > > > name) between ${SUBDIR_ORDERED} and the rest of the directories.
> > > > > 
> > > > 
> > > > The patch fails to apply cleanly, but as far as I can tell, it is due to
> > > > whitespace.
> > > > 
> > > > I'll hand-patch it, and report back.
> > > > 
> > > 
> > > Nope, I'm getting conflicts on revisions as far back as r251749.
> > > 
> > > Glen
> > > 
> > 
> > This one should work better.  The lib/Makefile is included this time.
> > 
> 
> This patch applies fine.
> 
> It seems to already have an effect, but I won't go so far to say it
> works until I see the 'World build completed: ' message.
> 
> I'll follow up tomorrow once build is done.
> 
> Thanks!
> 
> Glen
> 

I think the change to lib/Makefile was not sufficient.  After looking at
the notes on dependenices at the top of the makefile, I think the
attached has some chance of helping.  The bsd.subdir.mk changes are now
commited as r264822. 

-- Ian


Received on Wed Apr 23 2014 - 11:04:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:48 UTC