ID: 19671 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Assigned Bug Type: Compile Failure Operating System: Solaris 2.8 PHP Version: 4.2.3 -Assigned To: +Assigned To: jason New Comment:
Yes Zend is optimized for 32bit systems, but we have gotten it running on 64bit systems. It still stands, have you tried the patch provided by Jason Greene? In any case I'll make this as assigned to him since he has a patch started to take care of this. Previous Comments: ------------------------------------------------------------------------ [2002-10-01 02:09:05] [EMAIL PROTECTED] The problem is a bit more complicated I think. I believe there is a problem in the Zend Makefile. The behaviour is different when using the Forte C compiler (Version 7) from SUN. Then every objectfile is compiled correct as 64bit obectfile. Only with gcc (Version 3.2) I'll result in this error. By the way. My feeling is that there is some unclean 64bit code in the PHP source. I'm just evaluating the reason for a Bus Error during PHP scripting. ------------------------------------------------------------------------ [2002-09-30 07:47:51] [EMAIL PROTECTED] no this is a bit different I believe sebastian. ------------------------------------------------------------------------ [2002-09-30 06:26:12] [EMAIL PROTECTED] Similar to http://bugs.php.net/bug.php?id=18640 ? ------------------------------------------------------------------------ [2002-09-30 06:11:15] [EMAIL PROTECTED] jason just made a post to the PHP-dev list about this, with a patch to allow this to work. Can you try applying it and seeing if things work for you alright? Sorry I don't have a link handy, but here's the general info: Posted by Jason Greene, Sept 25, 2002. Topic: [PHP-DEV] [PATCH] 64 bit PHP (long vs int problems) ------------------------------------------------------------------------ [2002-09-30 05:10:33] [EMAIL PROTECTED] When compiling php in 64bit mode and statically linked to Apache then you'll receive an error that libphp.a is a 32bit library archive. Only the zend_execute.o ist 32bit, all others are correct. In the Zend Makefile for zend_execute.c the CFLAGS are missing! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19671&edit=1
