Re: Build failures with high parallel make(1) jobs with GCC
--=-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
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
--=-P0ekRMkvKRphSvy7bW7G--
討論串 (同標題文章)
完整討論串 (本文為第 9 之 9 篇):