Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NativeAOT] Use ld_classic in ILC build and in build integration #98726

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented Feb 20, 2024

Forward port of #97856

Workaround for #97745

…dotnet#97856)

* use ld_classic in ILC build and in build integration

* PR feedback

* Maybe fix the build for non-apple

* Update src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets

PR feedback

Co-authored-by: Jan Kotas <jkotas@microsoft.com>

---------

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
@ghost
Copy link

ghost commented Feb 20, 2024

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

Issue Details

Forward port of #97856

Workaround for #97745

Author: jkotas
Assignees: jkotas
Labels:

area-NativeAOT-coreclr

Milestone: -

@jkotas
Copy link
Member Author

jkotas commented Feb 21, 2024

The actual fix for the xcode 15+ linker issue is likely going to require xcode update, so we should forward port the servicing fix in the meantime.

@VSadov
Copy link
Member

VSadov commented Feb 21, 2024

The change is also a part of #98117 .

I assume we just want to go ahead with a standalone fix (not a part of that change)?

@jkotas
Copy link
Member Author

jkotas commented Feb 21, 2024

Yes, I do not think we want to wait for that change to stabilize.

Copy link
Member

@VSadov VSadov left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@VSadov
Copy link
Member

VSadov commented Feb 21, 2024

I've run tests locally with this change and checked runtime on a machine with xcode 15.2.
( ./build.sh clr+libs+libs.tests -rc checked -lc release /p:TestNativeAot=true -test)

Everything passed.

@jkotas jkotas merged commit 11bdd1b into dotnet:main Feb 21, 2024
107 of 110 checks passed
@jkotas jkotas deleted the issue-97745 branch February 21, 2024 01:38
@github-actions github-actions bot locked and limited conversation to collaborators Mar 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants