Yes, you should only see those instructions in the ppc64p7 RPMs.  Those RPMs should only be getting selected by rpm/yum when it detects a POWER7 system, which isn't the case here as I understand it.  There is something else going on.


Brent J. Baude
Linux Technology Center
3605 Hwy 52N
Rochester, MN  55901

http://www.ibm.com/linux/ltc/
507.253-0708


Inactive hide details for "Richard W.M. Jones" ---08/30/2013 04:48:35 AM---On Fri, Aug 30, 2013 at 01:09:23PM +1000, Tony Breed"Richard W.M. Jones" ---08/30/2013 04:48:35 AM---On Fri, Aug 30, 2013 at 01:09:23PM +1000, Tony Breeds wrote: > On Wed, Aug 28, 2013 at 02:28:09PM +0

From: "Richard W.M. Jones" <rjones@redhat.com>
To: ppc@lists.fedoraproject.org,
Date: 08/30/2013 04:48 AM
Subject: Re: Fedora ppc64 install fails on qemu-system-ppc64
Sent by: ppc-bounces@lists.fedoraproject.org





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
_______________________________________________
ppc mailing list
ppc@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/ppc