Skip to content

Conversation

@filipnavara
Copy link
Member

Fixes the following build error:

  Generating native code
  ld: Undefined symbols:
    Thread::IsCurrentThreadInCooperativeMode(), referenced from:
        ObjCMarshalNative::RegisterBeginEndCallback(void*) in libRuntime.ServerGC.a[56](interoplibinterface_objc.cpp.o)
  clang: error: linker command failed with exit code 1 (use -v to see invocation)

@ghost ghost added community-contribution Indicates that the PR has been added by a community member area-NativeAOT-coreclr labels Feb 10, 2024
@ghost
Copy link

ghost commented Feb 10, 2024

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

Issue Details

Fixes the following build error:

  Generating native code
  ld: Undefined symbols:
    Thread::IsCurrentThreadInCooperativeMode(), referenced from:
        ObjCMarshalNative::RegisterBeginEndCallback(void*) in libRuntime.ServerGC.a[56](interoplibinterface_objc.cpp.o)
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
Author: filipnavara
Assignees: -
Labels:

community-contribution, area-NativeAOT-coreclr

Milestone: -

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

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

Thanks

@jkotas
Copy link
Member

jkotas commented Feb 10, 2024

Is this with new XCode?

@filipnavara
Copy link
Member Author

Is this with new XCode?

Xcode 15.2 but I don’t think it’s specific to that version.

@jkotas jkotas merged commit 36b18a3 into dotnet:main Feb 10, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Mar 12, 2024
@filipnavara filipnavara deleted the fix-checked-macos-build branch April 2, 2025 19:57
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 os-mac-os-x macOS aka OSX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants