Current-Users archive

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

Unable to run linux static binary



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)
[...]

The same happens with the dynamic mpcdec binary.

Any clue about what's going wrong ?

best regards,

 - Arnaud

ps: my kernel config file *do* include COMPAT_LINUX

[1]: http://files.musepack.net/linux/decoder/mppdec-linux-libc6-static-1.95e.zip


Home | Main Index | Thread Index | Old Index