Hi! The upstream QEMU does not compile on x86 machine for x86_64-softmmu platform. This broke it:
commit 83d08f2673504a299194dcac1657a13754b5932a Author: Michael S. Tsirkin <m...@redhat.com> AuthorDate: Tue Oct 29 13:57:34 2013 +0100 Commit: Michael S. Tsirkin <m...@redhat.com> CommitDate: Tue Dec 10 12:29:56 2013 +0200 pc: map PCI address space as catchall region for not mapped addresses With a help of negative memory region priority PCI address space is mapped underneath RAM regions effectively catching every access to addresses not mapped by any other region. It simplifies PCI address space mapping into system address space. Signed-off-by: Michael S. Tsirkin <m...@redhat.com> Signed-off-by: Igor Mammedov <imamm...@redhat.com> Thit is the "make" output: make: Entering directory `/home/alexey/p/qemu-build/x86_x86_64' config-host.mak is out-of-date, running configure GEN qemu-options.def GEN qmp-commands.h GEN qapi-types.h GEN qapi-visit.h CHK version_gen.h Install prefix /usr/local BIOS directory /usr/local/share/qemu binary directory /usr/local/bin library directory /usr/local/lib libexec directory /usr/local/libexec include directory /usr/local/include config directory /usr/local/etc local state directory /usr/local/var Manual directory /usr/local/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /home/alexey/p/qemu C compiler cc Host C compiler cc C++ compiler c++ Objective-C compiler clang ARFLAGS rv CFLAGS -g QEMU_CFLAGS -Werror -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-all -I/usr/include/p11-kit-1 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I$(SRC_PATH)/dtc/libfdt LDFLAGS -Wl,--warn-common -Wl,-z,relro -Wl,-z,now -pie -m64 -g make make install install python python -B smbd /usr/sbin/smbd host CPU x86_64 host big endian no target list x86_64-softmmu tcg debug enabled no gprof enabled no sparse enabled no strip binaries no profiler no static build no -Werror enabled yes pixman system SDL support yes GTK support no curses support yes curl support yes mingw32 support no Audio drivers oss Block whitelist (rw) Block whitelist (ro) VirtFS support no VNC support yes VNC TLS support yes VNC SASL support no VNC JPEG support yes VNC PNG support yes VNC WS support yes xen support no brlapi support yes bluez support yes Documentation yes GUEST_BASE yes PIE yes vde support no netmap support no Linux AIO support yes ATTR/XATTR support yes Install blobs yes KVM support yes RDMA support no TCG interpreter no fdt support yes preadv support yes fdatasync yes madvise yes posix_madvise yes sigev_thread_id yes uuid support no libcap-ng support no vhost-net support yes vhost-scsi support yes Trace backend stderr Trace output file trace-<pid> spice support no (/) rbd support no xfsctl support no nss used no libusb no usb net redir no GLX support yes libiscsi support no build guest agent yes QGA VSS support no seccomp support no coroutine backend ucontext coroutine pool yes GlusterFS support no virtio-blk-data-plane yes gcov gcov gcov enabled no TPM support no libssh2 support yes TPM passthrough no QOM debugging yes vhdx no GEN config-host.h make: Leaving directory `/home/alexey/p/qemu-build/x86_x86_64' make: Entering directory `/home/alexey/p/qemu-build/x86_x86_64' GEN trace/generated-tracers.h CHK version_gen.h GEN qemu-options.texi GEN qemu-monitor.texi GEN qapi-types.c GEN qapi-visit.c CC qga/commands.o CC qga/guest-agent-command-state.o CC qga/main.o CC qga/commands-posix.o CC qga/channel-posix.o CC qga/qapi-generated/qga-qapi-types.o CC qga/qapi-generated/qga-qapi-visit.o CC qga/qapi-generated/qga-qmp-marshal.o CC qapi/qapi-visit-core.o CC qapi/qapi-dealloc-visitor.o CC qapi/qmp-input-visitor.o CC qapi/qmp-output-visitor.o CC qapi/qmp-registry.o CC qapi/qmp-dispatch.o CC qapi/string-output-visitor.o CC qapi/string-input-visitor.o CC qapi/opts-visitor.o CC qobject/qint.o CC qobject/qstring.o CC qobject/qdict.o CC qobject/qfloat.o CC qobject/qlist.o CC qobject/qbool.o CC qobject/qjson.o CC qobject/json-lexer.o CC qobject/json-streamer.o CC qobject/json-parser.o CC qobject/qerror.o CC trace/generated-events.o CC trace/stderr.o CC trace/control.o GEN trace/generated-tracers.c CC util/osdep.o CC util/cutils.o CC util/unicode.o CC util/qemu-timer-common.o CC util/oslib-posix.o CC util/event_notifier-posix.o CC util/qemu-openpty.o CC util/envlist.o CC util/path.o CC util/host-utils.o CC util/cache-utils.o CC util/module.o CC util/bitmap.o CC util/bitops.o CC util/hbitmap.o CC util/fifo8.o CC util/acl.o CC util/error.o CC util/qemu-error.o CC util/compatfd.o CC util/iov.o CC util/aes.o CC util/qemu-config.o CC util/qemu-sockets.o CC util/notify.o CC util/qemu-option.o CC util/qemu-progress.o CC util/hexdump.o CC util/crc32c.o CC util/throttle.o CC util/getauxval.o CC stubs/arch-query-cpu-def.o CC stubs/clock-warp.o CC stubs/cpu-get-clock.o CC stubs/cpu-get-icount.o CC stubs/dump.o CC stubs/fdset-add-fd.o CC stubs/fdset-find-fd.o CC stubs/fdset-get-fd.o CC stubs/fdset-remove-fd.o CC stubs/gdbstub.o CC stubs/get-fd.o CC stubs/get-vm-name.o CC stubs/iothread-lock.o CC stubs/migr-blocker.o CC stubs/mon-is-qmp.o CC stubs/mon-printf.o CC stubs/mon-print-filename.o CC stubs/mon-protocol-event.o CC stubs/mon-set-error.o CC stubs/pci-drive-hot-add.o CC stubs/reset.o CC stubs/set-fd-handler.o CC stubs/slirp.o CC stubs/sysbus.o CC stubs/uuid.o CC stubs/vm-stop.o CC stubs/vmstate.o CC stubs/cpus.o CC qemu-nbd.o CC async.o CC thread-pool.o CC nbd.o CC block.o CC blockjob.o CC main-loop.o CC iohandler.o CC qemu-timer.o CC aio-posix.o CC qemu-io-cmds.o CC qemu-coroutine.o CC qemu-coroutine-lock.o CC qemu-coroutine-io.o CC qemu-coroutine-sleep.o CC coroutine-ucontext.o CC block/raw_bsd.o CC block/cow.o CC block/qcow.o CC block/vdi.o CC block/vmdk.o CC block/cloop.o CC block/dmg.o CC block/bochs.o CC block/vpc.o CC block/vvfat.o CC block/qcow2.o CC block/qcow2-refcount.o CC block/qcow2-cluster.o CC block/qcow2-snapshot.o CC block/qcow2-cache.o CC block/qed.o CC block/qed-gencb.o CC block/qed-l2-cache.o CC block/qed-table.o CC block/qed-cluster.o CC block/qed-check.o CC block/parallels.o CC block/blkdebug.o CC block/blkverify.o CC block/snapshot.o CC block/qapi.o CC block/raw-posix.o CC block/linux-aio.o CC block/nbd.o CC block/nbd-client.o CC block/sheepdog.o CC block/curl.o CC block/ssh.o CC qemu-img.o CC qemu-io.o CC blockdev.o CC blockdev-nbd.o CC readline.o CC qdev-monitor.o CC device-hotplug.o CC os-posix.o CC migration.o CC migration-tcp.o CC qemu-char.o CC block-migration.o CC page_cache.o CC xbzrle.o CC migration-exec.o CC migration-unix.o CC migration-fd.o CC bt-host.o CC bt-vhci.o CC dma-helpers.o CC vl.o CC tpm.o GEN qmp-marshal.c CC qmp.o CC hmp.o CC qemu-log.o CC tcg-runtime.o CC audio/audio.o CC audio/noaudio.o CC audio/wavaudio.o CC audio/mixeng.o CC audio/sdlaudio.o CC audio/ossaudio.o CC audio/wavcapture.o CC backends/rng.o CC backends/rng-egd.o CC backends/rng-random.o CC backends/msmouse.o CC backends/baum.o CC block/stream.o CC block/commit.o CC block/mirror.o CC block/backup.o CC disas/i386.o CC fsdev/qemu-fsdev-dummy.o CC fsdev/qemu-fsdev-opts.o CC net/net.o CC net/queue.o CC net/checksum.o CC net/hub.o CC net/socket.o CC net/dump.o CC net/eth.o CC net/tap.o CC net/tap-linux.o CC net/slirp.o CC qom/object.o CC qom/container.o CC qom/qom-qobject.o CC qom/cpu.o CC slirp/cksum.o CC slirp/if.o CC slirp/ip_icmp.o CC slirp/ip_input.o CC slirp/ip_output.o CC slirp/dnssearch.o CC slirp/slirp.o CC slirp/mbuf.o CC slirp/misc.o CC slirp/sbuf.o CC slirp/socket.o CC slirp/tcp_input.o CC slirp/tcp_output.o CC slirp/tcp_subr.o CC slirp/tcp_timer.o CC slirp/udp.o CC slirp/bootp.o CC slirp/tftp.o CC slirp/arp_table.o CC ui/keymaps.o CC ui/console.o CC ui/cursor.o CC ui/input.o CC ui/qemu-pixman.o CC ui/sdl.o CC ui/x_keymap.o CC ui/curses.o CC ui/vnc.o CC ui/vnc-enc-zlib.o CC ui/vnc-enc-hextile.o CC ui/vnc-enc-tight.o CC ui/vnc-enc-zrle.o CC ui/vnc-tls.o CC ui/vnc-auth-vencrypt.o CC ui/vnc-ws.o CC ui/vnc-jobs.o CC hw/block/block.o CC hw/block/cdrom.o CC hw/block/hd-geometry.o CC hw/bt/core.o CC hw/bt/l2cap.o CC hw/bt/sdp.o CC hw/bt/hci.o CC hw/bt/hid.o CC hw/bt/hci-csr.o CC hw/core/qdev.o CC hw/core/qdev-properties.o CC hw/core/irq.o CC hw/core/sysbus.o CC hw/core/null-machine.o CC hw/core/loader.o CC hw/core/qdev-properties-system.o CC hw/i2c/core.o CC hw/i2c/smbus.o CC hw/i2c/smbus_eeprom.o CC hw/input/hid.o CC hw/input/ps2.o CC hw/isa/isa-bus.o CC hw/nvram/eeprom93xx.o CC hw/nvram/fw_cfg.o CC hw/pci/pci-stub.o CC hw/pcmcia/pcmcia.o CC hw/scsi/scsi-disk.o CC hw/scsi/scsi-generic.o CC hw/scsi/scsi-bus.o CC hw/usb/core.o CC hw/usb/combined-packet.o CC hw/usb/bus.o CC hw/usb/desc.o CC hw/usb/libhw.o CC hw/usb/dev-hub.o CC hw/usb/host-stub.o CC hw/usb/dev-hid.o CC hw/watchdog/watchdog.o GEN qemu-doc.html GEN qemu.1 CC qapi-types.o CC qapi-visit.o AR libqemustub.a CC qmp-marshal.o AR libqemuutil.a LINK qemu-ga LINK qemu-nbd LINK qemu-img LINK qemu-io GEN x86_64-softmmu/hmp-commands.h GEN x86_64-softmmu/config-target.h CP x86_64-softmmu/hw/i386/acpi-dsdt.hex CP x86_64-softmmu/hw/i386/q35-acpi-dsdt.hex CC x86_64-softmmu/exec.o CC x86_64-softmmu/translate-all.o CC x86_64-softmmu/cpu-exec.o CC x86_64-softmmu/tcg/tcg.o CC x86_64-softmmu/tcg/optimize.o CC x86_64-softmmu/fpu/softfloat.o CC x86_64-softmmu/disas.o CC x86_64-softmmu/arch_init.o CC x86_64-softmmu/cpus.o CC x86_64-softmmu/monitor.o CC x86_64-softmmu/gdbstub.o CC x86_64-softmmu/ioport.o CC x86_64-softmmu/balloon.o CC x86_64-softmmu/device_tree.o CC x86_64-softmmu/kvm-all.o CC x86_64-softmmu/memory.o CC x86_64-softmmu/savevm.o CC x86_64-softmmu/cputlb.o CC x86_64-softmmu/memory_mapping.o CC x86_64-softmmu/qtest.o CC x86_64-softmmu/xen-stub.o CC x86_64-softmmu/hw/i386/multiboot.o CC x86_64-softmmu/hw/i386/smbios.o CC x86_64-softmmu/hw/i386/pc.o CC x86_64-softmmu/dump.o CC x86_64-softmmu/hw/i386/pc_piix.o CC x86_64-softmmu/hw/i386/pc_q35.o CC x86_64-softmmu/hw/i386/pc_sysfw.o CC x86_64-softmmu/hw/i386/kvmvapic.o CC x86_64-softmmu/hw/i386/acpi-build.o CC x86_64-softmmu/hw/i386/bios-linker-loader.o CC x86_64-softmmu/target-i386/translate.o CC x86_64-softmmu/target-i386/helper.o CC x86_64-softmmu/target-i386/cpu.o CC x86_64-softmmu/target-i386/excp_helper.o CC x86_64-softmmu/target-i386/fpu_helper.o CC x86_64-softmmu/target-i386/cc_helper.o CC x86_64-softmmu/target-i386/int_helper.o CC x86_64-softmmu/target-i386/svm_helper.o CC x86_64-softmmu/target-i386/smm_helper.o CC x86_64-softmmu/target-i386/misc_helper.o CC x86_64-softmmu/target-i386/mem_helper.o CC x86_64-softmmu/target-i386/seg_helper.o CC x86_64-softmmu/target-i386/gdbstub.o CC x86_64-softmmu/target-i386/machine.o CC x86_64-softmmu/target-i386/arch_memory_mapping.o CC x86_64-softmmu/target-i386/arch_dump.o CC x86_64-softmmu/target-i386/kvm.o CC x86_64-softmmu/hw/block/virtio-blk.o CC x86_64-softmmu/hw/char/virtio-serial-bus.o CC x86_64-softmmu/hw/cpu/icc_bus.o CC x86_64-softmmu/hw/display/vga.o CC x86_64-softmmu/hw/i386/kvm/clock.o CC x86_64-softmmu/hw/i386/kvm/apic.o CC x86_64-softmmu/hw/i386/kvm/i8259.o CC x86_64-softmmu/hw/i386/kvm/ioapic.o CC x86_64-softmmu/hw/i386/kvm/i8254.o CC x86_64-softmmu/hw/i386/kvm/pci-assign.o CC x86_64-softmmu/hw/intc/apic.o CC x86_64-softmmu/hw/intc/apic_common.o CC x86_64-softmmu/hw/intc/ioapic.o CC x86_64-softmmu/hw/isa/lpc_ich9.o CC x86_64-softmmu/hw/misc/vmport.o CC x86_64-softmmu/hw/misc/ivshmem.o CC x86_64-softmmu/hw/misc/vfio.o CC x86_64-softmmu/hw/misc/pvpanic.o CC x86_64-softmmu/hw/net/virtio-net.o CC x86_64-softmmu/hw/net/vhost_net.o CC x86_64-softmmu/hw/scsi/virtio-scsi.o CC x86_64-softmmu/hw/scsi/vhost-scsi.o CC x86_64-softmmu/hw/timer/mc146818rtc.o CC x86_64-softmmu/hw/virtio/virtio.o CC x86_64-softmmu/hw/virtio/virtio-balloon.o CC x86_64-softmmu/hw/virtio/vhost.o CC x86_64-softmmu/hw/block/dataplane/ioq.o CC x86_64-softmmu/hw/block/dataplane/virtio-blk.o LINK x86_64-softmmu/qemu-system-x86_64 ../hw/pci-host/piix.o: In function `i440fx_init': /home/alexey/p/qemu/hw/pci-host/piix.c:364: undefined reference to `pc_init_pci64_hole' ../hw/pci-host/q35.o: In function `mch_init': /home/alexey/p/qemu/hw/pci-host/q35.c:370: undefined reference to `pc_init_pci64_hole' hw/intc/ioapic.o: In function `ioapic_realize': /home/alexey/p/qemu/hw/intc/ioapic.c:240: undefined reference to `ioapic_no' hw/virtio/virtio.o: In function `virtio_device_realize': /home/alexey/p/qemu/hw/virtio/virtio.c:1166: undefined reference to `virtio_bus_device_plugged' collect2: error: ld returned 1 exit status make[1]: *** [qemu-system-x86_64] Error 1 make: *** [subdir-x86_64-softmmu] Error 2 make: Leaving directory `/home/alexey/p/qemu-build/x86_x86_64' -- Alexey