Skip to content

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 <[email protected]>

---------

Co-authored-by: Jan Kotas <[email protected]>
@ghost ghost assigned jkotas Feb 20, 2024
@jkotas jkotas requested a review from VSadov February 20, 2024 23:59
@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
@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