[php-src] Issue #12582: JIT aarch64 Assertion `((((char*)(code_buffer)) + code_buffer_size) - (char*)exit_addr) < (1<<27)' failed.
| From: | danog | Date: | Tue, 31 Oct 2023 16:19:18 +0000 |
| Subject: | [php-src] Issue #12582: JIT aarch64 Assertion `((((char*)(code_buffer)) + code_buffer_size) - (char*)exit_addr) < (1<<27)' failed. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-245703@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/12582
Author: danog
### Description
@dstogov Getting this assertion when running
ext/tokenizer/tokenizer_data_gen.php on
aarch64 with the php.ini from https://github.com/danog/jit_bugs/blob/master/php.ini
Result:
```
php: /media/storage/repos/php-src/ext/opcache/jit/ir/ir_aarch64.dasc:5443: const void
*ir_emit_exitgroup(uint32_t, uint32_t, const void *, void *, size_t, size_t *): Assertion
`((((char*)(code_buffer)) + code_buffer_size) - (char*)exit_addr) < (1<<27)' failed.
```
Just building the Dockerfile on aarch64 is enough to reproduce.
### PHP Version
93d5c0e9461047f358af42a21750342222d00ea1
### Operating System
_No response_