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 09:46:03PM +0100, Joerg Sonnenberger wrote:
> On Sat, Nov 29, 2008 at 02:01:33PM -0500, Arnaud Lacombe wrote:
> > The same happens with the dynamic mpcdec binary.
>
> You might want to try FreeBSD's brandelf to force the Linux ELF ABI.
> Especially for static binaries of the early glibc days that can make the
> necessary difference as they haven't been tagged with ELF ABI note until
> glibc 2.1 or so.
brandelf will probably work. You might try looking at the binary with
"hexdump" and see if you can find anything that can be probed for. It's not
being recognised as a Linux binary because linux_elf32_probe() is returning
ENOEXEC.
http://nxr.homeunix.org/source/xref/sys/compat/linux/common/linux_exec_elf32.c#368
Andrew
Home |
Main Index |
Thread Index |
Old Index