Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 584370

Summary: app-emulation/qemu-2.6.0 is missing ppc64el in the QEMU_SOFTMMU_TARGETS
Product: Gentoo Linux Reporter: Jan Henke <gentoo>
Component: Current packagesAssignee: Gentoo QEMU Project <qemu+disabled>
Status: RESOLVED UPSTREAM    
Severity: normal CC: gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jan Henke 2016-05-28 06:59:36 UTC
The current app-emulation/qemu ebuild does not contain the pp64el in the list of possible QEMU_SOFTMMU_TARGETS. The PowerPC 64bit little endian architecture is supported by qemu and there is such a target for the user space emulation (there it is called ppc64le, either name is fine).

Please add the above target to the list of full system emulations (aka virtual machine targets).
Comment 1 SpanKY gentoo-dev 2016-06-03 18:49:58 UTC
it's "ppc64le" not "ppc64el".  this is the name upstream uses.
Comment 2 SpanKY gentoo-dev 2016-06-03 18:53:24 UTC
also, upstream doesn't have a softmmu target yet afaict.  look in default-configs/.  the qemu ebuild already does a check at prepare time to make sure the ebuild is in sync with the source.
Comment 3 Jan Henke 2016-06-03 20:08:59 UTC
Ubuntu provides a ppc64le system emulation target for example: http://packages.ubuntu.com/xenial/amd64/qemu-system-ppc/filelist

So I think it should already be available from the sources, it just needs support in the ebuild.
Comment 4 SpanKY gentoo-dev 2016-06-03 20:45:33 UTC
(In reply to Jan Henke from comment #3)

that's just a symlink.  pretty sure the tool itself doesn't change behavior.  i see no point in creating that symlink in Gentoo, and i think it might be kind of harmful: relying on non-standard names that few distros provides is bad.

$ tar xf qemu_2.5+dfsg-5ubuntu10.1.debian.tar.xz
$ grep -h ppc64 debian/*.links
usr/bin/qemu-system-ppc64 usr/bin/qemu-system-ppc64le
$ ar x qemu-system-ppc_2.5+dfsg-5ubuntu10.1_amd64.deb
$ tar tvf data.tar.xz | grep ppc64le
lrwxrwxrwx root/root         0 2016-05-11 07:46 ./usr/bin/qemu-system-ppc64le -> qemu-system-ppc64
Comment 5 Jan Henke 2016-06-03 21:12:52 UTC
I am sorry. I never realized it is just a symlink. I share your opinion that a pure symlink does not make sense.

So this issue is closed by that then.