All of lore.kernel.org
 help / color / mirror / Atom feed
From: Trent Piepho <tpiepho@impinj.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Fwd: Parallel build is broken
Date: Mon, 10 Sep 2018 18:46:54 +0000	[thread overview]
Message-ID: <1536605213.22056.28.camel@impinj.com> (raw)
In-Reply-To: <CAHCN7xJhtXr7ioVxmwNBEaeCeT8y3yDO62pZ2k-E1ADS8_Fikg@mail.gmail.com>

On Wed, 2018-09-05 at 06:57 -0500, Adam Ford wrote:
> On Wed, Sep 5, 2018 at 3:46 AM Alex Kiernan <alex.kiernan@gmail.com> wrote:
> > 
> > On Tue, Sep 4, 2018 at 3:54 PM Andy Shevchenko
> > <andy.shevchenko@gmail.com> wrote:
> > > 
> > > On Tue, Sep 4, 2018 at 5:50 PM Andy Shevchenko
> > > <andy.shevchenko@gmail.com> wrote:
> > > > 
> > > > On Tue, Sep 4, 2018 at 5:00 PM Tom Rini <trini@konsulko.com> wrote:
> > > > > 
> > > > > On Tue, Sep 04, 2018 at 03:42:05PM +0300, Andy Shevchenko wrote:
> > > > > 
> > > > > > ---------- Forwarded message ---------
> > > > > > From: Andy Shevchenko <andy.shevchenko@gmail.com>
> > > > > > Date: Tue, Sep 4, 2018 at 3:40 PM
> > > > > > Subject: Parallel build is broken
> > > > > > To: Tom Rini <trini@konsulko.com>
> > > > > > Cc: Bin Meng <bmeng.cn@gmail.com>, Simon Glass <sjg@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
> 
> I am no expert, but I/O error to me indicates a hardware problem on
> the build machine and not necessarily a software issue.

I doubt that is the issue.  While EIO can be returned in response to a
hardware failure, it would be very random and most likely affect
something - the linker, a compiler - that process a lot of files or
data, not an echo command.


> > I've seen this problem - building inside a VMware VM. I've always
> > found that logging out and back in appears to fix it, so possibly
> > something related to the session... I've similarly failed to figure
> > out what the problem is as it comes and goes.

This is likely on track to the real problem.  What happened is
something echo did returned EIO as an errno.  That failing syscall was
probably a write(3), since echo doesn't do a whole lot else!  And why
can write(3) return EIO, besides a hardware error?

       EIO    The process is a member of  a  background  process  group
              attempting  to  write to its controlling terminal, TOSTOP
              is set, the calling thread is not blocking  SIGTTOU,  the
              process is not ignoring SIGTTOU, and the process group of
              the process is orphaned. This error may also be  returned
              under implementation-defined conditions.

I think there's a $(shell echo something &) or something like that
somewhere.

  parent reply	other threads:[~2018-09-10 18:46 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAHp75Vf7XQARyuWSt7k4=K7jYXUnBo22_YJUoASUOD2iBq6dFA@mail.gmail.com>
2018-09-04 12:42 ` [U-Boot] Fwd: Parallel build is broken Andy Shevchenko
2018-09-04 14:00   ` Tom Rini
2018-09-04 14:50     ` Andy Shevchenko
2018-09-04 14:54       ` Andy Shevchenko
2018-09-04 15:03         ` Andy Shevchenko
2018-09-04 15:12           ` Andy Shevchenko
2018-09-05  8:45         ` Alex Kiernan
2018-09-05 11:57           ` Adam Ford
2018-09-05 17:31             ` Andy Shevchenko
2018-09-10 18:46             ` Trent Piepho [this message]
2018-09-12  3:01               ` Max Filippov
2018-09-04 15:14       ` Tom Rini
2018-09-04 15:47         ` Andy Shevchenko
2018-09-04 16:33           ` Andy Shevchenko
2018-09-04 18:00             ` Tom Rini
2018-09-04 18:05               ` Andy Shevchenko
2018-09-04 21:43                 ` Tom Rini
2018-09-05  4:08                   ` Bin Meng
2018-09-05  7:22                   ` Joakim Tjernlund

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=1536605213.22056.28.camel@impinj.com \
    --to=tpiepho@impinj.com \
    --cc=u-boot@lists.denx.de \
    /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.