-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMP0068 CMake warning on mac #41084
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @ViktorHofer |
@mikem8361 - is it safe to remove the "Untriaged" label from this issue or do we need to track this item in the infra backlog reviews for .NET 5? |
@janvorli do you know if on MacOS x64 that we really need the mscordbi's RPATH in CMakeLists.txt? Removing the below two lines gets rid of the warning, but will it break anything? mscordac/coreclr modules on MacOS don't seem to have RPATHs.
/cc: @sdmaclea |
See #51751. You will probably find create dump will not find the dbi w/o it. I am adding similar lines to fix a broken PAL test on macOS. |
Createdump only loads the DAC not DBI, but it sounds like removing RPATH make cause some problems loading in some of case.
|
@janvorli, @sdmaclea, does anybody know why we use @rpath on OSX arm64 and @loader_path on x64? When I use @rpath for all OSX architectures it builds without warnings, the dotnet-diagnostictests and SOS can load DBI just fine.
/cc: @hoyosjs |
I don't. @jkoritzinsky do you know? |
@janvorli is the best contact for this. |
The difference between |
I can't figure out how to get rid of this CMP0068 policy warning without possibly breaking something like managed debugging or SOS. @k15tfu recently switched back from "@rpath" to "@loader_path" for OSX. We could continue to ignore the policy warning but eventually it come back and bite us.
|
Maybe setting |
Fix in PR: #68095 |
Description
The text was updated successfully, but these errors were encountered: