Skip to content

[8.5.0alpha3] build failure (opcache/jit) #19298

@remicollet

Description

@remicollet

Description

/usr/bin/ld: ext/opcache/jit/ir/ir_disasm.o: in function `ir_disasm':
/builddir/build/BUILD/php85-php-8.5.0_alpha3-build/php-8.5.0alpha3/ext/opcache/jit/ir/ir_disasm.c:359:(.text+0x6ba): undefined reference to `cs_open'
/usr/bin/ld: /builddir/build/BUILD/php85-php-8.5.0_alpha3-build/php-8.5.0alpha3/ext/opcache/jit/ir/ir_disasm.c:371:(.text+0x6e9): undefined reference to `cs_option'
/usr/bin/ld: /builddir/build/BUILD/php85-php-8.5.0_alpha3-build/php-8.5.0alpha3/ext/opcache/jit/ir/ir_disasm.c:375:(.text+0x6ff): undefined reference to `cs_option'
/usr/bin/ld: /builddir/build/BUILD/php85-php-8.5.0_alpha3-build/php-8.5.0alpha3/ext/opcache/jit/ir/ir_disasm.c:361:(.text+0x88e): undefined reference to `cs_strerror'
/usr/bin/ld: /builddir/build/BUILD/php85-php-8.5.0_alpha3-build/php-8.5.0alpha3/ext/opcache/jit/ir/ir_disasm.c:441:(.text+0x914): undefined reference to `cs_malloc'
/usr/bin/ld: /builddir/build/BUILD/php85-php-8.5.0_alpha3-build/php-8.5.0alpha3/ext/opcache/jit/ir/ir_disasm.c:442:(.text+0x965): undefined reference to `cs_disasm_iter'
/usr/bin/ld: ext/opcache/jit/ir/ir_disasm.o: in function `ir_disasm_branch_target':
/builddir/build/BUILD/php85-php-8.5.0_alpha3-build/php-8.5.0alpha3/ext/opcache/jit/ir/ir_disasm.c:210:(.text+0x981): undefined reference to `cs_insn_group'
/usr/bin/ld: ext/opcache/jit/ir/ir_disasm.o: in function `ir_disasm':
/builddir/build/BUILD/php85-php-8.5.0_alpha3-build/php-8.5.0alpha3/ext/opcache/jit/ir/ir_disasm.c:480:(.text+0xaa4): undefined reference to `cs_disasm_iter'
/usr/bin/ld: /builddir/build/BUILD/php85-php-8.5.0_alpha3-build/php-8.5.0alpha3/ext/opcache/jit/ir/ir_disasm.c:645:(.text+0x1050): undefined reference to `cs_free'
/usr/bin/ld: /builddir/build/BUILD/php85-php-8.5.0_alpha3-build/php-8.5.0alpha3/ext/opcache/jit/ir/ir_disasm.c:753:(.text+0x107e): undefined reference to `cs_close'
collect2: error: ld returned 1 exit status

PHP Version

8.5.0alpha3

Operating System

Fedora

Notice: both on x86_64 and aarch64

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions