Skip to content

Fix nativeaot arm64 build on macOS - #72733

Merged
jkotas merged 1 commit into
dotnet:mainfrom
am11:feature/nativeaot/osx-fixes
Jul 24, 2022
Merged

jkotas merged 1 commit into
dotnet:mainfrom
am11:feature/nativeaot/osx-fixes

Conversation

@am11

@am11 am11 commented Jul 24, 2022 •

Copy link
Copy Markdown
Member

It fixes this sort of assembler errors during the clr subset build:

...
<instantiation>:2:9: error: unknown directive
        .hidden _RhpNewFast
        ^
/runtime/src/coreclr/nativeaot/Runtime/arm64/AllocFast.S:21:5: note: while in macro instantiation
    LEAF_ENTRY RhpNewFast, _TEXT
    ^
<instantiation>:3:9: error: unknown directive
        .type RhpNewFast, %function
        ^
/runtime/src/coreclr/nativeaot/Runtime/arm64/AllocFast.S:21:5: note: while in macro instantiation
    LEAF_ENTRY RhpNewFast, _TEXT
    ^
...

nativeaot build is still disabled for osx-arm64 in configs. This helps implementing support on top of latest main.

Part of #67232 (some other parts of WIP patch have already been merged / squashed in 8c71651, 17b3c56 and 41def7c)

@am11
am11 requested a review from MichalStrehovsky as a code owner July 24, 2022 10:08
@ghost ghost added area-NativeAOT-coreclr community-contribution Indicates that the PR has been added by a community member labels Jul 24, 2022

@jkotas jkotas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@jkotas
jkotas merged commit f4b9bac into dotnet:main Jul 24, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Aug 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-NativeAOT-coreclr community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants