Re: issues in compiling the zend_execute.c in CVS HEAD
| From: | Kamesh Jayachandran | Date: | Tue, 28 Sep 2004 06:10:07 +0000 |
| Subject: | Re: issues in compiling the zend_execute.c in CVS HEAD | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-13039@lists.php.net to get a copy of this message | ||
Hi Andi,
I had a problem in compiling the zend_execute.c.
My CPU was used upto 100% for 10 minutes while compiling zend_execute.c,
After 10 minutes zend_execute.c got compiled.
The same code when compiled with -O1 optimisations compiles pretty fast.
I use gcc 3.3.1, trying to compile for Linux.
With regards
Kamesh Jayachandran
On Mon, 27 Sep 2004 19:11:53 -0700, "Andi Gutmans" <andi@zend.com> said:
> 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
> >
> >--
> >PHP Internals - PHP Runtime Development Mailing List
> >To unsubscribe, visit: http://www.php.net/unsub.php
>