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)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Swatinem, Assigned: taras.mozilla)

References

Details

Attachments

(3 files)

Attached patch patchSplinter 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)
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-
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
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
Attached patch configure fixSplinter Review
Assignee: arpad.borsos → tglek
Attachment #399493 - Flags: review?(dwitte)
Attachment #399493 - Flags: review?(dwitte) → review+
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
The assignment was missing so treehydra wasn't actually being compiled.
Attachment #410766 - Flags: review?(tglek)
Attachment #410766 - Flags: review?(tglek) → review+
Attachment #410766 - Attachment description: actually build dehydra → actually build dehydra [pushed: comment 6]
Product: Core → Firefox Build System
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: