qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: Bug 1716767 <1716767@bugs.launchpad.net>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [Bug 1716767] Re: file(1) fails with "Invalid argument" on qemu-sh4-user
Date: Tue, 12 Sep 2017 23:08:49 +0100	[thread overview]
Message-ID: <CAFEAcA_3GeeEYi7f4jLQPyWN567Ja0494ceWbf-fYxEQDN2+Cg@mail.gmail.com> (raw)
In-Reply-To: <150525284073.29079.14299492241937433886.malone@chaenomeles.canonical.com>

On 12 September 2017 at 22:47, James Clarke <jrtc27@jrtc27.com> wrote:
> I just ran it myself inside and outside the sh4 chroot. The logging
> output is the same, with the exception of the final line. Something is
> happening once it's decided it's elf; looking at file_tryelf, my guess
> is the fstat call is failing[0].

strace could probably confirm or deny that. I would be unsurprised
if the linux-user definitions for the structure layouts for the
various stat structs were wrong for sh4.

thanks
-- PMM

  reply	other threads:[~2017-09-12 22:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-12 20:59 [Qemu-devel] [Bug 1716767] [NEW] file(1) fails with "Invalid argument" on qemu-sh4-user John Paul Adrian Glaubitz
2017-09-12 21:18 ` [Qemu-devel] [Bug 1716767] " James Clarke
2017-09-12 21:44   ` John Paul Adrian Glaubitz
2017-09-12 21:47 ` James Clarke
2017-09-12 22:08   ` Peter Maydell [this message]
2017-09-12 22:40 ` James Clarke
2017-09-12 22:48 ` James Clarke
2017-09-12 23:07 ` James Clarke
2017-09-13 18:37 ` James Clarke
2017-09-14 19:06   ` John Paul Adrian Glaubitz
2017-09-14 20:30 ` Thomas Huth
2017-12-15 15:57 ` Thomas Huth

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=CAFEAcA_3GeeEYi7f4jLQPyWN567Ja0494ceWbf-fYxEQDN2+Cg@mail.gmail.com \
    --to=peter.maydell@linaro.org \
    --cc=1716767@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).