Subject: Re: Cannot execute binary file
To: Andrew Cagney <cagney@mac.com>
From: Nathan J. Williams <nathanw@MIT.EDU>
List: port-powerpc
Date: 07/31/2001 11:03:35
Andrew Cagney <cagney@mac.com> writes:

> Any one got any idea at all?  Perhaphs I need some compat option?

I'd be suspicious of rev 1.57 of kern/exec_conf.c:

>revision 1.57
>date: 2001/06/19 17:58:41;  author: jdolecek;  state: Exp;  lines: +8 -4
>Do not include the ELF 'catch all' entry in execsw[] by default, which
>used to make ELF binaries unmatched by any signature check to be run under
>NetBSD 'emulation'. This causes problems like kern/12253.
>The old behaviour is available with option EXEC_ELF_CATCHALL.

Does the binary in question have a .note.netbsd.ident section?

        - Nathan