Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Unable to run linux static binary
On Sat, Nov 29, 2008 at 02:01:33PM -0500, Arnaud Lacombe wrote:
> Hi Folks,
>
> While I'm there, I've been unable to run [1] on -current (for at least
> a year). Here is ktrace output when I try to run the program:
>
> $ ktrace ./mpcdec-static
> /bin/sh: Cannot execute ELF binary ./mppdec-static
> $ kdump
> 2236 1 ktrace EMUL "netbsd"
> 2236 1 ktrace RET ktrace 0
> 2236 1 ktrace CALL execve(0xbfbffc23,0xbfbfeb0c,0xbfbfeb14)
> 2236 1 ktrace NAMI "./mppdec-static"
> 2236 1 ktrace RET execve -1 errno 8 Exec format error
> 2236 1 ktrace CALL execve(0xbbbc6070,0xbfbfe5e0,0xbfbfeb14)
> 2236 1 ktrace NAMI "/bin/sh"
> 2236 1 ktrace NAMI "/libexec/ld.elf_so"
> 2236 1 sh EMUL "netbsd"
> 2236 1 sh RET syscall JUSTRETURN
> 2236 1 sh CALL mmap(0,0x8000,3,0x1002,0xffffffff,0,0,0)
> 2236 1 sh RET mmap -1145135104/0xbbbea000
> 2236 1 sh CALL open(0xbbbfb9cd,0,0)
This isn't being detected as a linux binary ...
David
--
David Laight: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index