Closed
Bug 906225
Opened 11 years ago
Closed 11 years ago
Don't force developers to choose between --enable-release and mandatory ld.gold
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla27
People
(Reporter: justin.lebar+bug, Assigned: glandium)
References
Details
Attachments
(1 file, 1 obsolete file)
3.38 KB,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
I've had to switch away from gold in the past because it broke valgrind. I know someone else who can't use gold because linking completely freezes his machine. The idea that now I have to choose between --enable-release and mandatory ld.gold feels pretty counterproductive. I'm totally in favor of having sane defaults, but we're all adults here; I don't think we need to be taking away reasonable configuration options from developers, especially since we still support ld.bfd (afaik).
Updated•11 years ago
|
Comment 2•11 years ago
|
||
I am finding that the version of gold that ships with debian wheezy (binutils 2.22-8) is broken on the powerpc, many of the programs that configure compiles and runs segfault on startup. The attached patch adds a configure option to disable gold on a non-release build Will this also solve Justin's issue?
Assignee | ||
Comment 3•11 years ago
|
||
This allows to disable gold on developer builds, and to enable gold on release builds, if we ever feel like it.
Attachment #810416 -
Flags: review?(gps)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•11 years ago
|
||
Comment on attachment 801299 [details] [diff] [review] add_disable_gold.patch Thanks for the original patch.
Attachment #801299 -
Attachment is obsolete: true
Comment 5•11 years ago
|
||
Comment on attachment 810416 [details] [diff] [review] Add a --enable/disable-gold configure flag. Review of attachment 810416 [details] [diff] [review]: ----------------------------------------------------------------- I didn't actually test this but LGTM.
Attachment #810416 -
Flags: review?(gps) → review+
Assignee | ||
Comment 6•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/3b609dd4b505
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/3b609dd4b505
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(mh+mozilla)
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•