-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Description
Describe the Issue
[1/8] Initializing... (0.0s @ 0.23GB)
Error: Unable to detect supported WINDOWS native software development toolchain.
Querying with command ''C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe' /EP 'C:\Users\fouad\AppData\Local\Temp\SVM-12785476484387041272\detect-cl-version-info.c'' prints:
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24247.2 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
detect-cl-version-info.c
M_X64=_M_X64
M_ARM64EC=_M_ARM64EC
MSC_FULL_VER=190024247
Error: To prevent native-toolchain checking provide command-line option -H:-CheckToolchain
Internal exception: com.oracle.svm.core.util.UserError$UserException: Unable to detect supported WINDOWS native software development toolchain.
Querying with command ''C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe' /EP 'C:\Users\fouad\AppData\Local\Temp\SVM-12785476484387041272\detect-cl-version-info.c'' prints:
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24247.2 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
detect-cl-version-info.c
M_X64=_M_X64
M_ARM64EC=_M_ARM64EC
MSC_FULL_VER=190024247
To prevent native-toolchain checking provide command-line option -H:-CheckToolchain
at org.graalvm.nativeimage.builder/com.oracle.svm.core.util.UserError.abort(UserError.java:138)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.c.codegen.CCompilerInvoker.addSkipCheckingInfo(CCompilerInvoker.java:109)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.c.codegen.CCompilerInvoker.<init>(CCompilerInvoker.java:77)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.c.codegen.CCompilerInvoker$WindowsCCompilerInvoker.<init>(CCompilerInvoker.java:115)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.c.codegen.CCompilerInvoker.create(CCompilerInvoker.java:89)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.setupNativeImage(NativeImageGenerator.java:1087)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:568)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:535)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:548)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:761)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.start(NativeImageGeneratorRunner.java:163)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:111
I got the output:
M_X64=_M_X64
but this code expects M_X64=100
:
Line 164 in 2d6e4b5
skipLineIfHasNext(scanner, "M_X64=100"); // _M_X64 is defined |
Using the latest version of GraalVM can resolve many issues.
- I tried with the latest version of GraalVM.
GraalVM Version
25
Operating System and Version
Windows 11
Build Command
.
Expected Behavior
.
Actual Behavior
.
Steps to Reproduce
.
Additional Context
No response
Build Log Output and Error Messages
No response