Closed Bug 578012 Opened 15 years ago Closed 15 years ago

with --enable-C, test suite doesn't pass if CXX doesn't end in "g++"

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

All
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file)

On Debian systems, and I believe a lot of other distros, gcc/g++ can be called with a -x.y suffix for the version. gcc and g++ without the suffix will usually use the system default version, which is not necessarily the right one to build dehydra. At the moment, debian default is 4.4, which means to use g++ 4.5, I need to invoke g++-4.5. The string replacing that occurs in test/unit_test_harness.py makes that g++-4cc for the C counterpart, which fails for obvious reasons.
Attached patch PatchSplinter Review
This should work.
Assignee: nobody → mh+mozilla
Attachment #456835 - Flags: review?(tglek)
Comment on attachment 456835 [details] [diff] [review] Patch The proper fix is to check for $CC in configure, but this will do for now
Attachment #456835 - Flags: review?(tglek) → review+
Blocks: 437502
Do you want me to check that in?
(In reply to comment #3) > Do you want me to check that in? Yes please.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
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: