All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] bind: fix intermittent build issues with high BR2_JLEVEL
Date: Fri, 6 Nov 2015 10:19:13 +0100	[thread overview]
Message-ID: <20151106101913.4de92418@free-electrons.com> (raw)
In-Reply-To: <CAGszK3iEXWFBRz4zmG5ky9AptekEX34sVYmRoK8JDremEbNPgA@mail.gmail.com>

Jan,

On Fri, 6 Nov 2015 08:04:35 +0100, Jan Heylen wrote:

> > I am not sure it is appropriate to send a patch in the name of someone
> > else. Maybe you're taking one of Peter's previous commit, and
> > re-applying it, but the context is different, so I believe it should be
> > under your own name.
> >
> OK, just wanted to point out it is the same issue (and the same solution).

OK.


> make[1]: Leaving directory `<CUT>/output/build/bind-9.9.7'
> make: *** [<CUT>/output/build/bind-9.9.7/.stamp_built] Error 2
> 
> How often are you able to reproduce it ? On what type of build machine ?
> >
> 
> We are on the  2015.05, Released May 31st, 2015 Buildroot release.

On master, we updated bind to 9.9.8. Do you also reproduce the issue
with bind 9.9.8 ?

What I find weird is that our autobuilder infrastructure generally
catches pretty well the parallel build issues. And we currently have
zero failures on bind 9.9.7 and bind 9.9.8:

  http://autobuild.buildroot.org/?reason=bind-9.9.7
  http://autobuild.buildroot.org/?reason=bind-9.9.8


> We do build multiple defconfigs (up to 8) (in separate buildroot working
> folders) at once on the same machine. But I see from the buildroot output
> that BR2_JLEVEL is set to '9' (cores +1) for each of these jobs?

That's expected if you have left BR2_JLEVEL to its default of 0.

> >>> bind 9.9.7 Building
> PATH="<CUT>/output/host/bin:<CUT>/output/host/sbin:<CUT>/output/host/usr/bin:<CUT>/output/host/usr/sbin:/usr/local/bin:/usr/bin"
>  /usr/bin/make -j9  -C <CUT>/output/build/bind-9.9.7/
> make[1]: Entering directory `<CUT>/output/build/bind-9.9.7'
> making all in <CUT>/output/build/bind-9.9.7/make
> 
> 
> Maybe the exact condition is to have multiple buildroot jobs (8) on 8 cores
> with BR2_JLEVEL set to 8 (so 8*8 = 64 'jobs').
> 
> So we might optimize that on our side ;-), but still it shouldn't trigger
> this error?

It should trigger this error indeed.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  parent reply	other threads:[~2015-11-06  9:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-05 10:57 [Buildroot] [PATCH] bind: fix intermittent build issues with high BR2_JLEVEL Jan Heylen
2015-11-05 21:42 ` Thomas Petazzoni
2015-11-06  7:04   ` Jan Heylen
2015-11-06  7:06     ` Jan Heylen
2015-11-06  9:19     ` Thomas Petazzoni [this message]
2016-01-06 21:10       ` Thomas De Schampheleire
2016-02-05 14:49         ` Thomas De Schampheleire
  -- strict thread matches above, loose matches on Subject: below --
2016-02-06  1:47 Ricardo Martincoski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151106101913.4de92418@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.