Bug #75300 [NEW]: SLJIT_CACHE_FLUSH: The builtin "__builtin___clear_cache" is not supported
From: kaplan
Operating system: Linux/POWER8
PHP version: 7.2.0RC3
Package: Compile Failure
Bug Type: Bug
Bug description:SLJIT_CACHE_FLUSH: The builtin "__builtin___clear_cache" is not supported
Description:
------------
While trying to build PHP 7.2.0RC3 on POWER8 (both Ubuntu 14.04 and
Centos7) I see this error. On Linux with x86_64 same source works fine.
Actual result:
--------------
/bin/sh /php-7.2.0RC3/libtool --silent --preserve-dup-deps
--mode=compile xlc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/zlib/
-I/php-7.2.0RC3/ext/zlib/ -DPHP_ATOM_INC -I/php-7.2.0RC3/include
-I/php-7.2.0RC3/main -I/php-7.2.0RC3 -I/php-7.2.0RC3/ext/date/lib
-I/usr/local/include/libxml2 -I/usr/local/openssl-1.0.1u/include
-I/usr/local/include -I/php-7.2.0RC3/TSRM -I/php-7.2.0RC3/Zend -fPIC
-I/usr/include -fPIC -g -fvisibility=hidden -DZEND_SIGNALS -c
/php-7.2.0RC3/ext/zlib/zlib_fopen_wrapper.c -o
ext/zlib/zlib_fopen_wrapper.lo
In file included from
/php-7.2.0RC3/ext/pcre/pcrelib/pcre_jit_compile.c:62:
In file included from
/php-7.2.0RC3/ext/pcre/pcrelib/sljit/sljitLir.c:1745:
/php-7.2.0RC3/ext/pcre/pcrelib/sljit/sljitNativePPC_common.c:519:2:
error: 1540-2993 The builtin "__builtin___clear_cache" is not
supported.
SLJIT_CACHE_FLUSH(code, code_ptr);
^
/php-7.2.0RC3/ext/pcre/pcrelib/sljit/sljitConfigInternal.h:278:2: note:
expanded from macro 'SLJIT_CACHE_FLUSH'
__builtin___clear_cache((char*)from, (char*)to)
^
1 error generated.
Error while processing
/php-7.2.0RC3/ext/pcre/pcrelib/pcre_jit_compile.c.
make: *** [ext/pcre/pcrelib/pcre_jit_compile.lo] Error 1
--
Edit bug report at https://bugs.php.net/bug.php?id=75300&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75300&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75300&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75300&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75300&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75300&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75300&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75300&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75300&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75300&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75300&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75300&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75300&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75300&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75300&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75300&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75300&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75300&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75300&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75300&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75300&r=mysqlcfg
Thread (4 messages)
- kaplan@php.net