From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=48559 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEmIX-0005FI-OB for qemu-devel@nongnu.org; Wed, 19 May 2010 12:39:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OEmIT-0002J9-UZ for qemu-devel@nongnu.org; Wed, 19 May 2010 12:39:09 -0400 Received: from hall.aurel32.net ([88.191.82.174]:46107) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEmIT-0002Iw-Le for qemu-devel@nongnu.org; Wed, 19 May 2010 12:39:05 -0400 Date: Wed, 19 May 2010 18:38:50 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] Latest git does not compile target_to_host_rlim() Message-ID: <20100519163850.GA31237@volta.aurel32.net> References: <4BF3D0C7.7000600@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4BF3D0C7.7000600@gmail.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Riccardo Magliocchetti Cc: qemu-devel@nongnu.org, takasi-y@ops.dti.ne.jp On Wed, May 19, 2010 at 01:51:35PM +0200, Riccardo Magliocchetti wrote: > Hello, > > latest git does not compile on debian sid 32 bit (kernel 64 bit), > gcc 4.4.4: > > CC alpha-linux-user/syscall.o > cc1: warnings being treated as errors > /home/rm/src/qemu/linux-user/syscall.c: In function ‘target_to_host_rlim’: > /home/rm/src/qemu/linux-user/syscall.c:836: error: integer constant > is too large for ‘unsigned long’ type > /home/rm/src/qemu/linux-user/syscall.c: In function ‘host_to_target_rlim’: > /home/rm/src/qemu/linux-user/syscall.c:845: error: integer constant > is too large for ‘unsigned long’ type > I have just committed a patch to fix the problem. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net