From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EaZSB-0000qL-Ih for qemu-devel@nongnu.org; Fri, 11 Nov 2005 09:00:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EaZS8-0000oP-G8 for qemu-devel@nongnu.org; Fri, 11 Nov 2005 09:00:29 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EaZS1-0000nx-Mq for qemu-devel@nongnu.org; Fri, 11 Nov 2005 09:00:25 -0500 Received: from [194.31.246.51] (helo=typhon.tcc-chemnitz.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EaZS1-0006aQ-B6 for qemu-devel@nongnu.org; Fri, 11 Nov 2005 09:00:21 -0500 Received: from comserver.tbzpariv.tcc-chemnitz.de (tbzpariv-gw-dmz1.tcc-chemnitz.de [192.168.1.203]) by typhon.tcc-chemnitz.de (Postfix) with ESMTP id A3C684C807 for ; Fri, 11 Nov 2005 15:00:19 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by comserver.tbzpariv.tcc-chemnitz.de (Postfix) with ESMTP id 6B6B08B314 for ; Fri, 11 Nov 2005 15:00:19 +0100 (CET) Received: from comserver.tbzpariv.tcc-chemnitz.de ([127.0.0.1]) by localhost (thomson [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17538-05 for ; Fri, 11 Nov 2005 15:00:18 +0100 (CET) Received: from coy.tbz-pariv.lan (coy.tbz-pariv.lan [172.17.6.27]) by comserver.tbzpariv.tcc-chemnitz.de (Postfix) with ESMTP id 0FCA08B312 for ; Fri, 11 Nov 2005 15:00:18 +0100 (CET) From: Mario Goppold Subject: [SOLVED] Re: [Qemu-devel] 32bit emulation in x86_64 System emulation Date: Fri, 11 Nov 2005 15:00:16 +0100 References: <200510270837.04842.mgoppold@tbz-pariv.de> In-Reply-To: <200510270837.04842.mgoppold@tbz-pariv.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511111500.17093.mgoppold@tbz-pariv.de> 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 Hi list, i have found some partial solutions for my problem: 1st: write a script for individual programs #!/bin/sh export LD_ASSUME_KERNEL=2.4 # this disables tls a.out # or some useful 2nd: disable thread-local storage (tls) for 32-bit programs mv /lib/tls /lib/tls.disabled ldconfig Mario. Am Donnerstag, 27. Oktober 2005 08:37 schrieb Mario Goppold: > Hi list, > > I've tried to install SuSE92 x68_64 as guest (qemu 0.7.2 with and without > kqemu). During the install grub terminates with core. But not only grub > terminates: > > #include > int main() { > printf("Hallo Welt!\n"); > return 0; > } > > gcc a.c ; ./a.out is ok but > gcc -m32 a.c; ./a.out Segmentation fault (core dumped) > > with gdb: > Core was generated by `./a.out'. > Program terminated with signal 11, Segmentation fault. > > warning: current_sos: Can't read pathname for load map: Input/output > error > > Reading symbols from /lib/tls/libc.so.6...done. > Loaded symbols for /lib/tls/libc.so.6 > Reading symbols from /lib/ld-linux.so.2...done. > Loaded symbols for /lib/ld-linux.so.2 > #0 0x5568aff4 in ?? () from /lib/tls/libc.so.6 > (gdb) where > #0 0x5568aff4 in ?? () from /lib/tls/libc.so.6 > #1 0x555d4bf3 in _IO_file_stat_internal () from /lib/tls/libc.so.6 > #2 0x555d4bf3 in _IO_file_stat_internal () from /lib/tls/libc.so.6 > #3 0x555ca494 in _IO_file_doallocate_internal () from /lib/tls/libc.so.6 > #4 0x555d77be in _IO_doallocbuf_internal () from /lib/tls/libc.so.6 > #5 0x555d550a in _IO_new_file_overflow () from /lib/tls/libc.so.6 > #6 0x555d49fd in _IO_new_file_xsputn () from /lib/tls/libc.so.6 > #7 0x555b25e8 in vfprintf () from /lib/tls/libc.so.6 > #8 0x555ba7b0 in printf () from /lib/tls/libc.so.6 > #9 0x080483e0 in main () at a.c:4 > > What's worng? Outside of qemu it works fine. > In the meantime i've found out that's not (only) a SuSE problem: > > SuSE92, SuSE93, SuSE10, FC4 fails but Ubuntu 5.10 works fine (all in > x86_64). > > Have anyone see this behaviour. What can i do? > > Mario > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel