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 <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> 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 > > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php