Closed
Bug 510175
Opened 16 years ago
Closed 16 years ago
Shouldn't be parsing error message to determine plugin support in gcc 4.5
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Swatinem, Assigned: taras.mozilla)
References
Details
Attachments
(3 files)
|
3.31 KB,
patch
|
taras.mozilla
:
review-
|
Details | Diff | Splinter Review |
|
1.06 KB,
patch
|
dwitte
:
review+
|
Details | Diff | Splinter Review |
|
1.06 KB,
patch
|
taras.mozilla
:
review+
|
Details | Diff | Splinter Review |
Using LANG=C in subprocesses makes output matching work no matter what the
console language is.
Alternatively you could pull this patch from http://hg.swatinem.de/dehydra/
Attachment #394244 -
Flags: review?(tglek)
| Assignee | ||
Comment 1•16 years ago
|
||
Comment on attachment 394244 [details] [diff] [review]
patch
>+ env = os.environ
>+ env['LANG'] = 'C'
good idea on LANG=C, i didn't even consider localization problems. Unfortunately I can't take the Popen changes due to having a few users on older RHEL distros. The code originally used subprocess, but hard to be uglified to work with older python.
I should add a comment about that.
Attachment #394244 -
Flags: review?(tglek) → review-
| Assignee | ||
Comment 2•16 years ago
|
||
Correct way to fix this for 4.5 is: try_gcc_plugin_headers should superseed try_enable_treehydra because if it succeeded, we have plugin support, so no need to test for it.
Blocks: 437502
| Assignee | ||
Updated•16 years ago
|
Summary: Use subprocess.Popen instead of deprecated popen2 and use LANG=C for subprocesses → Shouldn't be parsing error message to determine plugin support in gcc 4.5
| Assignee | ||
Comment 3•16 years ago
|
||
Assignee: arpad.borsos → tglek
Attachment #399493 -
Flags: review?(dwitte)
Updated•16 years ago
|
Attachment #399493 -
Flags: review?(dwitte) → review+
| Assignee | ||
Comment 4•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 5•16 years ago
|
||
The assignment was missing so treehydra wasn't actually being compiled.
Attachment #410766 -
Flags: review?(tglek)
| Assignee | ||
Updated•16 years ago
|
Attachment #410766 -
Flags: review?(tglek) → review+
| Reporter | ||
Comment 6•16 years ago
|
||
Comment on attachment 410766 [details] [diff] [review]
actually build dehydra [pushed: comment 6]
http://hg.mozilla.org/rewriting-and-analysis/dehydra/rev/e21bcf163eee
Attachment #410766 -
Attachment description: actually build dehydra → actually build dehydra [pushed: comment 6]
Updated•8 years ago
|
Product: Core → Firefox Build System
Updated•3 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•