[U-Boot] Fwd: Parallel build is broken

Joakim Tjernlund Joakim.Tjernlund at infinera.com
Wed Sep 5 07:22:39 UTC 2018


On Tue, 2018-09-04 at 17:43 -0400, Tom Rini wrote:
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
> 
> 
> On Tue, Sep 04, 2018 at 09:05:55PM +0300, Andy Shevchenko wrote:
> > On Tue, Sep 4, 2018 at 9:00 PM Tom Rini <trini at konsulko.com> wrote:
> > > 
> > > On Tue, Sep 04, 2018 at 07:33:10PM +0300, Andy Shevchenko wrote:
> > > > On Tue, Sep 4, 2018 at 6:47 PM Andy Shevchenko
> > > > <andy.shevchenko at gmail.com> wrote:
> > > > > 
> > > > > On Tue, Sep 4, 2018 at 6:14 PM Tom Rini <trini at konsulko.com> wrote:
> > > > > > On Tue, Sep 04, 2018 at 05:50:33PM +0300, Andy Shevchenko wrote:
> > > > > > > On Tue, Sep 4, 2018 at 5:00 PM Tom Rini <trini at konsulko.com> wrote:
> > > > > > > > On Tue, Sep 04, 2018 at 03:42:05PM +0300, Andy Shevchenko wrote:
> > > > > > > make clean && make edison_defconfig && make -j16
> > > > > > > 
> > > > > > > gcc (Debian 8.2.0-4) 8.2.0
> > > > > > > Copyright (C) 2018 Free Software Foundation, Inc.
> > > > > > > This is free software; see the source for copying conditions.  There is NO
> > > > > > > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> > > > > > 
> > > > > > I assume this is on Debian/unstable?
> > > > > 
> > > > > testing
> > > > > 
> > > > > >  I can't directly replicate this on
> > > > > > my 24core (Debian/stretch) or 16core(Ubuntu/xenial) machines.  I'll
> > > > > > setup a chroot soon, but since you've said -j64 is fine there too I
> > > > > > suspect you have more cores than I.  This may be something you have to
> > > > > > bisect for us if I can't replicate it myself.  Can you confirm how many
> > > > > > cores you have?  I might be able to spin something up in Google compute.
> > > > > 
> > > > > $ sed -n -e '/cpu cores/ { p; q }' /proc/cpuinfo
> > > > > cpu cores       : 22
> > > > 
> > > > Did few runs (~6) on this machine with -j4, no failures so far.
> > > > Reruning same with -j16 brings failure on ~2-3 iteration.
> > > > 
> > > > It seems the scope can be narrowed to:
> > > > - many cores build system, and
> > > > - Debian testing/unstable toolchain, and/or
> > > > - U-Boot build system
> > > 
> > > I'm pretty sure it's a dependency problem somewhere.  Since this was
> > > working reliably for you recently (right?) and I can't reproduce it and
> > > you can, if you can run a git bisect to figure out what commit is
> > > breaking things, that would be very helpful.  Thanks!
> > 

There was a patch recently to make 4.2.1 to fix some parallel build issue.
No idea if that fix applies to your case though.

       Jocke



More information about the U-Boot mailing list