You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this pr will fix error while building on mac silicon:
Error: DARWIN does not support building static executable images.
[8/8] Creating image... [***] (0.0s @ 3.01GB)
com.oracle.svm.core.util.UserError$UserException: DARWIN does not support building static executable images.------------------------------------------------------------------------------------------------------------------------
at org.graalvm.nativeimage.builder/com.oracle.svm.core.util.UserError.abort(UserError.java:73)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.image.CCLinkerInvocation$DarwinCCLinkerInvocation.setOutputKind(CCLinkerInvocation.java:431)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.image.CCLinkerInvocation.getCommand(CCLinkerInvocation.java:206)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.image.NativeImageViaCC.write(NativeImageViaCC.java:117)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:741)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:550)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:539)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:721)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.start(NativeImageGeneratorRunner.java:143)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:98)
7.5s (12.0% of total time) in 205 GCs | Peak RSS: 4.41GB | CPU load: 6.30
========================================================================================================================
Finished generating 'migtool' in 1m 1s.
yes, I understand that. I was just trying to understand why the GA runner (a MacOS M-series machine) is able to build a native-image just fine and your local build (I guess a MacOS M-series machine as well) needs to exclude the static Libc linking
yes, I understand that. I was just trying to understand why the GA runner (a MacOS M-series machine) is able to build a native-image just fine and your local build (I guess a MacOS M-series machine as well) needs to exclude the static Libc linking
I am not sure, I have updated by mac to 26 but still getting the error
may be instead of changing it, I will add a not in docs for any one getting this error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
this pr will fix error while building on mac silicon: