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

From: Date: Tue, 01 Oct 2002 07:09:05 +0000
Subject: #19671 [Fbk->Opn]: 64bit compilation fails (zend_execute.c)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20879@lists.php.net to get a copy of this message
ID: 19671 User updated by: Manfred.Metz@rsd.rohde-schwarz.com Reported By: Manfred.Metz@rsd.rohde-schwarz.com -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Solaris 2.8 PHP Version: 4.2.3 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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 (#20879) next »