The new little-endian 64-bit PowerPC platform (powerpc64le-linux) is not currently supported by Firefox. The following is required to have ppc64le support on Firefox: 1. Toplevel build/config support 2. Javascript build/config support 3. js/src/ctypes - libffi backport 4. xptcall port 5. webrtc config support 6. mfbt config support Ulrich Weigand has implemented that and posted his work on the following bz: https://bugzilla.mozilla.org/show_bug.cgi?id=976648 Considering Ulrich's patches have been merged into mozilla-central, can we please add those patches to Rawhide? I will attach Ulrich's patches backported to Rawhide (firefox-28) shortly.
Created attachment 882023 [details] Part1: Toplevel build/config
Created attachment 882024 [details] Part 2: Javascript build/config
Created attachment 882026 [details] Part 3: libffi backport
Created attachment 882027 [details] Part 4: xptcall port
Created attachment 882028 [details] Part 5: webrtc config support
Created attachment 882029 [details] Part 6: mfbt config support
Please also consider the following change to the spec file: @@ -378,7 +396,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
This is a big patch, we'd better wait for Firefox 30 which is to be released in ~10 weeks to avoid need for patch rebase to FF 28 unless we find it an urgent matter. However keeping open because of comment 7.
Jan, could we at least have these patches conditionally applied only on ppc64le? With the ppc64le bring up in progress, Firefox is becoming more and more a central package to have. Waiting 10 weeks for firefox is far from optimal from that point of view. Considering these patches have been merged upstream, we know for sure they will not accumulate forever and we will be able to drop them in ~10 weeks when we get firefox-30 in rawhide.
I think the conditional apply to ppc64le is okay. If the change is too intrusive we can also ship this one as unbranded version for testing purpose.
FWIW, I've personally tested Firefox-28 + patches on Rawhide ppc64le and it works fine (with a few color and font glitches that may or may not be a firefox issue). If you have a koji build, let me know and I'd be happy to test that too.
Thanks for the patches, should be part of firefox-29.0-5.fc21 build.