Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: compat_netbsd32



On Fri, Feb 25, 2011 at 04:06:29PM +0000, Dennis den Brok wrote:
> David Laight <david%l8s.co.uk@localhost> wrote:
> > Each exit() uses a differnent exit code, so compare the exit code
> > from the kernel output with the source.
> 
> It exists with code 12, which seems to happen when it can't fork.

Looks like extactly what i'm seeing on my up-to-date -current
NetBSD/amd64 machine, when running dynamic i386 binaries.

njoly@lanfeust [~]> /misc/chroot/netbsd32/rescue/hostname 
lanfeust.sis.pasteur.fr
njoly@lanfeust [~]> /misc/chroot/netbsd32/bin/hostname   
zsh: abort      /misc/chroot/netbsd32/bin/hostname

[...]
 10851      1 sh       CALL  __vfork14
 16717      1 sh       EMUL  "netbsd"
 16717      1 sh       RET   fork 0
 16717      1 sh       CALL  execve(0x6225a8,0x6225e0,0x6225f0)
 16717      1 sh       NAMI  "/misc/chroot/netbsd32/bin/hostname"
 16717      1 sh       NAMI  "/libexec/ld.elf_so-i386"
 10851      1 sh       RET   __vfork14 16717/0x414d
 10851      1 sh       CALL  getpgrp
[...]

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.


Home | Main Index | Thread Index | Old Index