[php-src] Issue #13286: Build fails on MacOS M1

From: Date: Wed, 31 Jan 2024 14:24:35 +0000
Subject: [php-src] Issue #13286: Build fails on MacOS M1
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-246374@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/13286 Author: jorgsowa ### Description I cannot build PHP on my machine for a few days. make Resulted in this output: ``` In file included from /xxx/ext/opcache/jit/ir/ir_emit.c:422: /xxx/ext/opcache/jit/ir/ir_aarch64.dasc:3947:54: error: too many arguments to function call, expected 2, have 3 int32_t offset = ir_ref_spill_slot(ctx, insn->op2, &op2_reg); ~~~~~~~~~~~~~~~~~ ^~~~~~~~ /xxx/ext/opcache/jit/ir/ir_aarch64.dasc:1041:15: note: 'ir_ref_spill_slot' declared here static ir_mem ir_ref_spill_slot(ir_ctx *ctx, ir_ref ref) ^ /xxx/ext/opcache/jit/ir/ir_aarch64.dasc:4036:54: error: too many arguments to function call, expected 2, have 3 int32_t offset = ir_ref_spill_slot(ctx, insn->op2, &op2_reg); ~~~~~~~~~~~~~~~~~ ^~~~~~~~ /xxx/ext/opcache/jit/ir/ir_aarch64.dasc:1041:15: note: 'ir_ref_spill_slot' declared here static ir_mem ir_ref_spill_slot(ir_ctx *ctx, ir_ref ref) 2 errors generated. make: *** [ext/opcache/jit/ir/ir_emit.lo] Error 1 make: *** Waiting for unfinished jobs.... ``` ### PHP Version master branch ### Operating System MacOs Apple M1

« previous php.bugs (#246374) next »