-
Notifications
You must be signed in to change notification settings - Fork 203
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
Linker warnings on OSX #956
Comments
Where this is happens ? |
On macOS. I think even a hello world will hit a bunch of these. |
I can confirm these warnings on macos, triggered by any F# app that I compile. Even a standard "hello world". The same code will compile fine on linux. |
There's a bug in the LLVM MC code for the implicit DWARF generation. The debug information should use section relative offsets with no relocations. The Mach-O backend ensures that in the relocation emitting code by looking up Long story short, dotnet/llvm-project#269 switched objwriter to fully custom DWARF generation that doesn't suffer from the same problem. It no longer calls |
This is likely solved now by switch to DWARF CFI across the board. The ld64 and LLVM algorithm for generating compact unwinding codes cannot convert prologs that do |
Should we close this now? macOS support works as of .NET 8 RTM. |
We get 3 kinds of warnings:
Anyways, I burned too much time on this and I personally do not care about Apple. This is up for grabs.
The text was updated successfully, but these errors were encountered: