From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IsORX-0003vu-0P for qemu-devel@nongnu.org; Wed, 14 Nov 2007 15:02:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IsORV-0003tm-6A for qemu-devel@nongnu.org; Wed, 14 Nov 2007 15:02:34 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IsORU-0003tU-Us for qemu-devel@nongnu.org; Wed, 14 Nov 2007 15:02:32 -0500 Received: from moutng.kundenserver.de ([212.227.126.171]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IsORU-0001lT-8j for qemu-devel@nongnu.org; Wed, 14 Nov 2007 15:02:32 -0500 Message-ID: <473B5454.2020307@mail.berlios.de> Date: Wed, 14 Nov 2007 21:02:28 +0100 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Fix TLS support on x86 References: <46696500.5020406@suse.de> <20070618192139.GK19155@networkno.de> <467958F6.2070804@suse.de> <20070621225550.GB25967@networkno.de> <1801E7EE-FF0A-4A43-88ED-4503DEBBC831@suse.de> <20070621231612.GC25967@networkno.de> <4688CCFC.3000100@suse.de> <4739F095.7030109@mail.berlios.de> <1194979605.918.19.camel@phantasm.home.enterpriseandprosperity.com> <473A218A.6090202@bellard.org> In-Reply-To: <473A218A.6090202@bellard.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Fabrice Bellard schrieb: > On Tue, 2007-11-13 at 19:44 +0100, Stefan Weil wrote: >>> Hi, >>> >>> I'd like to test user mode emulation on MIPS host. >>> >>> Do you have newer versions of your patches which match >>> current CVS HEAD? TLS support is still missing there, >>> so QEMU user mode emulation is not really usable without >>> working patches. >> I don't know about anyone else, but I have some patches for TLS for arm >> and i386. The patches are significantly out of date with the recent >> linux-user changes. I won't be updating them until I finish with the >> current set of changes to linux-user. > > I'll try to merge and improve the i386 TLS patch ASAP. > > Moreover, after having looked again at the linux-user code and at the > regression tests, my conclusion is that the linux-user QEMU targets must > be statically linked and that it should not depend on host libraries > such as the C library. > > Fabrice. Thank you, Fabrice. With your latest changes in QEMU CVS, the user mode emulation qemu-i386 works again: * i386 host: statically linked hello, Debian echo, Debian top, Debian ls ok * mips host (le and be QEMU Malta emulation): statically linked hello, Debian echo, Debian top ok Debian ls fails (segmentation fault) Debian top complains about 2.4+ kernel w/o ELF notes - this might be a missing feature in the linux user mode emulation. Mips hosts need patches (published but still missing in CVS HEAD) for user mode emulation. Regards Stefan