From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EgmMM-0000Wk-Cb for qemu-devel@nongnu.org; Mon, 28 Nov 2005 12:00:10 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EgmMK-0000WH-7J for qemu-devel@nongnu.org; Mon, 28 Nov 2005 12:00:09 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EgmMJ-0000W0-Mz for qemu-devel@nongnu.org; Mon, 28 Nov 2005 12:00:07 -0500 Received: from [128.8.10.163] (helo=po1.wam.umd.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EgmMJ-0006WY-A7 for qemu-devel@nongnu.org; Mon, 28 Nov 2005 12:00:07 -0500 Date: Mon, 28 Nov 2005 11:59:52 -0500 From: "Jim C. Brown" Subject: Re: [Qemu-devel] Problem compiling with gcc 3.3 on 2.6.14 (Debian) Message-ID: <20051128165951.GA28507@jbrown.mylinuxbox.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Emmanuel Charpentier Cc: qemu-devel@nongnu.org On Mon, Nov 28, 2005 at 09:46:02AM +0100, Emmanuel Charpentier wrote: > Dear List, > > I recently upgraded to Linux 2.6.14 (as compiled as a 686 Debian > package), and found that this distribution, too, has switched to GCC 4 > for kernel. > > I tried to recompile a plain vanilla qemu 0.7.2 tarball : I switched to > gcc 3.3 for this (in /usr/bin : ln -sf gcc-3.3 gcc ; ln -sf gccbug-3.3 > gccbug ; ln -sf cpp-3.3 cpp ), planning to switch back to GCC 4 for > recompilation of the kqemu subdirectory. This failed. > Strange. Haven't heard of this one before. Compiling the kqemu module should use the same compiler that the kernel uses anyways. It doesn't use the same one that qemu uses, but the one in the kernel's Makefile. I also notice that your error seems to be with qemu-i386. This binary doesn't use kqemu at all, so either don't use kqemu (if all you care about is i386-user) or compile i386-softmmu only (if you want to use kqemu and don't care aboui i386-user). It is hard to make out the problem when the error messages aren't in english, btw. -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.