Subject: Re: 2.x and COMPAT_NETBSD32
To: None <port-amd64@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: port-amd64
Date: 03/10/2006 11:43:14
--Kj7319i9nmIyA2yE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Quentin Garnier <cube@cubidou.net> wrote:
> On Fri, Mar 10, 2006 at 04:30:26PM +0100, dieter Roelants wrote:
> > On 03/09/06 23:01:47, Jan Schaumann wrote:
> >=20
> > >$ file a.out
> > >a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
> > >NetBSD 2.0.2, statically linked, not stripped
> > >$ ./a.out
> > >./a.out: 1: Syntax error: "(" unexpected
> > >$
> >=20
> > If a.out is statically linked, the locations of the linker and libs =20
> > shouldn't matter, right?
>=20
> Hmm, right. So, no options COMPAT_NETBSD32 in the kernel, and/or no
> options EXEC_ELF32.
options EXEC_ELF32, that's the one. Thanks!
It was missing from the kernel because neither compat_netbsd32(8) nor
options(4) mentions it. I guess it should be added to
compat_netbsd32(8)?
-Jan
--=20
Life," said Marvin, "don't talk to me about life."
--Kj7319i9nmIyA2yE
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)
iD8DBQFEEayifFtkr68iakwRAilKAJ9BHDkBKV1NMPkzgVvk2+ytYF170gCg6zgV
74mrAZpbFSuKRarn0HHDimk=
=drZh
-----END PGP SIGNATURE-----
--Kj7319i9nmIyA2yE--