From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:47028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RutFw-0002EZ-IY for qemu-devel@nongnu.org; Tue, 07 Feb 2012 17:11:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RutFt-0001AF-V3 for qemu-devel@nongnu.org; Tue, 07 Feb 2012 17:11:20 -0500 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:33305) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RutFt-0001A3-Ll for qemu-devel@nongnu.org; Tue, 07 Feb 2012 17:11:17 -0500 Message-ID: <4F31A183.2050608@weilnetz.de> Date: Tue, 07 Feb 2012 23:11:15 +0100 From: Stefan Weil MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Sanity List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: malc Cc: qemu-devel@nongnu.org Am 07.02.2012 19:22, schrieb malc: > This is a 32bit machine, the target is i386-softmmu, yet, > libhw32 is mostly empty and libhw64 is populated, furthermore[1]: > > $ rm libhw64/ac97.o > $ make V=3D1 > make BUILD_DIR=3D/home/malc/x/bld/qemu/master -C libhw64 V=3D"1" TARGE= T_DIR=3D"libhw64/" all > make[1]: Entering directory `/home/malc/x/bld/qemu/master/libhw64' > ccache gcc -fno-working-directory -I/home/malc/x/rcs/git/qemuorg/slirp = -I. -I/home/malc/x/rcs/git/qemuorg -I/home/malc/x/rcs/git/qemuorg/fpu -We= rror -D_FORTIFY_SOURCE=3D2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=3D64 -D_LARG= EFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-= strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all = -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wfor= mat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-de= claration -Wold-style-definition -Wtype-limits -I/usr/include/libpng14 = -DTARGET_PHYS_ADDR_BITS=3D64 -I.. -pthread -I/usr/include/glib-2.0 -I/usr= /lib/glib-2.0/include -I/home/malc/x/rcs/git/qemuorg/include -pthread -= I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MMD -MP -MT ac97.o = -MF ./ac97.d -O -g -U_FORTIFY_SOURCE -fno-stack-protector -c -o ac97.o /= home/malc/x/rcs/git/qemuorg/hw/ac97.c > make[1]: Leaving directory `/home/malc/x/bld/qemu/master/libhw64' > > Why does it say the same thing many times (-pthread -I/usr/include/glib= -2.0...), > is gcc suffering from ADD or something? > > [1] Just an example. > > =20 That's caused by too many of these statements: QEMU_CFLAGS+=3D$(GLIB_CFLAGS) It should be removed from Makefile.objs and added to Makefile.dis and Makefile.user.