Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 2014 07:04:46 -0600
From:      Ian Lepore <ian@FreeBSD.org>
To:        Glen Barber <gjb@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org, freebsd-ia64@FreeBSD.org, freebsd-ppc@FreeBSD.org
Subject:   Re: Build failures with high parallel make(1) jobs with GCC
Message-ID:  <1398258286.61646.23.camel@revolution.hippie.lan>
In-Reply-To: <20140422041353.GO49791@glenbarber.us>
References:  <20140422025435.GL49791@glenbarber.us> <1398136182.1124.394.camel@revolution.hippie.lan> <20140422032124.GM49791@glenbarber.us> <20140422032638.GN49791@glenbarber.us> <1398139557.1124.396.camel@revolution.hippie.lan> <20140422041353.GO49791@glenbarber.us>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-P0ekRMkvKRphSvy7bW7G
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

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


--=-P0ekRMkvKRphSvy7bW7G
Content-Disposition: inline; filename="lib_makefile_ordering1.diff"
Content-Type: text/x-patch; name="lib_makefile_ordering1.diff"; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Index: lib/Makefile
===================================================================
--- lib/Makefile	(revision 264768)
+++ lib/Makefile	(working copy)
@@ -31,9 +31,12 @@
 # Except it appears bind needs to be compiled last
 
 SUBDIR_ORDERED=	${_csu} \
+	.WAIT \
 	libc \
 	libc_nonshared \
+	.WAIT \
 	libbsm \
+	.WAIT \
 	libauditd \
 	libutil \
 	libpjdlog \
@@ -54,6 +57,7 @@ SUBDIR_ORDERED=	${_csu} \
 	libsbuf \
 	libtacplus \
 	${_libypclnt} \
+	.WAIT \
 	${_libcxxrt} \
 	${_libcplusplus}
 
@@ -62,6 +66,7 @@ SUBDIR_ORDERED+=	libcom_err
 .endif
 
 SUBDIR=	${SUBDIR_ORDERED} \
+	.WAIT \
 	libalias \
 	libarchive \
 	${_libatm} \

--=-P0ekRMkvKRphSvy7bW7G--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1398258286.61646.23.camel>