Closed
Description
When the new linker from Xcode 15 is used on object files produced by NativeAOT, the Xcode linker produces artifacts that crash during the first stack walk.
As a workaround it is possible to install Xcode 14.3.1 in parallel and set it as the default toolchain using xcode-select
.
This affects arm64 and x64 Macs when using the -p:PublishAot=true
option with .NET 8
It also affects the experimental ios NativeAOT support.
There is already a PR to fix the the underlying issue here:
- [ObjWriter] Emit the MH_SUBSECTIONS_VIA_SYMBOLS header flag for Mach-O llvm-project#471 (for net9)
- [dotnet/release/8.0] [ObjWriter] Emit the MH_SUBSECTIONS_VIA_SYMBOLS header flag for Mach-O llvm-project#472 (for net8.0-rc2 or net8.0-rtm)
I'm opening this issue mostly for tracking purposes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment