Description of problem:
Xulrunner fails to build on 32 bits PPC whith the following error message:
SpiderMonkey compiled with incorrect page size; please update js/src/gc/Heap.h.
/bin/sh: line 1: 42595 Segmentation fault (core dumped) /builddir/build/BUILD/xulrunner-18.0.2/mozilla-release/objdir/dist/bin/run-mozilla.sh /builddir/build/BUILD/xulrunner-18.0.2/mozilla-release/objdir/dist/bin/xpcshell -g "$PWD" -a "$PWD" -f /builddir/build/BUILD/xulrunner-18.0.2/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e "populate_startupcache('startupCache.zip');"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. ppc-koji build --scratch f18 xulrunner-18.0.2-1.fc18.src.rpm
This is being tracked upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=840242
Created attachment 697876 [details]
Use the runtime page size to control arena decommit
Terrence Cole's patch from upstream + return success when decommit is disabled + backport to Mozilla18.
This fixes the build issues and works fine on ppc64.
Please update the patch for Firefox 19 and we'll put it to Fedora then.
Created attachment 700086 [details]
Use the runtime page size to control arena decommit (Firefox 19)
Previous patch adapted to apply on Fedora 19.
I tested the attached patch and it builds fine both on ppc and ppc64. However Firefox 19 crashes on ppc64. This crash seems to be unrelated to the attached patch as Firefox 18 worked just fine. So please add this patch to Fedora. I will file a different bug for the Firefox 19 crashes.
Okay, added to xulrunner.
Fixed in xulrunner-19.0-2.fc19
xulrunner-20.0-4.fc18 has been submitted as an update for Fedora 18.
xulrunner-20.0-4.fc17 has been submitted as an update for Fedora 17.
xulrunner-20.0-4.fc19 has been submitted as an update for Fedora 19.
xulrunner-20.0-4.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
xulrunner-21.0-4.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.