You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I compile my .net 5 class library into a native MacOS library I get the following linker warnings:
Generating native code
ld : warning : could not create compact unwind for _S_P_CoreLib_System_Number__Dragon4: stack subq instruction is too different from dwarf stack size [/Users/X/Documents/Source/AzureDevOps/Isotope/Frameworks/Aelian.Applications.MosNet.VST3Bootstrap/Aelian.Applications.MosNet.VST3Bootstrap.csproj]
ld : warning : can't parse dwarf compilation unit info in obj/Release/net5.0/osx-x64/native/Aelian.Applications.MosNet.VST3Bootstrap.o [/Users/X/Documents/Source/AzureDevOps/Isotope/Frameworks/Aelian.Applications.MosNet.VST3Bootstrap/Aelian.Applications.MosNet.VST3Bootstrap.csproj]
Is this going to give me trouble down the line?
I used dotnet publish /p:NativeLib=Shared -r osx-x64 -c Release to build the project
Also, on MacOS it produces a 14 MB dylib whereas the native windows x64 dll is only 5 MB. I used the following trimming options in the csproj:
When I compile my .net 5 class library into a native MacOS library I get the following linker warnings:
Is this going to give me trouble down the line?
I used
dotnet publish /p:NativeLib=Shared -r osx-x64 -c Release
to build the projectAlso, on MacOS it produces a 14 MB dylib whereas the native windows x64 dll is only 5 MB. I used the following trimming options in the csproj:
Is there a reason the dylib is that much larger? And is there any way I can slim it down?
The text was updated successfully, but these errors were encountered: