Bug #73121 [NEW]: Bundled PCRE doesn't compile because JIT isn't supported on s390

From: Date: Tue, 20 Sep 2016 10:04:51 +0000
Subject: Bug #73121 [NEW]: Bundled PCRE doesn't compile because JIT isn't supported on s390
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-204145@lists.php.net to get a copy of this message
From: derick@php.net Operating system: s390 PHP version: 7.0.11 Package: PCRE related Bug Type: Bug Bug description:Bundled PCRE doesn't compile because JIT isn't supported on s390 Description: ------------ When compiling PHP with the bundled PCRE, the compiler barks with: /home/derick/src/php-7.0.10/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture #error Unsupported architecture As we hardcode "SUPPORT_JIT" in the ext/pcre/pcrelib/config.h, there is no way to turn off JIT support through CFLAGS (as it causes a redefinition to =1 within this file). A solution could be to add a --without-pcre-jit configure option, that turns the #define SUPPORT_JIT 1 into #undef SUPPORT_JIT but that would mean creating ext/pcre/pcrelib/config.h dynamically, which is currently not yet done. -- Edit bug report at https://bugs.php.net/bug.php?id=73121&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73121&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73121&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73121&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=73121&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=73121&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=73121&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=73121&r=needscript Try newer version: https://bugs.php.net/fix.php?id=73121&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=73121&r=support Expected behavior: https://bugs.php.net/fix.php?id=73121&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=73121&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=73121&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=73121&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73121&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=73121&r=dst IIS Stability: https://bugs.php.net/fix.php?id=73121&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=73121&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=73121&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=73121&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=73121&r=mysqlcfg

« previous php.bugs (#204145) next »