Closed
Bug 944265
Opened 11 years ago
Closed 11 years ago
Do proper quoting of DEFINES
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla28
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file)
8.61 KB,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
What broke ASAN when bug 874266 landed is that ac_configure_args contains many things, and one of them is "--enable-optimize='something with spaces'". When that goes through the quoting in data.py, that fails because we're just adding quotes around the string, and that's clearly not enough. Relatedly, the treatment done to ACDEFINES is better, but using double quotes causes problems with pristine non-msys GNU make paired with msys bash on windows (which is a setup i want to get working because it would avoid a lot of shell invocations).
Assignee | ||
Comment 1•11 years ago
|
||
Note: I don't feel like doing it now, but we're not doing this quoting at the right level, because it's specific to how make invokes command lines and other backends may not want to do the same kind of quoting, but we're currently imposing it upon them.
Attachment #8339769 -
Flags: review?(gps)
Comment 2•11 years ago
|
||
Comment on attachment 8339769 [details] [diff] [review] Do proper quoting of DEFINES, and do the same for ACDEFINES Review of attachment 8339769 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for adding test coverage.
Attachment #8339769 -
Flags: review?(gps) → review+
Assignee | ||
Comment 3•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/9af1bfc53b44
Comment 4•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9af1bfc53b44
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
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
•