Red Hat Bugzilla – Bug 613529
spice doesn't build on PPC
Last modified: 2015-02-17 08:17:49 EST
spice has a number of portability issues which prevent it from working on !x86 architectures:
* x86 inline assembler.
* little endian assumtions all over the place.
Additionally for the spice server:
* assumes some 64bit arithmetic ops are atomic.
Assign to spice now that the package is created and exists as bugzilla component.
This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle.
Changing version to '14'.
More information and reason for this action is here:
Updating to rawhide as still a problem there. I wonder if something like orc could replace the asm for platform independence
I made the x86 inline assembly in the spice module optional a while ago. But the other issues that Gert raised still remain (little-endian assumptions and atomic 64 bit ops assumptions).
> the other issues that Gert raised still remain (little-endian assumptions
> and atomic 64 bit ops assumptions).
Neither of these are an issue for ARMv6+ as it supports atomics and little-endian.
Created attachment 610711 [details]
Patch to configure.ac
The following patch enables it to build on ARM platforms that support atomics. Test build on on ARMv7.
Created attachment 610712 [details]
Patch for spec
This patch adds support for building on supported ARM platforms and has a few minor cleanups too
The above two patches applied I tried the build on armv7hl and tested the resulting binary on an ARMv7 device running Fedora 18. Using firefox connecting to a RHEV-M instance I could launch consoles in spice-xpi and login so basic support works!
I'm not 100% sure the ARM directive is efficient as it could be. Platforms < ARMv6 don't support atomics.
can this also be tested/built on Fedora17 ?
So that it can become available in the update repos before Fedora18 GA ?
Patch is upstream http://cgit.freedesktop.org/spice/spice/commit/?id=07426f3c4ff05540263d8f27f92b3a5676e27f96 now
(In reply to comment #7)
> Created attachment 610712 [details]
> Patch for spec
> This patch adds support for building on supported ARM platforms and has a
> few minor cleanups too
I'm in the process of updating the Fedora spice packages to 0.12.0, which have the necessary
configure changes. I've added armv6l armv7l armv7hl to the arch whitelist for this version.
This is now built for ARM on F-18. I need to tweak the ARM side so we can build on ARMv6 and hence possibly run it on Raspberry Pi and other ARMv6 class devices.
Not sure if you want to keep this open so PPC can deal with their issues (if it will ever work there).
(In reply to comment #12)
> Not sure if you want to keep this open so PPC can deal with their issues (if
> it will ever work there).
Yes the plan is to keep this open until all use of ExclusiveArch is gone.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
*** Bug 811030 has been marked as a duplicate of this bug. ***
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.
(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)
More information and reason for this action is here:
Realistically, are the rest of these issues fixable any time soon? KVM on PPC is getting a decent amount of attention now, as is Fedora PPC. We are going to have to switch virt-manager away from noarch just to handle the spice dep where it isn't available.
There were some ppc patches on the list a while back, but they were never merged :( And this would need to be tested thoroughly...
Whoops, I was wrong about the virt-manager noarch thing, since spice-gtk builds on all archs now.
This message is a notice that Fedora 19 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 19. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 19 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.