Re: [PHP4BETA] Internal Compiler Error
| From: | Sascha Schumann | Date: | Fri, 21 May 1999 12:39:59 +0000 |
| Subject: | Re: [PHP4BETA] Internal Compiler Error | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-967@lists.php.net to get a copy of this message | ||
On Fri, May 21, 1999 at 01:42:41PM +0200, Kristian Köhntopp wrote:
>
> Hmm, something triggers an internal compiler error (egcs-1.1
> release on Sparc).
>
> Kristian
>
>
> kk@boss ~/Source/php4 $ sh do-conf
> [...]
> Making all in sysvsem
> Making all in sysvshm
> gcc -g -O2 -I. -I. -I./libzend -I./TSRM
> -I/opt/mysql/include/mysql -c cgi_m
> ain.c -o cgi_main.o
> toplev.c:2254: Internal compiler error in function float_signal
> *** Error code 1
> make: Fatal error: Command failed for target `cgi_main.o'
>
> kk@boss ~/Source/php4 $ gcc -v
> Reading specs from
> /opt/SOLegcs/lib/gcc-lib/sparc-sun-solaris2.7/egcs-2.91.57/specs
> gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
The attached patch works around the compiler bug.
--
Regards,
Sascha Schumann
Consultant
Index: zend_globals.h =================================================================== RCS file: /repository/libzend/zend_globals.h,v retrieving revision 1.14 diff -u -r1.14 zend_globals.h --- zend_globals.h 1999/05/11 17:50:37 1.14 +++ zend_globals.h 1999/05/21 12:39:07 @@ -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 */ unsigned char unclean_shutdown;
Index: zend_globals.h =================================================================== RCS file: /repository/libzend/zend_globals.h,v retrieving revision 1.14 diff -u -r1.14 zend_globals.h --- zend_globals.h 1999/05/11 17:50:37 1.14 +++ zend_globals.h 1999/05/21 12:39:07 @@ -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 */ unsigned char unclean_shutdown;