Skip to content

php-8.2.0beta1 Does not build on macOS 10.12.6: ext/opcache/jit/zend_jit.c #9157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
debohman opened this issue Jul 26, 2022 · 3 comments
Closed

Comments

@debohman
Copy link
Contributor

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

@devnexen
Copy link
Member

Thanks for your report. Do you have the possibility to try out this branch ?

@debohman
Copy link
Contributor Author

Success! It builds and runs now.

@devnexen
Copy link
Member

Fix committed now !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants