#19671 [Opn->Asn]: 64bit compilation fails (zend_execute.c)

From: Date: Tue, 01 Oct 2002 12:07:44 +0000
Subject: #19671 [Opn->Asn]: 64bit compilation fails (zend_execute.c)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20915@lists.php.net to get a copy of this message
ID: 19671 Updated by: kalowsky@php.net Reported By: Manfred.Metz@rsd.rohde-schwarz.com -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] Manfred.Metz@rsd.rohde-schwarz.com 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] kalowsky@php.net no this is a bit different I believe sebastian. ------------------------------------------------------------------------ [2002-09-30 06:26:12] nohn@php.net Similar to http://bugs.php.net/bug.php?id=18640 ? ------------------------------------------------------------------------ [2002-09-30 06:11:15] kalowsky@php.net 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] Manfred.Metz@rsd.rohde-schwarz.com 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

« previous php.bugs (#20915) next »