xamarin / xamarin-macios

.NET for iOS, Mac Catalyst, macOS, and tvOS provide open-source bindings of the Apple SDKs for use with .NET managed languages such as C#
Other
2.42k stars 507 forks source link

Figure out what the problem is with removing '-ld_classic' #20711

Open rolfbjarne opened 2 weeks ago

rolfbjarne commented 2 weeks ago

Apple is deprecating -ld_classic. From Xcode 16's release notes (https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes):

-ld_classic linker option is deprecated and will be removed in a future release. 

We need to stop passing -ld_classic to the native linker, and figure out and fix why we currently can't.

filipnavara commented 1 week ago

Ref: https://github.com/dotnet/runtime/issues/97745

rolfbjarne commented 1 week ago

Ref: dotnet/runtime#97745

That's about NativeAOT, we also have problems with Mono. Still good link to have.