From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HTijF-0004VF-1u for qemu-devel@nongnu.org; Tue, 20 Mar 2007 14:06:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HTijE-0004V3-Gs for qemu-devel@nongnu.org; Tue, 20 Mar 2007 14:06:36 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HTijE-0004V0-AE for qemu-devel@nongnu.org; Tue, 20 Mar 2007 13:06:36 -0500 Received: from grayson.netsweng.com ([207.235.77.11]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HTihT-0001Wk-5x for qemu-devel@nongnu.org; Tue, 20 Mar 2007 14:04:47 -0400 Received: from amavis by grayson.netsweng.com with scanned-ok (Exim 3.36 #1 (Debian)) id 1HTigo-00021Z-00 for ; Tue, 20 Mar 2007 14:04:06 -0400 Received: from grayson.netsweng.com ([127.0.0.1]) by localhost (grayson.netsweng.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5pKR2zFs38yu for ; Tue, 20 Mar 2007 14:03:48 -0400 (EDT) Received: from h211.241.141.67.ip.alltel.net ([67.141.241.211] helo=trantor.stuart.netsweng.com) by grayson.netsweng.com with esmtp (Exim 3.36 #1 (Debian)) id 1HTigV-00021P-00 for ; Tue, 20 Mar 2007 14:03:48 -0400 Date: Tue, 20 Mar 2007 14:03:23 -0400 (EDT) From: Stuart Anderson Subject: Re: [Qemu-devel] [PATCH] fcntl64 fix In-Reply-To: <20070320171103.GA20530@localhost.localdomain> Message-ID: References: <20070309215335.GB5629@localhost.localdomain> <20070319171303.GE28895@networkno.de> <20070320114315.GA26019@localhost.localdomain> <20070320135910.GA18571@localhost.localdomain> <20070320171103.GA20530@localhost.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 On Tue, 20 Mar 2007, Kirill A. Shutemov wrote: >> What are you using as a test app? > > I got error when runing Debian's apt-get and tried to fix it. OK, that's what got me started on this one, but I switched to using the ltp-kernel-test package for a more comprehensive set of tests once I got past that first eabi structure change. >> I think that remapping the constants >> is needed, but I'm just curious how we seem to be coming up with different >> parts of the fix when we have the same target/host combination. > > I'm not sure that I understand you... On the arm/x86_64 combination, I think the host & target cmd values are the same, so the remapping is a noop. It may be needed for other combinations though. Some architectures have very different values for constants like this in their ABI. I was trying to understand how your fix made apt-get/dpkg happy, or if you were just using a different app that was hitting a different case for fcntl(). Stuart Stuart R. Anderson anderson@netsweng.com Network & Software Engineering http://www.netsweng.com/ 1024D/37A79149: 0791 D3B8 9A4C 2CDC A31F BD03 0A62 E534 37A7 9149