#40841 [Opn->Asn]: #38770/#40543 Not fixed on Solaris 10
| From: | tony2001@php.net | Date: | Mon, 19 Mar 2007 09:30:09 +0000 |
| Subject: | #40841 [Opn->Asn]: #38770/#40543 Not fixed on Solaris 10 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-110493@lists.php.net to get a copy of this message | ||
ID: 40841
Updated by: tony2001@php.net
Reported By: lovan at lifesci dot ucsb dot edu
-Status: Open
+Status: Assigned
-Bug Type: Compile Failure
+Bug Type: Unknown/Other Function
Operating System: Solaris 10
PHP Version: 5.2.1
-Assigned To:
+Assigned To: cellog
Previous Comments:
------------------------------------------------------------------------
[2007-03-18 00:30:18] lovan at lifesci dot ucsb dot edu
Upgrade to GCC 4.1.2 does *not* resolve the issue. The issue tracks
across compilers (now four of them). Something in the codebase changed
between 5.1.6 and 5.2.1 (I haven't tried the intermediate releases)
fouling up the compile of a 64-bit binary.
Here is a sample of the error set from PHP 5.2.1 compiled under gcc
4.1.2:
-------------
Warning: unpack(): Type V: not enough input, need 4, have 0 in
/home/stf/lovan/build/php-5.2.1/pear/install-pear-nozlib.phar on line
376
Warning: array_values(): The argument should be an array in
/home/stf/lovan/build/php-5.2.1/pear/install-pear-nozlib.phar on line
376
Notice: Undefined offset: 2 in
/home/stf/lovan/build/php-5.2.1/pear/install-pear-nozlib.phar on line
379
Fatal error: Error: "index.php" is not a file in phar "" in
/home/stf/lovan/build/php-5.2.1/pear/install-pear-nozlib.phar on line
411
------------------------------------------------------------------------
[2007-03-17 10:11:36] tony2001@php.net
Please use GCC 4.1.2.
------------------------------------------------------------------------
[2007-03-17 04:23:12] lovan at lifesci dot ucsb dot edu
Description:
------------
A "gmake install" fails with unpack errors when PHP is compiled as a
64-bit module for Apache 2.2.4 and 2.2.3 running on Solaris 10 (sparc).
I've tried three different compilers (GCC 3.4.3 and 4.1.1 and SunPro CC)
and get the same result so it seems unlikely to be a compiler problem.
The problem does *not* appear in PHP 5.1.6 but is evident in both 5.2.1
and the 20070316 5.2 snapshot.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40841&edit=1