Closed
Bug 1237863
Opened 8 years ago
Closed 7 years ago
Silence linker warnings from MOZ_FOLD_LIBS on Windows
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
WONTFIX
mozilla47
People
(Reporter: ted, Assigned: ted)
References
Details
Attachments
(1 file)
We get a ton of linker warnings about linking NSPR into NSS because all the NSPR symbols are declspec(dllimport). They were bothering me while working on bug 1230117 so I fixed it.
Assignee | ||
Comment 1•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/30721/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/30721/
Attachment #8707471 -
Flags: review?(mh+mozilla)
Comment 2•8 years ago
|
||
Comment on attachment 8707471 [details] MozReview Request: bug 1237863 - Silence linker errors from MOZ_FOLD_LIBS on Windows. r=glandium https://reviewboard.mozilla.org/r/30721/#review27833 ::: config/external/nss/Makefile.in:258 (Diff revision 1) > +MOZ_FOLD_LIBS_FLAGS += -D_NSPR_BUILD_=1 _NSPR_BUILD_ changes the definition of NSPR_API/NSPR_DATA_API to use PR_EXPORT instead of PR_IMPORT. Technically, switching from one to the other only affects windows, because everywhere else, PR_EXPORT and PR_IMPORT are the same thing. So it seems to me you can remove the OS_TARGET test.
Attachment #8707471 -
Flags: review?(mh+mozilla) → review+
Assignee | ||
Updated•8 years ago
|
Attachment #8707471 -
Attachment description: MozReview Request: bug 1237863 - Silence linker errors from MOZ_FOLD_LIBS on Windows. r?glandium → MozReview Request: bug 1237863 - Silence linker errors from MOZ_FOLD_LIBS on Windows. r=glandium
Assignee | ||
Comment 3•8 years ago
|
||
Comment on attachment 8707471 [details] MozReview Request: bug 1237863 - Silence linker errors from MOZ_FOLD_LIBS on Windows. r=glandium Review request updated; see interdiff: https://reviewboard.mozilla.org/r/30721/diff/1-2/
Assignee | ||
Comment 4•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/a97ef6f6f50acd9fa82d19e4f0d3f5e44c9de757 bug 1237863 - Silence linker errors from MOZ_FOLD_LIBS on Windows. r=glandium
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a97ef6f6f50a
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Updated•7 years ago
|
Target Milestone: mozilla46 → mozilla47
Assignee | ||
Comment 6•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=c9613f97f577
Assignee | ||
Comment 7•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e265e7992928c9ca7bacfd8bfca1929e974b2467 backout bug 1237863 - Silence linker errors from MOZ_FOLD_LIBS on Windows for causing shutdown crashes on Windows (bug 1242802). r=me
Assignee | ||
Comment 8•7 years ago
|
||
I backed this out for causing the crashes in bug 1242802. This doesn't seem worth fixing given that headache. When we tackle fixing NSS' build system we can make this go away.
Resolution: FIXED → WONTFIX
Updated•7 years ago
|
status-firefox46:
affected → ---
status-firefox47:
fixed → ---
Updated•5 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•