-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Cherry picking Mojave fix (#30716) to release 2.1 #30744
Conversation
@@ -26,6 +26,9 @@ set(NATIVECRYPTO_SOURCES | |||
pal_x509chain.cpp | |||
) | |||
|
|||
# Temporary workaround for dotnet/corefx issue #30599 | |||
add_compile_options(-Wno-deprecated-declarations) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't need this on the public beta for Mojave (not sure why, but I didn't).
I'm also not sure if it's important that things build on Mojave (this file), just execute (the other file). Particularly if we anticipate a different fix (given the "Temporary" in the comment here)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's weird you didn't need it. Did you also upgrade your Xcode? It happened to me with both Xcode 10 betas that were released so far.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Either 10 beta or 10 beta2, yeah. Because I tried installing the 10 beta2 CLI tools, things (Homebrew) still detected 9.x, then I "installed" the 10 beta (1) UI, did more things, and eventually figured out that by "installed" I had "downloaded and extracted" it. Then finally figured out how to make that work.
When I was confused I dug out the header file, it did have the deprecated attribute (indicating 10.14 as the upper range), and I stayed confused.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, the Xcode installation can be a bit of a pain if you want to keep different versions around...
xcode-select -p
/Applications/Xcode-beta.app/Contents/Developer
I'm fine with whichever fix for servicing. I wouldn't expect Apple to be so aggressive as to the removal of the old function to cause us a problem during the support lifetime; and if we ever hit a problem we can take the other one. |
Ok let's take just this smaller fix to ship room. @maryamariyan Could you please add a row to the table again? I deleted the previous one while we waited... |
@dotnet-bot test OSX x64 Debug Build please Approved by shiproom - merge when green |
Related to issue #30599
Cherry picks PR #30716
cc: @danmosemsft @bartonjs