On Fri, 2008-12-05 at 09:27 +0100, paolo pedaletti wrote: > Ciao Malinka, > > > your -mcpu=i686 specifically tells gcc to compile for 32-bit cpu you > > need to use something like > > -march=k8 or -mtune=k8 usually > > ok, I can understand it, but I thought that it was enough to run > ./compile > to obtain the correct Makefile with the right cpu-option > > >> [EMAIL PROTECTED]:/usr/src/kvm-79# ./configure > >> Source path /usr/src/kvm-79/qemu > >> C compiler gcc > >> Host C compiler gcc > >> ARCH_CFLAGS -m64 > >> make make > >> install install > >> host CPU x86_64 > >> host big endian no > >> target list x86_64-softmmu > > so ./compile detect the right cpu/options
This output is from qemu's configure script, so applies only within the qemu directory, and you seem to be having trouble with libkvm. > >> [EMAIL PROTECTED]:/usr/src/kvm-79# make > >> make -C libkvm > >> make[1]: Entering directory `/usr/src/kvm-79/libkvm' > >> gcc -march=i686 -mcpu=i686 -malign-functions=4 -O2 -m64 > >> -D__x86_64__ -MMD -MF ./.libkvm-x86.d -g -fomit-frame-pointer -Wall > >> -fno-stack-protector -I /usr/src/kvm-79/kernel/include -c -o > >> libkvm-x86.o libkvm-x86.c > > but the Makefile is wrong I don't see arch=, cpu=, nor i686 anywhere in the libkvm build scripts. Could you have a shell alias or some other strangeness on your system that is adding those i686 options? -- Hollis Blanchard IBM Linux Technology Center -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
