Bug 1198711

Summary: libunwind package needs source update for ppc64le
Product: [Fedora] Fedora EPEL Reporter: Éric Fintzel <efintzel>
Component: libunwindAssignee: Peter Martuccelli <peterm>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: menantea, pbrobinson, peterm, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-07 01:33:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1197165    
Attachments:
Description Flags
libunwind-fix-ppc64_test_altivec.patch none

Description Éric Fintzel 2015-03-04 16:54:52 UTC
Description of problem:

Source package libunwind-1.1-3 used by EPEL7 does not support ppc64le.
A newer version supporting this architecture should be used instead.

Comment 1 Tom "spot" Callaway 2015-03-30 19:55:30 UTC
There is no stable release of libunwind that supports ppc64le. It looks like there is some code in git to add support, but I'm not comfortable cherry picking code from git here. I think your best bet is to open an issue with the libunwind upstream asking for a stable release based on the git code:

http://www.nongnu.org/libunwind/

Comment 2 Menanteau Guy 2015-05-21 13:55:09 UTC
Created attachment 1028197 [details]
libunwind-fix-ppc64_test_altivec.patch

Comment 3 Menanteau Guy 2015-05-21 13:56:16 UTC
What do you mean by "no stable release of libunwind that supports ppc64le" ?
At least for build, a libunwind ppc64le seems exist.

I see in http://ppc.koji.fedoraproject.org/koji/packageinfo?packageID=3743
a libunwind-1.1-5 built for ppc64le no so far from the libunwind-1.1-3 currently used in epel7.
Only differences are:  
- Replacing ppc64 with the power64 macro (#1051641) 
- Link test_ppc64_altivec against libunwind in tests/Makefile.am to fix build on ppc64.

First corresponding to a change in the spec
- ExclusiveArch: %{arm} aarch64 hppa ia64 mips ppc ppc64 %{ix86} x86_64
+ ExclusiveArch: %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64

And second is the add of libunwind-fix-ppc64_test_altivec.patch

Comment 4 Tom "spot" Callaway 2015-05-21 14:13:14 UTC
Are you sure it actually works though? If you've tested that libunwind code on ppc64le and confirmed proper functionality, I'll fix the spec to enable it as a target.

Comment 5 Menanteau Guy 2015-05-21 14:52:22 UTC
Didn't test it, this is why I asked you what did you mean by "support".
My comment was only relative to build.
I will try to test it when I get some time.

Comment 7 Peter Robinson 2015-12-07 01:33:15 UTC
Now shipped in RHEL 7 but only for x86_64