From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NB6mO-0003qV-Gp for qemu-devel@nongnu.org; Thu, 19 Nov 2009 08:10:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NB6mJ-0003m9-3o for qemu-devel@nongnu.org; Thu, 19 Nov 2009 08:10:31 -0500 Received: from [199.232.76.173] (port=58282 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NB6mI-0003lz-Uh for qemu-devel@nongnu.org; Thu, 19 Nov 2009 08:10:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:23238) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NB6mI-0001UR-GA for qemu-devel@nongnu.org; Thu, 19 Nov 2009 08:10:26 -0500 Message-ID: <4B0543BC.50909@redhat.com> Date: Thu, 19 Nov 2009 15:10:20 +0200 From: Avi Kivity MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Issues building seabios List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin O'Connor Cc: qemu-devel , KVM list Trying to debug the cdrom issue, I see Compiling whole program out/ccode32.o src/util.c: In function =E2=80=98__end_thread=E2=80=99: src/util.c:183: internal compiler error: in simplify_subreg, at=20 simplify-rtx.c:5055 (with F12's gcc (GCC) 4.4.2 20091027 (Red Hat 4.4.2-7)) The issue seems to be with the pos variable; removing everything except=20 the declaration + initialization retains the error, converting the=20 variable to static removes it. Presumably you've seen many of these? With that out of the way, I get: Linking (no relocs) out/rom32.o Linking (no relocs) out/rom16.o Linking out/rom.o `cdemu_drive' referenced in section `.text32' of out/rom32.o: defined in=20 discarded section `.discard.var16.src/cdrom.c.107' of out/rom32.o `cdemu_drive' referenced in section `.text32' of out/rom32.o: defined in=20 discarded section `.discard.var16.src/cdrom.c.107' of out/rom32.o `cdemu_drive' referenced in section `.text32' of out/rom32.o: defined in=20 discarded section `.discard.var16.src/cdrom.c.107' of out/rom32.o Given we're chasing a cdom related problem, this is suspicious, even=20 though we aren't using cdemu. Presumably access to uninitialized memory=20 can confuse disk.c. out/rom32.o: In function `check_irqs32': /build/home/tlv/akivity/qemu-kvm/roms/seabios/src/util.c:109: undefined=20 reference to `trampoline_checkirqs' No idea where that came from. --=20 error compiling committee.c: too many arguments to function