Skip to content

[GR-45281] Native-Image complains about processor architecture even if it's OK #6301

@vinc3nz

Description

@vinc3nz
F:\Vincenz\Developement>native-image Test
========================================================================================================================
GraalVM Native Image: Generating 'test' (executable)...
========================================================================================================================

[1/7] Initializing...                                                                                    (0,0s @ 0,08GB)
Error: Native-image building on Windows currently only supports target architecture: AMD64 (32-bit architecture x86 unsupported)
Error: To prevent native-toolchain checking provide command-line option -H:-CheckToolchain
Error: Use -H:+ReportExceptionStackTraces to print stacktrace of underlying exception
------------------------------------------------------------------------------------------------------------------------
                         0,2s (5,0% of total time) in 8 GCs | Peak RSS: 0,53GB | CPU load: 2,88
========================================================================================================================
Failed generating 'test' after 3,1s.
Error: Image build request failed with exit status 1

F:\Vincenz\Developement>set processor
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=AMD64 Family 23 Model 8 Stepping 2, AuthenticAMD
PROCESSOR_LEVEL=23
PROCESSOR_REVISION=0802

F:\Vincenz\Developement>java -version
java version "17.0.6" 2023-01-17 LTS
Java(TM) SE Runtime Environment GraalVM EE 22.3.1 (build 17.0.6+9-LTS-jvmci-22.3-b11)
Java HotSpot(TM) 64-Bit Server VM GraalVM EE 22.3.1 (build 17.0.6+9-LTS-jvmci-22.3-b11, mixed mode, sharing)

F:\Vincenz\Developement>

I have an AMD Ryzen 5 2600 on this PC.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions