I'm on a REALLY unsupported limb here being ~amd64 AND GCC-4.7, but my guesses are that this could apply to others as well :) Reproducible: Always Steps to Reproduce: 1. MAKEOPTS="-j1" emerge -1v app-emulation/qemu Actual Results: CC mips-softmmu/target-mips/machine.o CC mips-softmmu/hw/9pfs/virtio-9p-device.o LINK mips-softmmu/qemu-system-mips hw/mips/../mips_malta.o: In function `mips_malta_init': mips_malta.c:(.text+0x138c): undefined reference to `piix4_pm_init' collect2: error: ld returned 1 exit status make[1]: *** [qemu-system-mips] Error 1 make: *** [subdir-mips-softmmu] Error 2 * ERROR: app-emulation/qemu-1.2.1 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-emulation/qemu-1.2.1'`, * the complete build log and the output of `emerge -pqv '=app-emulation/qemu-1.2.1'`. * The complete build log is located at '/var/tmp/portage/app-emulation/qemu-1.2.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/qemu-1.2.1/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/qemu-1.2.1/work/qemu-kvm-1.2.0' * S: '/var/tmp/portage/app-emulation/qemu-1.2.1/work/qemu-kvm-1.2.0' Expected Results: Apply mips/acpi-patch and build fine Patch applies from local overlay and package builds fine.
Created attachment 332264 [details] emerge --info
Created attachment 332268 [details, diff] qemu-1.2.1-mips.patch
(In reply to comment #2) > Created attachment 332268 [details, diff] [details, diff] > qemu-1.2.1-mips.patch Which seems to be exactly the patch that was recently removed :)
Also hitting the problem by the way, gcc-4.6.3
Also hit with: Portage 2.1.11.31 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r3, 2.6.39-gentoo-r3 x86_64) ================================================================= System uname: Linux-2.6.39-gentoo-r3-x86_64-Pentium-R-_Dual-Core_CPU_E6500_@_2.93GHz-with-gentoo-2.1 Timestamp of tree: Fri, 28 Dec 2012 17:15:01 +0000 ld GNU ld (GNU Binutils) 2.21.1 ccache version 3.1.7 [enabled] app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.4, 2.7.3-r1, 3.2.3 dev-util/ccache: 3.1.7 dev-util/cmake: 2.8.7-r5 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.68 sys-devel/automake: 1.9.6-r3, 1.10.2, 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.3.4, 4.4.5, 4.5.3-r2 sys-devel/gcc-config: 1.6 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.1 (virtual/os-headers) sys-libs/glibc: 2.14.1-r3
Fixed in qemu 1.2.2