Closed Bug 1426198 Opened 7 years ago Closed 7 years ago

Skip the linker major version check for lld builds

Categories

(Firefox Build System :: General, enhancement)

enhancement
Not set
normal

Tracking

(firefox59 fixed)

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: away, Assigned: away)

References

Details

Attachments

(1 file)

Comparing the linker version against the cl version doesn't make sense in lld builds. I suppose we _could_ try to check against the clang version, but I don't see much value in it.
Attached patch linkerversionSplinter Review
(Note the $LINKER comes from bug 1425906 being earlier in my patch queue) This case statement feels a little bit awkward, but I wanted to include any form like lld-link, lld-link.exe, and also $LINKER is a full path at this point. Let me know if there's a nicer way to do this.
Assignee: nobody → dmajor
Attachment #8937763 - Flags: review?(mh+mozilla)
I'd be inclined to move this all to toolchain.configure and then presumably you'd have better info and could skip the check if the compiler is msvc.
I am more than happy for someone who isn't me to do that.
Attachment #8937763 - Flags: review?(mh+mozilla) → review+
Pushed by dmajor@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/424f72637e6f Skip the linker version check in lld builds. r=glandium
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: