Bug 1094378 - Add ppc64le support to Xulrunner
Summary: Add ppc64le support to Xulrunner
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xulrunner
Version: rawhide
Hardware: ppc64le
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F-ExcludeArch-ppc64le, PPC64LETracker
TreeView+ depends on / blocked
 
Reported: 2014-05-05 14:39 UTC by Gustavo Luiz Duarte
Modified: 2014-05-09 15:52 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-05-09 15:52:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.