[U-Boot] Fwd: Parallel build is broken

Andy Shevchenko andy.shevchenko at gmail.com
Tue Sep 4 15:03:56 UTC 2018


On Tue, Sep 4, 2018 at 5:54 PM Andy Shevchenko
<andy.shevchenko at gmail.com> wrote:
>
> On Tue, Sep 4, 2018 at 5:50 PM Andy Shevchenko
> <andy.shevchenko at gmail.com> 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:

> > > > U-Boot can't be build with make -j16.
> > > >
> > > > Second pass passes fine.
> > > >
> > > > Didn't investigate myself and probably will not have time (near to
> > > > vacation time for me).
> > > > So, please, fix it before release.
> > > >
> > > > sh: echo: I/O error
> > > > make[1]: *** [scripts/Makefile.build:278: common/malloc_simple.o] Error 1
> > > > make[1]: *** Waiting for unfinished jobs....

> > > > make: *** [Makefile:1377: common] Error 2
> > > > make: *** Waiting for unfinished jobs....
> > >
> > > What build target (and O= or not?) is this with?  Thanks!
> >
> > 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.
>
> So, first time it's being built, consequent runs usually failed.

More information:
- when consequential run is being executed no code had been changed
- the object files where it fails is totally arbitrary
- I used ccache, though I disabled for now completely (through
modifying PATH) and problem still exists
- Linux kernel rebuilds on that very same machine fine (like touch
include/linux/perf_event.h; make -j64 in a loop)

It's total mystery to me. It was rebuilding just fine yesterday, I
updated today from GH and even older (v2018.09-rc2) fails.

-- 
With Best Regards,
Andy Shevchenko


More information about the U-Boot mailing list