Re: issues in compiling the zend_execute.c in CVS HEAD
| From: | Kamesh Jayachandran | Date: | Tue, 28 Sep 2004 08:01:11 +0000 |
| Subject: | Re: issues in compiling the zend_execute.c in CVS HEAD | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-13045@lists.php.net to get a copy of this message | ||
Hi Wez,
Yes there is no problem. I got scared after my CPU getting hog for
continous 5 minutes on a single file.
Ultimately It compiles after around 10 minutes.
FYI: I did not configure explicitly with --enable-inline-optimization
switch.
With regards
Kamesh Jayachandran
On Tue, 28 Sep 2004 08:30:26 +0100, "Wez Furlong" <kingwez@gmail.com>
said:
> There is no problem there...
>
> You configured PHP with the --enable-inline-optimization switch,
> right? Turn it off if you don't want an optimized executor.
>
> --Wez.
>
>
> On Mon, 27 Sep 2004 23:10:07 -0700, Kamesh Jayachandran
> <kameshj@fastmail.fm> wrote:
> > 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
> > >
> >
> > --
> > PHP Internals - PHP Runtime Development Mailing List
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >