Closed
Bug 1484184
Opened 6 years ago
Closed 6 years ago
Remove now unused _RAISE macro check to deal with MSVC 2017 15.8 (also affects clang-cl builds)
Categories
(Firefox Build System :: General, enhancement)
Firefox Build System
General
Tracking
(firefox-esr60 fixed, firefox63 fixed)
RESOLVED
FIXED
mozilla63
People
(Reporter: emk, Assigned: emk)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
3.60 KB,
patch
|
froydnj
:
review+
RyanVM
:
approval-mozilla-esr60+
|
Details | Diff | Splinter Review |
15.8 moved _RAISE definitions to <yvals.h>.
Assignee | ||
Comment 1•6 years ago
|
||
Attachment #9001940 -
Flags: review?(core-build-config-reviews)
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → VYV03354
Status: NEW → ASSIGNED
Comment 2•6 years ago
|
||
Hmmm, this affects clang build as well because it's the SDK change.
Comment 3•6 years ago
|
||
Also I can confirm that this patch fixes that problem.
Assignee | ||
Comment 4•6 years ago
|
||
(In reply to Xidorn Quan [:xidorn] UTC+10 from comment #2)
> Hmmm, this affects clang build as well because it's the SDK change.
More precisely, this is a CRT change. Although CRT headers do not belong to SDK, clang-cl depends on CRT headers and libraries.
Assignee | ||
Updated•6 years ago
|
Summary: Fix _RAISE macro check with MSVC 2017 15.8 → Fix _RAISE macro check with MSVC 2017 15.8 (also affects clang-cl builds)
Comment 5•6 years ago
|
||
Actually, I'm wondering do we still need this check at all.
Grepping the whole codebase, I don't see we override _RAISE at all. Maybe this is just some out-of-date stuff we didn't clean up?
Assignee | ||
Comment 6•6 years ago
|
||
Comment on attachment 9001940 [details] [diff] [review]
Fix _RAISE macro check with MSVC 2017 15.8
Oh, you are right. Bug 1376057 removed the use of _RAISE. I will update the patch.
Attachment #9001940 -
Flags: review?(core-build-config-reviews)
Assignee | ||
Updated•6 years ago
|
Summary: Fix _RAISE macro check with MSVC 2017 15.8 (also affects clang-cl builds) → Remove now unused _RAISE macro check to deal with with MSVC 2017 15.8 (also affects clang-cl builds)
Assignee | ||
Updated•6 years ago
|
Summary: Remove now unused _RAISE macro check to deal with with MSVC 2017 15.8 (also affects clang-cl builds) → Remove now unused _RAISE macro check to deal with MSVC 2017 15.8 (also affects clang-cl builds)
Assignee | ||
Comment 7•6 years ago
|
||
Attachment #9002421 -
Flags: review?(core-build-config-reviews)
Assignee | ||
Updated•6 years ago
|
Attachment #9001940 -
Attachment is obsolete: true
Comment 8•6 years ago
|
||
Comment on attachment 9002421 [details] [diff] [review]
Remove now unused _RAISE macro check to deal with MSVC 2017 15.8
Review of attachment 9002421 [details] [diff] [review]:
-----------------------------------------------------------------
This is great, I had hacky patches to workaround this for AArch64, and it's nice to know that I don't need to polish them. Thank you!
Attachment #9002421 -
Flags: review?(core-build-config-reviews) → review+
Pushed by VYV03354@nifty.ne.jp:
https://hg.mozilla.org/integration/mozilla-inbound/rev/1ef81d07bc5b
Remove now unused _RAISE macro check to deal with MSVC 2017 15.8. r=froydnj
Comment 10•6 years ago
|
||
Backed out for bustages on test_toolchain_configure.py
Push link: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=dca5444170e0a59c7a3a5321bece62d717fb6c1a
Backout link: https://hg.mozilla.org/integration/mozilla-inbound/rev/2e949e5a9a62d0db0d33833e1e875f12f2969ac4
Log link: https://treeherder.mozilla.org/logviewer.html#?job_id=194880403&repo=mozilla-inbound&lineNumber=41172
Flags: needinfo?(VYV03354)
Assignee | ||
Comment 11•6 years ago
|
||
This test failure is bug 1484190. I'll re-land this patch.
Flags: needinfo?(VYV03354)
Comment 12•6 years ago
|
||
Pushed by VYV03354@nifty.ne.jp:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c66cc808862f
Remove now unused _RAISE macro check to deal with MSVC 2017 15.8. r=froydnj
Updated•6 years ago
|
Blocks: aarch64-windows
Comment 13•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Comment on attachment 9002421 [details] [diff] [review]
Remove now unused _RAISE macro check to deal with MSVC 2017 15.8
[ESR Uplift Approval Request]
If this is not a sec:{high,crit} bug, please state case for ESR consideration: Current tooling used to build central may fail to build esr60 on Windows using either msvc or clang. This is a hindrance to devs, who either need to rollback their tooling, or manually apply the fixes from bug 1484184 (this bug), and in the case of clang also bug 1462616 -- which I will request uplift of separately. Uplifting these patches smooths development of esr60 on Windows, and avoids devs having to manually discover these fixes and apply them.
User impact if declined: End users are not impacted. Devs will not be able build esr60 without finding and applying the above patches.
Fix Landed on Version: 63
Risk to taking this patch: Low
Why is the change risky/not risky? (and alternatives if risky): The change is small and to the build system. The change has baked since 63. I have verified that esr60 Windows builds work with clang following the application of this and the other mentioned patch.
String or UUID changes made by this patch: None.
Attachment #9002421 -
Flags: approval-mozilla-esr60?
Comment 15•6 years ago
|
||
Comment on attachment 9002421 [details] [diff] [review]
Remove now unused _RAISE macro check to deal with MSVC 2017 15.8
Makes life easier for devs compiling ESR60 with newer MSVC toolchains. Approved for 60.5.0esr.
Attachment #9002421 -
Flags: approval-mozilla-esr60? → approval-mozilla-esr60+
Comment 16•6 years ago
|
||
bugherder uplift |
status-firefox-esr60:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•