Created attachment 607863 [details] root.log Description of problem: The build of thunderbird-15.0-1.fc18 aborts on PPC: adding: hyphenation/hyph_la.dic (deflated 59%) adding: hyphenation/hyph_is.dic (deflated 50%) <jemalloc>Compile-time page size does not divide the runtime one. Redirecting call to abort() to mozalloc_abort /bin/sh: line 1: 20611 Segmentation fault (core dumped) /builddir/build/BUILD/thunderbird-15.0/comm-release/objdir/mail/installer/../../mozilla/dist/bin/run-mozilla.sh /builddir/build/BUILD/thunderbird-15.0/comm-release/objdir/mozilla/dist/bin/xpcshell -g "$PWD" -a "$PWD" -f /builddir/build/BUILD/thunderbird-15.0/comm-release/mozilla/toolkit/mozapps/installer/precompile_cache.js -e "populate_startupcache('GreD', 'omni.ja', 'startupCache.zip');" make[1]: Leaving directory `/builddir/build/BUILD/thunderbird-15.0/comm-release/objdir/mail/installer' make[1]: *** [install] Error 139 make: *** [install] Error 2 Version-Release number of selected component (if applicable): thunderbird-15.0-1.fc18 How reproducible: always Steps to Reproduce: 1. ppc-koji build --scratch f18 thunderbird-15.0-1.fc18.src.rpm 2. 3. Actual results: http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=688068
Created attachment 607865 [details] build.log
Created attachment 610347 [details] Disable JEMALLOC_STATIC_SIZES on powerpc Disables the use of JEMALLOC_STATIC_SIZES on powerpc since it assumes 4k page size. JEMALLOC_STATIC_SIZES was introduced after landing of: https://bugzilla.mozilla.org/show_bug.cgi?id=571209
Created attachment 610354 [details] Do not decommit memory on PPC Do not decommit memory on PPC since decommit logic assumes PageSize == ArenaSize. On PPC we have 64K page size, which is not feasible for ArenaSize. Rework of Martin's patch from https://bugzilla.mozilla.org/show_bug.cgi?id=746112
I've attached 2 patches. The first one is from bug 814879 and fixes the jemalloc build issue. The second patch fixes thunderbird freezes. I've reworked them from xulrunner to apply on thunderbird.
Created attachment 610408 [details] Disable JEMALLOC_STATIC_SIZES on powerpc Sorry, I had uploaded the wrong patch before. Fixing it.
Thanks for patches, they've been added to latest trunk. We should get rid of this workaround later. How did ppc test builds end?
Thanks Jan, closing this one since thunderbird-15.0-2.fc18 builds and launches fine on ppc.