Subject: Re: Re: 'Abort' when using compat_netbsd32
To: Paulo Alexandre Pinto Pires <p@ppires.org>
From: Joel CARNAT <joel@carnat.net>
List: port-amd64
Date: 08/01/2005 22:09:47
--xHFwDpU9dbj6ez1V
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 01 2005 - 16:51, Paulo Alexandre Pinto Pires wrote:
> On Mon, Aug 01, 2005 at 09:18:05PM +0200, Joel CARNAT wrote:
> > ,
> >=20
> > I'm trying to see if apps (from netbsd/i386) work in netbsd/amd64.
> > I installed netbsd32_compat16-1.0nb1, from pkgsrc, then untared static-
> > bash-2.05.2.7nb5.tgz, from
> > /pub/NetBSD/packages/pkgsrc-2005Q2/NetBSD-1.6.2/i386/All/static-bash-2.=
05.2.7nb5.tgz,
> > into /emul/netbsd32.
> > When I try to start it, it doesn't :
> > $ pwd
> > /usr/pkg/emul/netbsd32/bin
> > $ file bash
> > bash: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
> > NetBSD, statically linked, stripped
> > $ ./bash
> > Abort=20
> > $ ldd bash
> > ldd: bash: unrecognized file format
> >=20
> > I'm using GENERIC (from NetBSD-daily) and it seems it has all the
> > required things :
> > $ strings /netbsd | egrep 'COMPAT_16|COMPAT_NETBSD32'
> > _CFG_options \011COMPAT_16\011# NetBSD 1.6,
> > _CFG_options \011COMPAT_NETBSD32
> >=20
> > What do I miss ?
> > What is the way to run things from the pkgsrc repository ?
>=20
> Make sure you have /emul/netbsd32/libexec/ld.elf_so right, as
> well as symbolic links in /emul/netbsd32/usr/lib that point to
> /emul/netbsd32/lib or, preferrably, to ../../lib.
>=20

hum... I have untared (tar xvzpf) base.tgz in /emul/netbsd32 and made
the link (reverse from what you say because /emul/netbsd32/usr/lib
already existed), but it's not better :(

even the `ls` commad from base.tgz fails running.
isn't there anything to mount, like linuxproc for compat_linux that I
may be missing ?


--xHFwDpU9dbj6ez1V
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQFC7oGL0/VH7L7F7Y4RAq3aAJ44OgfR3zw+k5YC4gLROPsC2UkMjACeP5dc
3cigqMxYRbIeAem1dEJXrRk=
=h2IF
-----END PGP SIGNATURE-----

--xHFwDpU9dbj6ez1V--