[U-Boot] Fwd: Parallel build is broken

Tom Rini trini at konsulko.com
Tue Sep 4 15:14:48 UTC 2018


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:
> >
> > > ---------- Forwarded message ---------
> > > From: Andy Shevchenko <andy.shevchenko at gmail.com>
> > > Date: Tue, Sep 4, 2018 at 3:40 PM
> > > Subject: Parallel build is broken
> > > To: Tom Rini <trini at konsulko.com>
> > > Cc: Bin Meng <bmeng.cn at gmail.com>, Simon Glass <sjg at chromium.org>
> > >
> > >
> > > 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....
> > >  CC      drivers/serial/ns16550.o
> > >  CC      drivers/spi/spi.o
> > >  CC      cmd/mmc.o
> > >  CC      drivers/watchdog/tangier_wdt.o
> > >  CC      drivers/serial/serial_intel_mid.o
> > >  CC      cmd/net.o
> > >  CC      drivers/usb/common/common.o
> > >  CC      arch/x86/lib/acpi.o
> > >  LD      drivers/timer/built-in.o
> > >  CC      arch/x86/lib/acpi_table.o
> > >  CC      drivers/video/console_normal.o
> > > 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.

I assume this is on Debian/unstable?  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.
Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180904/51b885d8/attachment.sig>


More information about the U-Boot mailing list