|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31276 sparcv9 definition in Zend/zend_strtod.c
Submitted: 2004-12-23 23:42 UTC Modified: 2004-12-24 02:24 UTC
From: luc at suryo dot com Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 4.3.10 OS: Solaris
Private report: No CVE-ID: None
 [2004-12-23 23:42 UTC] luc at suryo dot com
This is for Version 4.3.10 as well 5.0.3

the file Zend/zend_str_tod.c is missing the definition for sparcv9, this is the case on system running Solaris 64 bits

the following should be added

at the end of lines 102 and 130 add
  || defined(__sparcv9)

hope this may help other

nb: I compile my packages with Sun's Compiler 6.2 in 64 bits mode.


Reproduce code:
code will not compile

Expected result:
code should compile clean

Actual result:
easy fixed see above.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-24 02:24 UTC] luc at suryo dot com
both snapshot 4.3.x and 5.0.x tested
compiled OK, test with basic script (apache 2.0.52 module)
all OK.


nb: I'll be more then happy to provide access to solaris 9 system to test 64 bits compilation if needed.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 21 23:01:30 2024 UTC