From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7y8F-0006G4-Eh for qemu-devel@nongnu.org; Wed, 14 Mar 2012 20:01:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7y7u-0001LY-V1 for qemu-devel@nongnu.org; Wed, 14 Mar 2012 20:01:27 -0400 Received: from cantor2.suse.de ([195.135.220.15]:40673 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7y7u-0001LM-OQ for qemu-devel@nongnu.org; Wed, 14 Mar 2012 20:01:06 -0400 Message-ID: <4F613140.60603@suse.de> Date: Thu, 15 Mar 2012 01:01:04 +0100 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: <20120315001604.8FAA94010F@buildbot.b1-systems.de> In-Reply-To: <20120315001604.8FAA94010F@buildbot.b1-systems.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] buildbot failure in qemu on default_s390 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org, gollub@b1-systems.de, qemu@buildbot.b1-systems.de, agraf@suse.de, lcapitulino@redhat.com Am 15.03.2012 01:16, schrieb qemu@buildbot.b1-systems.de: > The Buildbot has detected a new failure on builder default_s390 while b= uilding qemu. > Full details are available at: > http://buildbot.b1-systems.de/qemu/builders/default_s390/builds/190 >=20 > Buildbot URL: http://buildbot.b1-systems.de/qemu/ >=20 > Buildslave for this Build: qemu-s390.opensuse.org >=20 > Build Reason: The Nightly scheduler named 'nightly_default' triggered t= his build > Build Source Stamp: [branch master] HEAD > Blamelist:=20 >=20 > BUILD FAILED: failed compile Sorry... CC lm32-softmmu/arch_init.o In file included from /home/build/qemu/default_s390/build/qemu-common.h:1= 23, from /home/build/qemu/default_s390/build/monitor.h:4, from /home/build/qemu/default_s390/build/arch_init.c:32: /home/build/qemu/default_s390/build/target-lm32/cpu.h:185: error: redefinition of typedef 'CPULM32State' /home/build/qemu/default_s390/build/target-lm32/cpu.h:31: error: previous declaration of 'CPULM32State' was here make[1]: *** [arch_init.o] Error 1 make: *** [subdir-lm32-softmmu] Error 2 My GCC handles the following code fine: typedef struct CPULM32State CPULM32State; typedef struct CPULM32State { // ... } CPULM32State; Solutions would be to a) drop the second typedef, b) use struct CPULM32State, c) move the function using it to after the second typedef. Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer; HRB 16746 AG N=C3=BC= rnberg