Red Hat Bugzilla – Bug 1315225
firefox build failure on ppc64le/arm64
Last modified: 2016-05-03 14:05:50 EDT
firefox-45.0-4 doesn't build on ppc64le in f24, it breaks with following errors:
Executing /builddir/build/BUILD/firefox-45.0/firefox-45.0/objdir/dist/bin/xpcshell -g /builddir/build/BUILD/firefox-45.0/firefox-45.0/objdir/dist/bin/ -a /builddir/build/BUILD/firefox-45.0/firefox-45.0/objdir/dist/bin/ -f /builddir/build/BUILD/firefox-45.0/firefox-45.0/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://gre/");
No such property on self-hosted object: undefined
Traceback (most recent call last):
File "/builddir/build/BUILD/firefox-45.0/firefox-45.0/toolkit/mozapps/installer/packager.py", line 406, in <module>
File "/builddir/build/BUILD/firefox-45.0/firefox-45.0/toolkit/mozapps/installer/packager.py", line 400, in main
args.source, gre_path, base)
File "/builddir/build/BUILD/firefox-45.0/firefox-45.0/toolkit/mozapps/installer/packager.py", line 161, in precompile_cache
errors.fatal('Error while running startup cache precompilation')
File "/builddir/build/BUILD/firefox-45.0/firefox-45.0/python/mozbuild/mozpack/errors.py", line 103, in fatal
File "/builddir/build/BUILD/firefox-45.0/firefox-45.0/python/mozbuild/mozpack/errors.py", line 98, in _handle
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
For more infos please take a look at:
And aarch64 http://arm.koji.fedoraproject.org/koji/buildinfo?buildID=366928
Proposed as a Freeze Exception for 24-beta by Fedora user pbrobinson using the blocker tracking app because:
Secondary architecture. Primary browser must be working.
I guess it's caused by gcc6 compiler. I see the builds went fine some time ago but all builds fail now.
Discussed at today's blocker review meeting . Voted as AcceptedFreezeException (Beta) - Firefox is the default browser for most desktops, and this bug prevents its inclusion in secondary-arch images. issues that seriously affect the compose of secondary arch deliverables generally qualify for FE status.
firefox-45.0.2-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-cebfb38250
(In reply to Fedora Update System from comment #5)
> firefox-45.0.2-2.fc24 has been submitted as an update to Fedora 24.
The firefox-45.0.2-2.fc24 build doesn't fix this problem, at least on aarch64
Doesn't build on Power64 either
Looks like wrong memory layout here:
Assertion failure: size % pageSize == 0, at /root/rpmbuild/BUILD/firefox-45.0.2/firefox-45.0.2/js/src/gc/Memory.cpp:757
Thread 1 "js" received signal SIGSEGV, Segmentation fault.
0x0000000020a503e0 in js::gc::ProtectPages (p=<optimized out>, size=<optimized out>)
757 MOZ_ASSERT(size % pageSize == 0);
(In reply to Martin Stransky from comment #8)
> Looks like wrong memory layout here:
Both aarch64 and Powwer64 are 64k page sizes
*** Bug 1320953 has been marked as a duplicate of this bug. ***
Looks like the recent -O3 optimization is too aggressive/buggy on gcc6 for aarch64. We need to switch to -O2 temporary for JS engine.
still getting the failure on ppc64le with firefox-46.0-2.fc24
Added fix to firefox-46.0-4 - please test on ppc.koji.
(In reply to Martin Stransky from comment #13)
> Added fix to firefox-46.0-4 - please test on ppc.koji.
Do you mean -3 as there's no -4 there
No, I really mean -4 which goes to koji now. Unfortunately koji don't allow me to cancel already submitted builds.
(In reply to Martin Stransky from comment #15)
> No, I really mean -4 which goes to koji now. Unfortunately koji don't allow
> me to cancel already submitted builds.
Yes, it does: "koji cancel <parent task ID>"
firefox-46.0-4.fc24 scratch builds:
i confirm the fix. the latest firefox-46.0-4 built fine on ppc now
So Power and aarch64 look fine. s390 and s390x are still failing.
s390x failure http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2195391
I believe we also need similar fixes for thunderbird/xulrunner
(In reply to Peter Robinson from comment #19)
> So Power and aarch64 look fine. s390 and s390x are still failing.
> s390x failure http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2195391
this is a buildroot issue with f25 not being fullu up-to-date
Can we get this submitted as an update for F-24 please
Sorry, wrong needinfo, Martin it was for you
firefox-46.0-4.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-0f939ef633
Why do you needinfo me when you do the update yourself.
(In reply to Martin Stransky from comment #25)
> Why do you needinfo me when you do the update yourself.
I put the needinfo on about 2hrs before I did the update
firefox-46.0-4.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-0f939ef633
firefox-46.0-4.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.