Bug #69883 [NEW]: Compilation failed on undeclared
| From: | jbenoit dot jb at gmail dot com | Date: | Fri, 19 Jun 2015 12:25:24 +0000 |
| Subject: | Bug #69883 [NEW]: Compilation failed on undeclared | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-193688@lists.php.net to get a copy of this message | ||
From: jbenoit dot jb at gmail dot com
Operating system: OS X 10.10
PHP version: 7.0Git-2015-06-19 (Git)
Package: PCRE related
Bug Type: Bug
Bug description:Compilation failed on undeclared
Description:
------------
The compilation of PHP sources stopped on PCRE. With the following error
message : php_pcre.c:1085:78: error: use of undeclared identifier
'use_heap'
(see below for the full message)
I tried with the PCRE installed by default on my computer and another
version (PCRE 8.37) I installed via Homebrew: Same result.
I did not find any solutions on Google, so I think this is a bug.
I open the file php_pcre.c, at line 1085. I did not find out where
"use_heap" variable is declared. But since I am not a C developer, maybe
I am wrong.
Test script:
---------------
git clone git@git.php.net:php-src.git
cd php-src
./buildconf
./configure
make
Expected result:
----------------
A compilation without errors.
Actual result:
--------------
php-src/ext/pcre/php_pcre.c:1085:78: error: use of undeclared identifier
'use_heap'
offsets = (int *)do_alloca_ex(size_offsets * sizeof(int), 32 *
sizeof(int), use_heap);
--
Edit bug report at https://bugs.php.net/bug.php?id=69883&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69883&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69883&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69883&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=69883&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=69883&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=69883&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=69883&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=69883&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=69883&r=support
Expected behavior: https://bugs.php.net/fix.php?id=69883&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=69883&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=69883&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=69883&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69883&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=69883&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=69883&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=69883&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69883&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=69883&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=69883&r=mysqlcfg