Skip to content

Error on building Opcache JIT for Windows ARM64 #16839

Closed
@macintoshplus

Description

@macintoshplus

Description

When I try to build the version 8.0.4RC4 on Windows 11 with ARM64 processors, I have this error.

The build work if I add the —disable-opcache-jit.

Resulted in this output:

zend_jit.obj : error LNK2019: unresolved external symbol __readgsqword referenced in function zend_jit_setup
C:\Users\builder\AppData\Local\Temp\994b80f3-d8b1-427d-9ba3-a7bb4df75943\config\vs17\arm64\obj\Release_TS\php_opcache.dll : fatal error LNK1120: 1 unresolved externals

PHP Version

PHP 8.4.0RC4

Operating System

Windows 11 ARM64

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions