#31110 [Opn->Csd]: PHP 4.3.10 does not compile on Tru64 UNIX 5.1B
| From: | derick@php.net | Date: | Thu, 16 Dec 2004 10:36:11 +0000 |
| Subject: | #31110 [Opn->Csd]: PHP 4.3.10 does not compile on Tru64 UNIX 5.1B | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-70326@lists.php.net to get a copy of this message | ||
ID: 31110
Updated by: derick@php.net
Reported By: ct at swin dot edu dot au
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Tru64 UNIX 5.1B
PHP Version: 4.3.10
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Yes, you are correct. Thanks for testing, and I'm committing this to
CVS now.
Previous Comments:
------------------------------------------------------------------------
[2004-12-16 10:43:49] ct at swin dot edu dot au
Yes it compiles with that change, but I gather it should be 99 not 104.
------------------------------------------------------------------------
[2004-12-16 10:27:01] derick@php.net
Can you please test this by changing line 104 of Zend/zend_strtod.c
to:
defined(__mips__) || defined(__ns32k__) || defined(__alpha__) ||
defined(__alpha) || \
(in one line)
thanks,
Derick
------------------------------------------------------------------------
[2004-12-16 09:58:45] ct at swin dot edu dot au
I'm not much of a programmer, but I believe the HP/Compaq cc compiler
only defines __alpha whereas GCC defines __alpha and __alpha__
------------------------------------------------------------------------
[2004-12-16 09:25:12] derick@php.net
That is strange, i tested it myself on:
OSF1 xxx.xxxx.fr V5.1 2650 alpha
myself, and it works fine there, but that was using GCC. Do you know
how to detect the tru64 platform with a define?
------------------------------------------------------------------------
[2004-12-16 07:48:25] ct at swin dot edu dot au
I have replaced the line "Exactly one of IEEE_LITTLE_ENDIAN
IEEE_BIG_ENDIAN, VAX...." with "#define IEEE_BIG_ENDIAN" in
Zend/zend_strtod.c and compilation has completed successfully.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/31110
--
Edit this bug report at http://bugs.php.net/?id=31110&edit=1