Date: Thu, 27 Oct 2005 17:14:58 +0200 From: Ulrich Spoerlein <q@galgenberg.net> To: Alexander Leidinger <Alexander@Leidinger.net> Cc: emulation@freebsd.org Subject: Re: Porting linux-wine Message-ID: <20051027151458.GC1070@galgenberg.net> In-Reply-To: <20051027165956.yplku4x8gw804osc@netchild.homeip.net> References: <20051026123347.GA1054@galgenberg.net> <20051026150705.qzo2u74dgggcosss@netchild.homeip.net> <20051026133312.GB1054@galgenberg.net> <20051027100016.qpwre4w60woo088c@netchild.homeip.net> <20051027083827.GA1070@galgenberg.net> <20051027165956.yplku4x8gw804osc@netchild.homeip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--u65IjBhB3TIa72Vp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, 27.10.2005 at 16:59:56 +0200, Alexander Leidinger wrote:
> No, the FreeBSD ktrace records the FreeBSD (emulated) syscalls (we don't =
run
> on linux, we run translated syscalls on FreeBSD), so we need the FreeBSD
> kdump to read the FreeBSD ktrace output. Or did I got your question wrong?
There was a linux-kdump (or linux-ktrace) port once, that was necessary
to get the translated syscalls right, IIRC.
> >Btw, is ldd or linux-ldd supposed to work on linux binaries/libs?
>=20
> FreeBSD ldd could work... some @FreeBSD posted some (small) patches somew=
here
> which makes this work (or was it some other similar tool? ... argh, I lost
> the overview somewhere in the last month). I don't know if they are
> committed or not and if they are schedulled to get committed or not. Linux
> ldd has to work.
Don't know what to make of this:
% ldd /compat/linux/bin/bash
/compat/linux/bin/bash:
libtermcap.so.2 =3D> /lib/libtermcap.so.2 (0x480f1000)
libdl.so.2 =3D> /lib/libdl.so.2 (0x480f6000)
libc.so.6 =3D> /lib/libc.so.6 (0x480f9000)
/lib/ld-linux.so.2 =3D> /lib/ld-linux.so.2 (0x480db000)
% ldd /compat/linux/usr/bin/wine
/compat/linux/usr/bin/wine:
/compat/linux/usr/bin/wine: error while loading shared libraries: /usr/lib/=
libwine.so.1: ELF file OS ABI invalid
/compat/linux/usr/bin/wine: exit status 127
% sudo chroot /compat/linux /bin/bash
bash-2.05b# ldd /bin/bash
/usr/bin/ldd: line 1: /lib/ld-linux.so.2: cannot execute binary file
/usr/bin/ldd: line 1: /lib/ld-linux.so.2: cannot execute binary file
ldd: /lib/ld-linux.so.2 exited with unknown exit code (126)
bash-2.05b# ldd /usr/bin/wine
/usr/bin/ldd: line 1: /lib/ld-linux.so.2: cannot execute binary file
/usr/bin/ldd: line 1: /lib/ld-linux.so.2: cannot execute binary file
ldd: /lib/ld-linux.so.2 exited with unknown exit code (126)
Ulrich Spoerlein
--=20
PGP Key ID: F0DB9F44 Encrypted mail welcome!
Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44
Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn."
didn't you understand?
--u65IjBhB3TIa72Vp
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
iD8DBQFDYO7ymArGtfDbn0QRAvozAJ96chmljr2mAOPep1kuyu4RAVlyXACgtrb8
7mP7RRZMd3muxHBagrgwgVY=
=Hd/M
-----END PGP SIGNATURE-----
--u65IjBhB3TIa72Vp--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051027151458.GC1070>
