Hello
I was trying to build openjdk (zero vm) for arm mac using xcode12 and cross-compiling on x86_64 host.
I found out a serious blocker, the JNF framework is x86_64 only, it's located here
Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaNativeFoundation.framework
However in xcode12 I can find a version of JNF framework which is built for x86_64 and arm64 and it's library, not just tbd.
SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/java-arm64/Frameworks/JavaNativeFoundation.framework/JavaNativeFoundation
The problem is: I probably can't share openjdk for arm64 mac if it includes JNF.framework from apple's build of openjdk ( and without it java won't work)
Is there any hope to get system wide JNF.framework for arm64 any time soon ?
Post
Replies
Boosts
Views
Activity
Hello
I have found that pthread_jit_write_protect_np (in macos 11.4beta) has first instruction - "pacibsp"
it's part of pointer auth code from arm64e, but the binary is arm64, not arm64e.
Just want to understand if it's some leftover or intended behaviour ?