Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1320953

Summary: [aarch64][gcc6] JS crashes during package build
Product: [Fedora] Fedora Reporter: Marcin Juszkiewicz <mjuszkie>
Component: firefoxAssignee: Martin Stransky <stransky>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dhorak, gecko-bugs-nobody, jhorak, mjuszkie, pbrobinson, pjasicek, stransky
Target Milestone: ---Flags: mjuszkie: needinfo-
Target Release: ---   
Hardware: aarch64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-21 11:29:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 922257    

Description Marcin Juszkiewicz 2016-03-24 11:05:51 UTC
Description of problem:

Since gcc6 landed in Fedora we are unable to build firefox/thunderbird/xulrunner on aarch64.

Version-Release number of selected component (if applicable):

firefox-45.0.1-2.fc24 http://arm.koji.fedoraproject.org/koji/buildinfo?buildID=363311
thunderbird-38.6.0-6.fc24 http://arm.koji.fedoraproject.org/koji/buildinfo?buildID=355038
xulrunner-44.0-5.fc24 http://arm.koji.fedoraproject.org/koji/buildinfo?buildID=359583

How reproducible:

always

Steps to Reproduce:
1. do build of firefox/thunderbird/xulrunner on aarch64

Actual results:

Executing /builddir/build/BUILD/thunderbird-38.6.0/comm-esr38/objdir/dist/bin/xpcshell -g /builddir/build/BUILD/thunderbird-38.6.0/comm-esr38/objdir/dist/bin/ -a /builddir/build/BUILD/thunderbird-38.6.0/comm-esr38/objdir/dist/bin/ -f /builddir/build/BUILD/thunderbird-38.6.0/comm-esr38/mozilla/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://gre/");
Traceback (most recent call last):
  File "/builddir/build/BUILD/thunderbird-38.6.0/comm-esr38/mozilla/toolkit/mozapps/installer/packager.py", line 403, in <module>
    main()
  File "/builddir/build/BUILD/thunderbird-38.6.0/comm-esr38/mozilla/toolkit/mozapps/installer/packager.py", line 397, in main
    args.source, gre_path, base)
  File "/builddir/build/BUILD/thunderbird-38.6.0/comm-esr38/mozilla/toolkit/mozapps/installer/packager.py", line 156, in precompile_cache
    errors.fatal('Error while running startup cache precompilation')
  File "/builddir/build/BUILD/thunderbird-38.6.0/comm-esr38/mozilla/python/mozbuild/mozpack/errors.py", line 101, in fatal
    self._handle(self.FATAL, msg)
  File "/builddir/build/BUILD/thunderbird-38.6.0/comm-esr38/mozilla/python/mozbuild/mozpack/errors.py", line 96, in _handle
    raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
/builddir/build/BUILD/thunderbird-38.6.0/comm-esr38/mozilla/toolkit/mozapps/installer/packager.mk:36: recipe for target 'stage-package' failed
make[1]: Leaving directory '/builddir/build/BUILD/thunderbird-38.6.0/comm-esr38/objdir/mail/installer'
/builddir/build/BUILD/thunderbird-38.6.0/comm-esr38/mozilla/../mail/build.mk:19: recipe for target 'install' failed
make[1]: *** [stage-package] Error 1
make: *** [install] Error 2


Expected results:

package builds

Additional info:

Comment 1 Marcin Juszkiewicz 2016-03-25 09:08:12 UTC
disabling optimizations (--disable-optimize) allows package to build

Comment 2 Martin Stransky 2016-04-21 11:25:40 UTC
Can you provide me a test box where I can debug that? I'm unable to find anyone working.

Comment 3 Martin Stransky 2016-04-21 11:29:39 UTC

*** This bug has been marked as a duplicate of bug 1315225 ***

Comment 4 Marcin Juszkiewicz 2016-07-11 14:13:56 UTC
cleaning needinfo