[php-src] Issue #9157: php-8.2.0beta1 Does not build on macOS 10.12.6: ext/opcache/jit/zend_jit.c
| From: | debohman | Date: | Tue, 26 Jul 2022 15:14:35 +0000 |
| Subject: | [php-src] Issue #9157: php-8.2.0beta1 Does not build on macOS 10.12.6: ext/opcache/jit/zend_jit.c | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-242031@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/9157
Author: debohman
### Description
After configuring, when building the project, the following compile error occured:
```
/bin/sh /tera/tera/debo/Projects/php/php-8.2.0beta1/libtool --silent --preserve-dup-deps --tag CC
--mode=compile cc -Iext/opcache/ -I/tera/tera/debo/Projects/php/php-8.2.0beta1/ext/opcache/
-I/tera/tera/debo/Projects/php/php-8.2.0beta1/include
-I/tera/tera/debo/Projects/php/php-8.2.0beta1/main -I/tera/tera/debo/Projects/php/php-8.2.0beta1
-I/tera/tera/debo/Projects/php/php-8.2.0beta1/ext/date/lib -I/usr/local/include/libxml2
-I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include/freetype2
-I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/tera/tera/debo/Projects/php/php-8.2.0beta1/ext/mbstring/libmbfl
-I/tera/tera/debo/Projects/php/php-8.2.0beta1/ext/mbstring/libmbfl/mbfl
-I/tera/tera/debo/Projects/php/php-8.2.0beta1/TSRM
-I/tera/tera/debo/Projects/php/php-8.2.0beta1/Zend -D_GNU_SOURCE -fno-common -Wstrict-prototypes
-Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2
-fvisibility=hidden -DZEND_SIGNALS -Wno-implicit-fallthrough -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1
-DZEND_COMPILE_DL_EXT=1 -c /tera/tera/debo/Projects/php/php-8.2.0beta1/ext/opcache/jit/zend_jit.c -o
ext/opcache/jit/zend_jit.lo -MMD -MF ext/opcache/jit/zend_jit.dep -MT ext/opcache/jit/zend_jit.lo
In file included from /tera/tera/debo/Projects/php/php-8.2.0beta1/ext/opcache/jit/zend_jit.c:721:
ext/opcache/jit/zend_jit_perf_dump.c:280:10: fatal error: 'os/signpost.h' file not found
#include <os/signpost.h>
^~~~~~~~~~~~~~~
1 error generated.
make: *** [Makefile:1587: ext/opcache/jit/zend_jit.lo] Error 1
```
I expected it to build without errors.
### PHP Version
php-8.2.0beta1
### Operating System
macOS 10.12.6