Re: [PHP4BETA] anybody having success compiling cgi_main.c on solaris right now???

From: Date: Sat, 08 May 1999 12:29:02 +0000
Subject: Re: [PHP4BETA] anybody having success compiling cgi_main.c on solaris right now???
References: 1 2 3  Groups: php.version4 
Request: Send a blank email to php-version4+get-688@lists.php.net to get a copy of this message
On Thu, May 06, 1999 at 03:40:57PM -0500, Andrey Zmievski wrote: > Zeev Suraski wrote: > > I just successfully compiled cgi_main under Solaris 2.5, with gcc 2.7.2.1 > > (when I was trying to reproduce your crash). I can't install new compilers > > on that box, so I can't check whether it goes wrong with gcc 2.8 or egcs :I > > Did you do it on Sparc hardware? I've only tried compiling it under Solaris > 2.6 and 2.7, and it always fails. > > > One thing you might consider trying - try to remove the setjmp() code in > > cgi_main.c. Tell me if it helps (it's a real long shot). > > Seems like that, because I've isolated the error down to the lines that have > CG(extended_info) in them. If that expression is commented out, compiler > error doesn't happen. This bug only seems to affect the CG(extended_info) lines, like Andrey mentioned. If one applies the attached patch, egcs 1.1.2 on Linux Alpha compiles the code. Did anyone contact the egcs guys? -- Regards, Sascha Schumann Consultant

Index: zend_globals.h =================================================================== RCS file: /repository/libzend/zend_globals.h,v retrieving revision 1.13 diff -u -r1.13 zend_globals.h --- zend_globals.h 1999/04/26 14:10:42 1.13 +++ zend_globals.h 1999/05/08 12:27:52 @@ -143,7 +143,7 @@ unsigned char asp_tags; /* For extensions support */ - unsigned char extended_info; /* generate extension information for debugger/profiler */ + unsigned int extended_info; /* generate extension information for debugger/profiler */ unsigned char handle_op_arrays; /* run op_arrays through op_array handlers */ #ifdef ZTS
« previous php.version4 (#688) next »