Bug 858090
Summary: | Xulrunner fails to build on debug mode [ppc] | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Gustavo Luiz Duarte <gustavold> | ||||||
Component: | xulrunner | Assignee: | Martin Stransky <stransky> | ||||||
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 20 | CC: | caillon+fedoraproject, gecko-bugs-nobody, gustavold, jkeck, stransky, walters | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | ppc64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | |||||||||
: | 1119307 (view as bug list) | Environment: | |||||||
Last Closed: | 2014-07-11 15:36:19 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: | |||||||||
Attachments: |
|
Looks like ppc(64) specific, it builds fine on x86. Created attachment 614099 [details]
Build log
A better build log (built using -j1 instead of -j32). It shows more clearer the error message, which is:
/builddir/fedora/xulrunner/f18/xulrunner-15.0.1/mozilla-release/js/src/jsapi.cpp:818:20: error: 'JMCheckLogging' was not declared in this scope
Unfortunately I don't have any Fedora/ppc box for testing. I may wait for Firefox 17 and sync it with RHEL. Martin, we have testing ppc64 boxes available. Please ask for access on #fedora-ppc on freenode. Is that still problem with latest Firefox? (In reply to Martin Stransky from comment #5) > Is that still problem with latest Firefox? Yes, I tried to build xulrunner-25.0-5.fc20 on ppc64 with debug enabled and it failed with the following error: /builddir/fedora/xulrunner/f20/xulrunner-25.0/mozilla-release/memory/mozjemalloc/jemalloc.c:3995: Failed assertion: "min_run_size <= RUN_MAX_SMALL" This message is a reminder that Fedora 18 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 18. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '18'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 18's end of life. Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 18 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 18's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Reassigning this to F20 as per comment #6 It's because ENABLE_ION is not defined on ppc by default. The JIT debugger fails to build here. |
Created attachment 613818 [details] Build log Description of problem: Xulrunner fails to build when debug is enabled and optimizations are disabled. This makes it hard to debug firefox/xulrunner issues. Attached the build log. Build fails with the following error message: In file included from /usr/include/stdio.h:27:0, from /builddir/fedora/xulrunner/f18/xulrunner-15.0.1/mozilla-release/js/src/jsoplengen.cpp:8: /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] In file included from /usr/include/assert.h:36:0, from /builddir/fedora/xulrunner/f18/xulrunner-15.0.1/mozilla-release/js/src/jskwgen.cpp:9: /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] make[5]: Leaving directory `/builddir/fedora/xulrunner/f18/xulrunner-15.0.1/mozilla-release/objdir/js/src' Version-Release number of selected component (if applicable): xulrunner-15.0.1-3.fc18 How reproducible: Always. Steps to Reproduce: 1. Get the code: fedpkg clone -a --branch f18 xulrunner 2. Change the variable 'debug_build' in the spec file to 1. 3. Build it: fedpkg local Actual results: Build fails. Expected results: Build succeeds and generates binaries without optimizations. Additional info: