Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 447196 - app-emulation/qemu-1.2.1 QEMU_USER_TARGETS="mips" - In function `mips_malta_init': mips_malta.c:(.text+0x138c): undefined reference to `piix4_pm_init'
Summary: app-emulation/qemu-1.2.1 QEMU_USER_TARGETS="mips" - In function `mips_malta_i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL: http://lists.gnu.org/archive/html/qem...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-12-14 08:31 UTC by Charlie Gehlin
Modified: 2013-01-12 03:51 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,16.96 KB, text/plain)
2012-12-14 08:33 UTC, Charlie Gehlin
Details
qemu-1.2.1-mips.patch (qemu-1.2.1-mips.patch,414 bytes, patch)
2012-12-14 08:48 UTC, Charlie Gehlin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Charlie Gehlin 2012-12-14 08:31:12 UTC
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.
Comment 1 Charlie Gehlin 2012-12-14 08:33:51 UTC
Created attachment 332264 [details]
emerge --info
Comment 2 Charlie Gehlin 2012-12-14 08:48:00 UTC
Created attachment 332268 [details, diff]
qemu-1.2.1-mips.patch
Comment 3 Kobboi 2012-12-14 10:16:11 UTC
(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 :)
Comment 4 Kobboi 2012-12-14 10:16:46 UTC
Also hitting the problem by the way, gcc-4.6.3
Comment 5 Nicolas Sapa 2012-12-28 20:13:33 UTC
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
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2013-01-12 03:51:20 UTC
Fixed in qemu 1.2.2