Skip to content

iOS: LLVM fails for ios-arm #58112

Closed

Description

@rolfbjarne

Description

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

  1. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Aug 25, 2021
  2. rolfbjarne commented on Aug 25, 2021

    @rolfbjarne
    MemberAuthor
  3. filipnavara commented on Aug 25, 2021

    @filipnavara
    Member

    The option was renamed in newer LLVM, so this line needs to be changed:

    g_string_append (acfg->llc_args, " -exception-model=dwarf -disable-fp-elim");

    I think the new name of the option is -mframe-pointer=all.

  4. steveisok commented on Aug 25, 2021

    @steveisok
    Member
  5. removed
    untriagedNew issue has not been triaged by the area owner
    on Aug 26, 2021
  6. added this to the 6.0.0 milestone on Aug 26, 2021
  7. ghost added
    in-prThere is an active PR which will close this issue when it is merged
    on Aug 26, 2021
  8. ghost removed
    in-prThere is an active PR which will close this issue when it is merged
    on Aug 30, 2021
  9. ghost locked as resolved and limited conversation to collaborators on Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions