* qemu-kvm 0.12.1 undefined reference to `kvm_save_mpstate'
@ 2009-12-21 0:24 Mikolaj Kucharski
2009-12-24 11:00 ` Mikolaj Kucharski
0 siblings, 1 reply; 3+ messages in thread
From: Mikolaj Kucharski @ 2009-12-21 0:24 UTC (permalink / raw)
To: kvm
Hi,
Just downloaded kvm 0.12.1 and used Fedora's qemu.spec file after
removing all patches from the spec file to create packages.
Compilation failed at compiling i386-softmmu with errors:
rm -f libqemu.a && ar rcs libqemu.a exec.o cpu-exec.o translate-all.o translate.o tcg/tcg.o fpu/softfloat-native.o op_helper.o helper.o disas.o i386-dis.o
gcc -I/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1/slirp -m32 -Wold-style-definition -Wold-style-declaration -I. -I/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1 -U_FORTIFY_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -O2 -g -march=i386 -mtune=i686 -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1/fpu -I/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1/tcg -I/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1/tcg/i386 -I.. -I/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1/target-i386 -DNEED_CPU_H -O2 -g -Wl,--warn-common -m32 -g -Wl,--build-id -o qemu vl.o async.o monitor.o pci.o pci_host.o pcie_host.o mac
hine.o gdbstub.o virtio-blk.o virtio-balloon.o virtio-net.o virtio-console.o virtio-pci.o msix.o eepro100.o pcnet.o rtl8139.o e1000.o ide/core.o ide/qdev.o ide/isa.o ide/pci.o ide/piix.o pckbd.o sb16.o es1370.o ac97.o dma.o vga.o vga-pci.o vga-isa.o fdc.o mc146818rtc.o serial.o i8259.o i8254.o pcspk.o pc.o cirrus_vga.o apic.o ioapic.o parallel.o acpi.o piix_pci.o usb-uhci.o vmmouse.o vmport.o vmware_vga.o hpet.o device-hotplug.o pci-hotplug.o smbios.o wdt_ib700.o extboot.o ne2000-isa.o testdev.o -Wl,--whole-archive ../libqemu_common.a libqemu.a ../libhw32/libqemuhw32.a -Wl,--no-whole-archive -lrt -lpthread -lutil -lpci -lz -lncurses -lasound -lpulse -lpulse-simple -lsasl2 -lgnutls -lSDL -lpthread -lX11 -lm -lz
monitor.o: In function `mon_get_cpu':
/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1/monitor.c:680: undefined reference to `kvm_save_mpstate'
monitor.o: In function `do_info_cpus':
/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1/monitor.c:783: undefined reference to `kvm_save_mpstate'
machine.o: In function `cpu_pre_save':
/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1/target-i386/machine.c:326: undefined reference to `kvm_save_mpstate'
collect2: ld returned 1 exit status
make[1]: *** [qemu] Error 1
make[1]: Leaving directory `/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1/i386-softmmu'
make: *** [subdir-i386-softmmu] Error 2
I've uploaded src.rpm package and the log here:
http://www3.kucharski.name/pub/fedora/kvm/SRPMS/
I'm trying to test newest version of qemu-kvm against RedHat's bz
#508801 so I want to keep changes to the qemu.spec file to the minimum.
Does anyone know how to resolve this compilation error?
References
1. http://cvs.fedoraproject.org/viewvc/rpms/qemu/devel/
2. https://bugzilla.redhat.com/show_bug.cgi?id=508801
--
best regards
q#
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: qemu-kvm 0.12.1 undefined reference to `kvm_save_mpstate'
2009-12-21 0:24 qemu-kvm 0.12.1 undefined reference to `kvm_save_mpstate' Mikolaj Kucharski
@ 2009-12-24 11:00 ` Mikolaj Kucharski
2009-12-24 11:54 ` Avi Kivity
0 siblings, 1 reply; 3+ messages in thread
From: Mikolaj Kucharski @ 2009-12-24 11:00 UTC (permalink / raw)
To: kvm
Hi,
I have the same issue with 0.12.1.1. You can try to reproduce the
problem by running:
./configure --target-list=i386-softmmu --disable-kvm
make V=1
Only i386-softmmu and x86_64-softmmu are affected by --disable-kvm:
Target i386-softmmu: failure
Target x86_64-softmmu: failure
Target arm-softmmu: success
Target cris-softmmu: success
Target m68k-softmmu: success
Target mips-softmmu: success
Target mipsel-softmmu: success
Target mips64-softmmu: success
Target mips64el-softmmu: success
Target ppc-softmmu: success
Target ppcemb-softmmu: success
Target ppc64-softmmu: success
Target sh4-softmmu: success
Target sh4eb-softmmu: success
Target sparc-softmmu: success
--
best regards
q#
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: qemu-kvm 0.12.1 undefined reference to `kvm_save_mpstate'
2009-12-24 11:00 ` Mikolaj Kucharski
@ 2009-12-24 11:54 ` Avi Kivity
0 siblings, 0 replies; 3+ messages in thread
From: Avi Kivity @ 2009-12-24 11:54 UTC (permalink / raw)
To: Mikolaj Kucharski, kvm
On 12/24/2009 01:00 PM, Mikolaj Kucharski wrote:
> Hi,
>
> I have the same issue with 0.12.1.1. You can try to reproduce the
> problem by running:
>
> ./configure --target-list=i386-softmmu --disable-kvm
> make V=1
>
Well, --disable-kvm is an unnatural state for qemu-kvm (should still
work, though, so patches welcome).
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-12-24 11:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-21 0:24 qemu-kvm 0.12.1 undefined reference to `kvm_save_mpstate' Mikolaj Kucharski
2009-12-24 11:00 ` Mikolaj Kucharski
2009-12-24 11:54 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox