Bug 1094378

Summary: Add ppc64le support to Xulrunner
Product: [Fedora] Fedora Reporter: Gustavo Luiz Duarte <gustavold>
Component: xulrunnerAssignee: Gecko Maintainer <gecko-bugs-nobody>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: caillon+fedoraproject, gecko-bugs-nobody, gustavold, john.j5live, stransky
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: 2014-05-09 15:52:24 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: 1051573    

Description Gustavo Luiz Duarte 2014-05-05 14:39:39 UTC
The new little-endian 64-bit PowerPC platform (powerpc64le-linux) is not currently supported by Xulrunner.

I tried the same patch being used for Firefox and it works fine for Xulrunner: http://pkgs.fedoraproject.org/cgit/firefox.git/tree/mozilla-ppc64le.patch

Could we please add this patch to Xulrunner on Rawhide? You can apply the patch only on ppc64le to avoid breaking other arches.

Comment 1 Gustavo Luiz Duarte 2014-05-05 14:43:04 UTC
Please also consider the following change to the spec file:

@@ -351,7 +355,7 @@ export LIBDIR='%{_libdir}'
 MOZ_SMP_FLAGS=-j1
 # On x86 architectures, Mozilla can build up to 4 jobs at once in parallel,
 # however builds tend to fail on other arches when building in parallel.
-%ifarch %{ix86} x86_64 ppc ppc64
+%ifarch %{ix86} x86_64 ppc ppc64 ppc64le
 [ -z "$RPM_BUILD_NCPUS" ] && \
      RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
 [ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2

Comment 2 Martin Stransky 2014-05-09 15:52:24 UTC
Done.