php.net |  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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: luc at suryo dot com
New email:
PHP Version: OS:

 

 [2004-12-23 23:42 UTC] luc at suryo dot com
Description:
------------
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.


thanks
-ls   

Reproduce code:
---------------
code will not compile

Expected result:
----------------
code should compile clean

Actual result:
--------------
easy fixed see above.

Patches

Pull Requests

History

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.

Thanks!

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: Sun Dec 22 05:01:30 2024 UTC