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
Asking the AOT compiler to use LLVM fails with the ios-arm RuntimeIdentifier:
Tool /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.ios-arm/6.0.0-rc.2.21424.7/Sdk/../tools/mono-aot-cross execution started with arguments: --aot=mtriple=armv7-ios,data-outfile=obj/Debug/net6.0-ios/ios-arm/nativelibraries/aot-output/armv7/Xamarin.iOS.aotdata,static,asmonly,direct-icalls,full,nodebug,dwarfdebug,llvm-path=/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.ios-arm/6.0.0-rc.2.21424.7/Sdk/../tools,outfile=obj/Debug/net6.0-ios/ios-arm/nativelibraries/aot-output/armv7/Xamarin.iOS.dll.s,llvm-outfile=obj/Debug/net6.0-ios/ios-arm/nativelibraries/aot-output/armv7/Xamarin.iOS.dll.llvm.o --debug --llvm -O=gsharedvt /Users/rolf/work/maccore/dotnet-publish/SubmissionSamples/iOSCoolApp/dotnet/obj/Debug/net6.0-ios/ios-arm/linked/Xamarin.iOS.dll
[...]
llc: Unknown command line argument '-disable-fp-elim'. Try: '/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.ios-arm/6.0.0-rc.2.21424.7/Sdk/../tools/llc --help'
llc: Did you mean '--disable-lsr'?
Activity
rolfbjarne commentedon Aug 25, 2021
CC @steveisok @akoeplinger
filipnavara commentedon Aug 25, 2021
The option was renamed in newer LLVM, so this line needs to be changed:
runtime/src/mono/mono/mini/aot-compiler.c
Line 1152 in d40fbf4
I think the new name of the option is
-mframe-pointer=all.steveisok commentedon Aug 25, 2021
/cc @SamMonoRT
[iOSCoolApp] Build only for ios-arm64, due to dotnet/runtime#58112.
Port samples used for submission tests to .NET. (#38)
imhameed commentedon Aug 26, 2021
Looks like the replacement flag is
-frame-pointer=all:dotnet/llvm-project@b7cef81
https://github.com/dotnet/llvm-project/blob/d3d2c8a945299ff90b998de4b3cdf863be0f043e/llvm/lib/CodeGen/CommandFlags.cpp#L176-L187
[mono] Replace -disable-fp-elim with -frame-pointer=all
[mono] Replace -disable-fp-elim with -frame-pointer=all
[mono] Replace -disable-fp-elim with -frame-pointer=all (#58195)
[mono] Replace -disable-fp-elim with -frame-pointer=all (#58192)
Remove workaround for dotnet/runtime#58112
Remove workaround for dotnet/runtime#58112 (#40)
Revert "Remove workaround for dotnet/runtime#58112 (xamarin#40)"