Closed Bug 1710957 Opened 5 months ago Closed 4 months ago

lld-link: unknown argument: -RELEASE warnings during build

Categories

(Firefox Build System :: General, task)

Unspecified
Windows
task

Tracking

(firefox90 fixed)

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: rjl, Assigned: rjl)

Details

Attachments

(1 file)

The Firefox (and Thunderbird) Windows builds produce a warning approx 300 times:

lld-link: warning: ignoring unknown argument '-RELEASE'

The -RELEASE argument gets added to LDFLAGS by old-configure.in (and in the js old-configure.in) and appears to be a vestige from the days of using MSVC and its LINK.EXE.

-RELEASE is not supported by lld-link. There is a bug filed in the LLVM Bugzilla instance by RyanVM, but nothing has happened with it.

This fixes several warnings from clang-cl/lld-link when building Firefox.
-RELEASE is not supported by lld-link.

Assignee: nobody → rob
Status: NEW → ASSIGNED
Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/integration/autoland/rev/9aff2b1ea30b
Do not pass -RELEASE argument to lld-link. r=firefox-build-system-reviewers,mhentges,glandium
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.