Build failures with high parallel make(1) jobs with GCC
Ian Lepore
ian at FreeBSD.org
Wed Apr 23 13:04:57 UTC 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lib_makefile_ordering1.diff
Type: text/x-patch
Size: 639 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20140423/22234174/attachment.bin>
More information about the freebsd-current
mailing list