Skip to content

Build fails on MacOS M1 #13286

Closed
Closed
@jorgsowa

Description

@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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions