# issues in compiling the zend_execute.c in CVS HEAD

- Thread: https://externals.io/message/12981
- Original archive: https://news-web.php.net/php.internals/12981
- Started by Kamesh Jayachandran on 2004-09-25T12:18:14+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #12981 — Kamesh Jayachandran — 2004-09-25T12:18:14+00:00

URL: https://externals.io/message/12981#12981

Hi All,

I have updated the php to latest HEAD from then on compiling
zend_execute.c keeps hanging.

This is the compile command I could see,

/bin/sh /root/kamesh/work/php-src/libtool --silent --preserve-dup-deps
--mode=compile /root/kamesh/work/php-src/meta_ccld  -IZend/
-I/root/kamesh/work/php-src/Zend/ -DPHP_ATOM_INC
-I/root/kamesh/work/php-src/include -I/root/kamesh/work/php-src/main
-I/root/kamesh/work/php-src -I/root/kamesh/work/php-src/Zend
-I/usr/include/libxml2  -D_REENTRANT -I/root/kamesh/work/php-src/TSRM 
-g -O2 -pthread -DZTS  -prefer-pic -c
/root/kamesh/work/php-src/Zend/zend_execute.c -o Zend/zend_execute.lo

With regards
Kamesh Jayachandran

---

## #12982 — Kamesh Jayachandran — 2004-09-25T14:17:59+00:00

URL: https://externals.io/message/12981#12982 · In reply to: #12981

Hi Andi,
This problem seems to be there with the zend_compile.h version 1.293,
zend_execute.c version 1.680, zend_opcode.c version 1.108 and
zend_execute_API.c version 1.299.

This compilation problem does not exist in Non-ZTS mode, but exist in
ZTS mode only.

I have just reverted the versions just 1 down and My problem(ZTS build)
is solved.
With regards
Kamesh Jayachandran
On Sat, 25 Sep 2004 05:18:14 -0700, "Kamesh Jayachandran"
<kameshj@fastmail.fm> said:
> Hi All,
> 
> I have updated the php to latest HEAD from then on compiling
> zend_execute.c keeps hanging.
> 
> This is the compile command I could see,
> 
> /bin/sh /root/kamesh/work/php-src/libtool --silent --preserve-dup-deps
> --mode=compile /root/kamesh/work/php-src/meta_ccld  -IZend/
> -I/root/kamesh/work/php-src/Zend/ -DPHP_ATOM_INC
> -I/root/kamesh/work/php-src/include -I/root/kamesh/work/php-src/main
> -I/root/kamesh/work/php-src -I/root/kamesh/work/php-src/Zend
> -I/usr/include/libxml2  -D_REENTRANT -I/root/kamesh/work/php-src/TSRM 
> -g -O2 -pthread -DZTS  -prefer-pic -c
> /root/kamesh/work/php-src/Zend/zend_execute.c -o Zend/zend_execute.lo
> 
> With regards
> Kamesh Jayachandran

---

## #13033 — Andi Gutmans — 2004-09-28T02:11:53+00:00

URL: https://externals.io/message/12981#13033 · In reply to: #12981

What platform are you on? What compiler? (Netware?)
Try and edit zend_vm.h:
#ifndef ZEND_VM_OLD_EXECUTOR
/*#  define `ZEND_VM_KIND` ZEND_VM_KIND_CALL */

And uncomment the second line (forces PHP to use the function call handlers).
Let me know what happens.
Andi

At 05:18 AM 9/25/2004 -0700, Kamesh Jayachandran wrote:
>Hi All,
>
>I have updated the php to latest HEAD from then on compiling
>zend_execute.c keeps hanging.
>
>This is the compile command I could see,
>
>/bin/sh /root/kamesh/work/php-src/libtool --silent --preserve-dup-deps
>--mode=compile /root/kamesh/work/php-src/meta_ccld  -IZend/
>-I/root/kamesh/work/php-src/Zend/ -DPHP_ATOM_INC
>-I/root/kamesh/work/php-src/include -I/root/kamesh/work/php-src/main
>-I/root/kamesh/work/php-src -I/root/kamesh/work/php-src/Zend
>-I/usr/include/libxml2  -D_REENTRANT -I/root/kamesh/work/php-src/TSRM
>-g -O2 -pthread -DZTS  -prefer-pic -c
>/root/kamesh/work/php-src/Zend/zend_execute.c -o Zend/zend_execute.lo
>
>With regards
>Kamesh Jayachandran
