From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DP0WE-0004Dg-V2 for qemu-devel@nongnu.org; Fri, 22 Apr 2005 11:56:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DP0WD-0004Ac-Cm for qemu-devel@nongnu.org; Fri, 22 Apr 2005 11:56:38 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DP0WD-00045P-Ac for qemu-devel@nongnu.org; Fri, 22 Apr 2005 11:56:37 -0400 Received: from [213.131.232.117] (helo=mail4.srv.syswebcom.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DP0Xo-000779-7i for qemu-devel@nongnu.org; Fri, 22 Apr 2005 11:58:16 -0400 Received: from localhost (localhost [127.0.0.1]) by mail4.srv.syswebcom.net (Postfix) with ESMTP id AFFC626FE43 for ; Fri, 22 Apr 2005 17:56:01 +0200 (CEST) Received: from mail4.srv.syswebcom.net ([127.0.0.1]) by localhost (mail4 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14018-02 for ; Fri, 22 Apr 2005 17:56:00 +0200 (CEST) Received: from smirftschs.home.tld (p54A93231.dip.t-dialin.net [84.169.50.49]) by mail4.srv.syswebcom.net (Postfix) with ESMTP id 393692895B3 for ; Fri, 22 Apr 2005 17:36:22 +0200 (CEST) Date: Fri, 22 Apr 2005 17:41:31 +0200 From: "developer@isl-gbr.de" Subject: Re: [Qemu-devel] X86_64 (AMD64) build segfaults Message-ID: <20050422174131.779509e3@smirftschs.home.tld> In-Reply-To: <1e4ee963664f770c5ba5890f3e66e469@elis.ugent.be> References: <20050421163413.37378212@smirftschs.home.tld> <200504211542.19046.paul@codesourcery.com> <20050421165923.0f4f1185@smirftschs.home.tld> <200504211601.52827.paul@codesourcery.com> <20050422165042.6da168de@smirftschs.home.tld> <1e4ee963664f770c5ba5890f3e66e469@elis.ugent.be> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 Hello Jonas, here is the output of the command you gave me for this function, does this help ? 0000000000001ab0 : 1ab0: 89 d8 mov %ebx,%eax 1ab2: 25 ff ff 00 00 and $0xffff,%eax 1ab7: 75 27 jne 1ae0 1ab9: eb 19 jmp 1ad4 1abb: 31 d2 xor %edx,%edx 1abd: 66 data16 1abe: 66 data16 1abf: 90 nop 1ac0: d1 f8 sar %eax 1ac2: ff c2 inc %edx 1ac4: a8 01 test $0x1,%al 1ac6: 74 f8 je 1ac0 1ac8: 41 89 d4 mov %edx,%r12d 1acb: c7 45 2c 01 00 00 00 movl $0x1,0x2c(%rbp) 1ad2: eb 07 jmp 1adb 1ad4: c7 45 2c 00 00 00 00 movl $0x0,0x2c(%rbp) 1adb: c3 retq 1adc: 66 data16 1add: 66 data16 1ade: 66 data16 1adf: 90 nop 1ae0: 31 d2 xor %edx,%edx 1ae2: a8 01 test $0x1,%al 1ae4: 75 e2 jne 1ac8 1ae6: eb d3 jmp 1abb 1ae8: 66 data16 1ae9: 66 data16 1aea: 66 data16 1aeb: 90 nop 1aec: 66 data16 1aed: 66 data16 1aee: 66 data16 1aef: 90 nop On Fri, 22 Apr 2005 17:01:27 +0200 Jonas Maebe wrote: > > On 22 apr 2005, at 16:50, developer@isl-gbr.de wrote: > > > dyngen: ret or jmp expected at the end of op_bsfw_T0_cc > > > > any ideas for that ? :) > > gcc 4.0 apparently performs some sort of optimization which is > incompatible with qemu's object parser. Post the code of that routine > to have people see what the problem is. To get it, do > > objdump -d target-i386/op.o |less > > search for op_bsfw_T0_cc and post the code of that routine. > > > Jonas > > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel