From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4WH4-00010K-Pv for qemu-devel@nongnu.org; Mon, 15 Jun 2015 11:26:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4WGz-0000yw-F6 for qemu-devel@nongnu.org; Mon, 15 Jun 2015 11:26:10 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:57854) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4WGy-0000yM-Pe for qemu-devel@nongnu.org; Mon, 15 Jun 2015 11:26:05 -0400 Message-ID: <557EEE89.2020604@vivier.eu> Date: Mon, 15 Jun 2015 17:26:01 +0200 From: Laurent Vivier MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PULL 0/6] linux-user patches for 2.4 softfreeze List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , Riku Voipio Cc: QEMU Developers Le 15/06/2015 17:14, Peter Maydell a écrit : > On 15 June 2015 at 13:20, wrote: >> From: Riku Voipio >> >> The following changes since commit 0a2df857a7038c75379cc575de5d4be4c0ac629e: >> >> Merge remote-tracking branch 'remotes/stefanha/tags/net-pull-request' into staging (2015-06-12 15:39:05 +0100) >> >> are available in the git repository at: >> >> git://git.linaro.org/people/riku.voipio/qemu.git tags/pull-linux-user-20150615 >> >> for you to fetch changes up to d2897da1f1e97d684f80ff62d473c31b79bc643a: >> >> linux-user: fix the breakpoint inheritance in spawned threads (2015-06-15 11:36:59 +0300) >> >> ---------------------------------------------------------------- >> linux-user patches for 2.4 softfreeze >> >> ---------------------------------------------------------------- > > I get a lot of build errors with clang: > > /home/petmay01/linaro/qemu-for-merges/linux-user/syscall.c:3610:10: > error: overflow > converting case value to switch condition type (3241737481 to > 18446744072656321801) > [-Werror,-Wswitch] > case DM_TABLE_LOAD: > ^ > /usr/include/linux/dm-ioctl.h:259:26: note: expanded from macro 'DM_TABLE_LOAD' > #define DM_TABLE_LOAD _IOWR(DM_IOCTL, DM_TABLE_LOAD_CMD, struct dm_ioctl) > ^ > /usr/include/asm-generic/ioctl.h:77:29: note: expanded from macro '_IOWR' > #define _IOWR(type,nr,size) > _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHE... > ^ > /usr/include/asm-generic/ioctl.h:66:2: note: expanded from macro '_IOC' > (((dir) << _IOC_DIRSHIFT) | \ > ^ > /home/petmay01/linaro/qemu-for-merges/linux-user/syscall.c:3606:10: > error: overflow > converting case value to switch condition type (3241737486 to > 18446744072656321806) > [-Werror,-Wswitch] > case DM_TARGET_MSG: > ^ > (etc etc for all the cases until clang gives up because it's emitted > too many errors). > > Guessing this is the result of the ioctl patch? Yes, I guess too. Could drop this patch out ? I will rework it. Laurent