From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bD8z8-0007zu-Aw for qemu-devel@nongnu.org; Wed, 15 Jun 2016 07:27:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bD8z3-0007Tl-4o for qemu-devel@nongnu.org; Wed, 15 Jun 2016 07:27:49 -0400 Received: from chuckie.co.uk ([82.165.15.123]:49403 helo=s16892447.onlinehome-server.info) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bD8z2-0007TD-UA for qemu-devel@nongnu.org; Wed, 15 Jun 2016 07:27:45 -0400 References: <5761004A.6010101@ilande.co.uk> <20160615094816.ed776xyjbe2zxasq@hawk.localdomain> <5761291A.3040905@ilande.co.uk> <20160615102303.vq3n76hfi3ugtjeb@hawk.localdomain> From: Mark Cave-Ayland Message-ID: <57613B7D.2060509@ilande.co.uk> Date: Wed, 15 Jun 2016 12:26:53 +0100 MIME-Version: 1.0 In-Reply-To: <20160615102303.vq3n76hfi3ugtjeb@hawk.localdomain> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] git master build failure List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andrew Jones Cc: Peter Maydell , qemu-devel On 15/06/16 11:23, Andrew Jones wrote: >> Is that from a clean clone of the repository? I wonder if a change to a >> generated file isn't being picked up somewhere by "make distclean". My >> standard build script is this: > > Not a clean clone, but a clean build dir. I build in a separate build dir. > mkdir builddir > cd builddir > ../srcdir/configure ... > make > >> >> make distclean >> './configure' '--target-list=x86_64-softmmu sparc64-softmmu >> sparc-softmmu ppc-softmmu arm-softmmu' '--disable-pie' > > Tried this config and still compiles for me. I've just tried it again using a git clone into a fresh directory and an out-of-tree build similar to as you did above and I still get the failure: cc -I/home/build/src/qemu/git/x/qemu/tcg -I/home/build/src/qemu/git/x/qemu/tcg/i386 -I/home/build/src/qemu/git/x/qemu/linux-headers -I/home/build/src/qemu/git/x/build/linux-headers -I. -I/home/build/src/qemu/git/x/qemu -I/home/build/src/qemu/git/x/qemu/include -I/home/build/src/qemu/git/x/qemu/target-ppc -Itarget-ppc -I/usr/include/pixman-1 -I/home/build/src/qemu/git/x/qemu/dtc/libfdt -Werror -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-all -I/usr/include/p11-kit-1 -I/usr/include/libpng12 -I../linux-headers -I.. -I/home/build/src/qemu/git/x/qemu/target-ppc -DNEED_CPU_H -I/home/build/src/qemu/git/x/qemu/include -MMD -MP -MT target-ppc/timebase_helper.o -MF target-ppc/timebase_helper.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -c -o target-ppc/timebase_helper.o /home/build/src/qemu/git/x/qemu/target-ppc/timebase_helper.c /home/build/src/qemu/git/x/qemu/hw/arm/virt.c: In function ‘virt_2_6_class_init’: /home/build/src/qemu/git/x/qemu/hw/arm/virt.c:1509:5: error: array subscript is above array bounds [-Werror=array-bounds] cc1: all warnings being treated as errors make[1]: *** [hw/arm/virt.o] Error 1 make[1]: Leaving directory `/home/build/src/qemu/git/x/build/arm-softmmu' make: *** [subdir-arm-softmmu] Error 2 Not sure if it's a contributing factor but my standard make invocation tries to build with 2 cores once configure has run, i.e. "make V=1 -j2 install". ATB, Mark.