Re: [Qemu-devel] Problem compiling with gcc 3.3 on 2.6.14 (Debian)

2005-11-28 Thread Jim C. Brown
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.


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] Problem compiling with gcc 3.3 on 2.6.14 (Debian)

2005-11-28 Thread Natalia Portillo

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Just, I think, it is trying to link with libm.a, that is compiled  
using GCC 4.0, so, the fail.


Doesn't your distro have a gcc_select?

I use it in MacOS X to change between GCC 3.3 and GCC 4.0 and it also  
changes default library locations so statically they never get linked  
with different ABIs.


El 28/11/2005, a las 16:59, Jim C. Brown escribió:


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.


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDi11ySOHwOb87puQRAo39AKCMHYdlR4Gw2Z5+yQdH7goYK0frBACfZzsw
Fp5c0p5BIhHIfwjVh65KGqI=
=Esmf
-END PGP SIGNATURE-


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel