pbiggar / phc

A compiler for PHP
132 stars 37 forks source link

Compile phc fails for PHP 5.3.2, 5.3.3 and 5.3.5 #146

Closed pbiggar closed 9 years ago

pbiggar commented 9 years ago
What steps will reproduce the problem?
1. Install PHP 5.3.3 or 5.3.5 with
./configure --enable-embed --enable-bcmath --with-pgsql --with-mysql --with-gmp
(using more options will fail... phc can not detect the embed sapi

2. change to the phc directory, use the svn download and apply the README.svn

3. ./configure => ok
4. make =>
src/embed/optimize.cpp:223: error: invalid conversion from 'zend_fcall_info*' to 'uint'
src/embed/optimize.cpp:223: error: cannot convert 'zend_fcall_info_cache*' to 'zend_fcall_info*'
for argument '3' to 'int zend_fcall_info_init(zval*, uint, zend_fcall_info*, zend_fcall_info_cache*,
char**, char**)'
make[2]: *** [optimize.lo] Fehler 1
make[2]: Leaving directory `/usr/src/phc-svn/phc-read-only'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/phc-svn/phc-read-only'
make: *** [all] Fehler 2

What version of the product are you using? On what operating system?
- phc from svn (checkout 11.08.2011)
- Debian Squeeze, latest patch level (11.08.2011)
- PHP from www.php.net/releases

I tried 5.3.2 as someone stated that they use 5.3.2 without any problem.

Original issue reported on code.google.com by ulrich.j.meier on 2011-08-11 08:01:22

pbiggar commented 9 years ago
Hi.

The issue seems to be a duplicate of #135. A patch is attached at https://plonker.villiros.com/pipermail/phc-internals/2011-February/005920.html.

Regards
Oliver

Original issue reported on code.google.com by oliver.metz on 2011-08-19 12:07:32

pbiggar commented 9 years ago
Thanks for the triage, Oliver :)

Original issue reported on code.google.com by paul.biggar on 2011-08-22 08:41:46