From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EgqLs-0000QM-HE for qemu-devel@nongnu.org; Mon, 28 Nov 2005 16:15:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EgqLp-0000Ng-7G for qemu-devel@nongnu.org; Mon, 28 Nov 2005 16:15:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EgqLo-0000NU-AJ for qemu-devel@nongnu.org; Mon, 28 Nov 2005 16:15:52 -0500 Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1EgqLn-0008Pk-W0 for qemu-devel@nongnu.org; Mon, 28 Nov 2005 16:15:52 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EgqJF-0001VJ-0Y for qemu-devel@nongnu.org; Mon, 28 Nov 2005 22:13:13 +0100 Received: from vol75-6-82-228-67-28.fbx.proxad.net ([82.228.67.28]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Nov 2005 22:13:12 +0100 Received: from charpent by vol75-6-82-228-67-28.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Nov 2005 22:13:12 +0100 From: Emmanuel Charpentier Date: Mon, 28 Nov 2005 22:09:54 +0100 Message-ID: References: <20051128165951.GA28507@jbrown.mylinuxbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <20051128165951.GA28507@jbrown.mylinuxbox.org> Sender: news Subject: [Qemu-devel] Re: Problem compiling with gcc 3.3 on 2.6.14 (Debian) Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 2nd answer : news below. Jim C. Brown wrote: > 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). Compiling i386-softmmu works (and the resulting executable works well indeed, at least with kqemu). Compiling x86_64-softmmu gives a $#!+load of errors (I'll send a logif someone needs it). This does not allow to undrstand why the compilation of i386-user fails... Emmanuel Charpentier