Fedora ppc64 install fails on qemu-system-ppc64

Richard W.M. Jones rjones at redhat.com
Fri Aug 30 09:43:00 UTC 2013


On Fri, Aug 30, 2013 at 01:09:23PM +1000, Tony Breeds wrote:
> On Wed, Aug 28, 2013 at 02:28:09PM +0100, Richard W.M. Jones wrote:
> > Finally it fails with "script error with package [some package name]":
> > https://bugzilla.redhat.com/show_bug.cgi?id=1002077
> 
> I'm pretty sure this will come down to the gcc in Ferdora is generating
> VSX instructions but qemu doesn't emulate them.  Short of writing that
> emulation code I think you're sunk with the std. images.

That's presumably this bug:

https://bugzilla.redhat.com/show_bug.cgi?id=887978

Wouldn't either the guest or the host fail in a more obvious way
(eg. seeing traps in the guest) if VSX instructions are being used?

To test this, I unpacked a large selection of RPMs from the Fedora 19
ppc64 install DVD and I ran '/usr/powerpc64-linux-gnu/bin/objdump
--disassemble' on all of the binaries and libraries found in /usr/bin
and /usr/lib64 of the RPMs.  This produced 3383381+3997721 lines of
output.

I grepped the output for: /xsd/, /xvd/ (so hopefully I would find
instructions such as lxsdux lxvd2ux lxvw4ux stxsdux stxvd2ux
stxvw4ux).  However there were no matches.  From this I conclude that
VSX instructions are not being generated or are being generated only
extremely rarely.

Am I looking for the right thing?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org


More information about the ppc mailing list