-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
AMD64DarwinUContextRegisterDumperFeature is not triggered for org.graalvm.nativeimage.Platform.IOS_AMD64 #4162
Comments
… triggered for org.graalvm.nativeimage.Platform.IOS_AMD64
I fixed this by adding required annotations after the fix the build works again |
I've run into this same issue, and the proposed fix works for me too. |
From my perspective, the issue here is that IOS is a subclass of DARWIN, but IOS_AARCH64 and IOS_AMD64 are not subclasses of DARWIN_AARCH64 and DARWIN_AMD64. I think also there should be an explicit MACOS leaf platform. You can track the fix at #4171 |
can we see this in 22 ? |
Tested #4171, works fine on macOS (AMD64), iOS (AArch64) and iOS simulator (AMD64). |
#4171 has been merged, so this should be resolved |
So will this be released in 22.1 or 22.0.x? |
22.1 I guess, you can find my build in my repo already. We have migrated to 22.1 beta with 17. And then I was removed |
Yeah I'm trying to apply your patch to 22.0. |
Yes, this will be part of 22.1 |
My patch is for java 17. We decided to drop j11 since it is maintenance state |
After fixing this #3859
I've found a new issue: AMD64DarwinUContextRegisterDumperFeature is not triggered for
org.graalvm.nativeimage.Platform.IOS_AMD64
GraaVM 22.0 is affected
As a result we can see a following error in during build
Fatal error: com.oracle.svm.core.util.VMError$HostedError: guarantee failed
at com.oracle.svm.core.util.VMError.shouldNotReachHere(VMError.java:68)
at com.oracle.svm.core.util.VMError.guarantee(VMError.java:82)
at com.oracle.svm.core.SubstrateSegfaultHandlerFeature.beforeAnalysis(SubstrateSegfaultHandler.java:76)
at com.oracle.svm.hosted.NativeImageGenerator.lambda$runPointsToAnalysis$9(NativeImageGenerator.java:694)
The text was updated successfully, but these errors were encountered: