On 12 September 2017 at 22:47, James Clarke <jrt...@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