From owner-freebsd-emulation@FreeBSD.ORG Thu Oct 27 15:15:06 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C28916A41F for ; Thu, 27 Oct 2005 15:15:06 +0000 (GMT) (envelope-from q@galgenberg.net) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBA1943D45 for ; Thu, 27 Oct 2005 15:15:03 +0000 (GMT) (envelope-from q@galgenberg.net) Received: from wrzx30.rz.uni-wuerzburg.de (wrzx30.rz.uni-wuerzburg.de [132.187.1.30]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 2625913F502; Thu, 27 Oct 2005 17:15:01 +0200 (CEST) Received: from virusscan (localhost [127.0.0.1]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id 0D0F49EFC4; Thu, 27 Oct 2005 17:15:01 +0200 (CEST) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id DD22C9EF9B; Thu, 27 Oct 2005 17:15:00 +0200 (CEST) Received: from frodo.galgenberg.net (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 9BDE213F532; Thu, 27 Oct 2005 17:15:00 +0200 (CEST) Received: from coyote.q.local (gb-21-237.galgenberg.net [172.16.21.237]) by frodo.galgenberg.net (8.13.1/8.13.1) with ESMTP id j9RFF0gP022729; Thu, 27 Oct 2005 17:15:00 +0200 (CEST) (envelope-from q@galgenberg.net) Received: from roadrunner.q.local (roadrunner.q.local [192.168.0.148]) by coyote.q.local (8.13.4/8.13.4) with ESMTP id j9RFExPp081949; Thu, 27 Oct 2005 17:14:59 +0200 (CEST) (envelope-from q@galgenberg.net) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.4/8.13.4) with ESMTP id j9RFEx1k003022; Thu, 27 Oct 2005 17:14:59 +0200 (CEST) (envelope-from q@galgenberg.net) Received: (from q@localhost) by roadrunner.q.local (8.13.4/8.13.4/Submit) id j9RFExNf003021; Thu, 27 Oct 2005 17:14:59 +0200 (CEST) (envelope-from q@galgenberg.net) Date: Thu, 27 Oct 2005 17:14:58 +0200 From: Ulrich Spoerlein To: Alexander Leidinger Message-ID: <20051027151458.GC1070@galgenberg.net> Mail-Followup-To: Alexander Leidinger , emulation@freebsd.org 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u65IjBhB3TIa72Vp" Content-Disposition: inline In-Reply-To: <20051027165956.yplku4x8gw804osc@netchild.homeip.net> X-Virus-Scanned: by amavisd-new (Rechenzentrum Universitaet Wuerzburg) Cc: emulation@freebsd.org Subject: Re: Porting linux-wine X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2005 15:15:06 -0000 --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--