php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40845 Failure during make
Submitted: 2007-03-17 19:17 UTC Modified: 2007-03-25 01:00 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: steve dot cersosimo at att dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.2.1 OS: Solaris 5.8
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: steve dot cersosimo at att dot com
New email:
PHP Version: OS:

 

 [2007-03-17 19:17 UTC] steve dot cersosimo at att dot com
Description:
------------
I am getting a failure when I try to make 5.2.1.  Here is the failure line:
/bin/sh /home/software/apps/php-5.2.1/libtool --silent --preserve-dup-deps --mode=compile gcc  -IZend/ -I/home/software/apps/php-5.2.1/Zend/ -DPHP_ATOM_INC -I/home/software/apps/php-5.2.1/include -I/home/software/apps/php-5.2.1/main -I/home/software/apps/php-5.2.1 -I/usr/local/include/libxml2 -I/usr/local/ssl/include -I/usr/local/include -I/home/software/apps/php-5.2.1/ext/date/lib -I/usr/local/mysql/include -I/home/oracle_8.1.7/OraHome/rdbms/public -I/home/oracle_8.1.7/OraHome/rdbms/demo -I/usr/local/pgsql/include -I/usr/local/freetds/include -I/home/software/apps/php-5.2.1/TSRM -I/home/software/apps/php-5.2.1/Zend  -D_POSIX_PTHREAD_SEMANTICS  -I/usr/local/include -g -O2   -c /home/software/apps/php-5.2.1/Zend/zend_strtod.c -o Zend/zend_strtod.lo
/usr/ccs/bin/as: "/var/tmp//ccr15Fwa.s", line 3341: error: constant value must be between -4096 and 4095
make: *** [Zend/zend_strtod.lo] Error 1

My configure options are:
./configure --with-apxs2=/home/apache/bin/apxs --with-mysql=/usr/local/mysql --with-openssl=/usr/local/ssl --with-config-file-path=/etc --with-pear --enable-ftp --with-pgsql=/usr/local/pgsql --enable-sockets --with-ldap=/usr/local --with-zlib=/usr/local --with-oci8=/home/oracle_8.1.7/OraHome --with-sybase-ct=/usr/local/freetds --with-gmp=/usr/local --with-mcrypt=/usr/local --with-snmp --enable-pcntl --enable-soap --enable-zip

Any help is appreciated.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-03-17 19:25 UTC] tony2001@php.net
Looks like a problem with your assembler binary:
>/usr/ccs/bin/as: "/var/tmp//ccr15Fwa.s", line 3341: error: constant
value must be between -4096 and 4095
 [2007-03-23 09:32 UTC] regis dot jarde at alcatel-lucent dot fr
Same issue on my side.

When I want to update my php 5.2.0 to the new  5.2.1 version i fall into the same issue.

Notice I can compile from scratch the 5.2.0 without any problem (on the same server with the same ./configuration parameters) but couldn't compile the new 5.2.1 version.

./configure  --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-pgsql --enable-so --with-gettext --with-gd=/usr/local --with-jpeg-dir

here is my error messages :

/bin/sh /a/pandora/vol/vol0/chantier/SunOS.5.9/client/usr-local/php-5.2.1/libtool --silent --preserve-dup-deps --mode=compile /net/build/bin/gcc  -IZend/ -I/a/pandora/vol/vol0/chantier/SunOS.5.9/client/usr-local/php-5.2.1/Zend/ -DPHP_ATOM_INC -I/a/pandora/vol/vol0/chantier/SunOS.5.9/client/usr-local/php-5.2.1/include -I/a/pandora/vol/vol0/chantier/SunOS.5.9/client/usr-local/php-5.2.1/main -I/a/pandora/vol/vol0/chantier/SunOS.5.9/client/usr-local/php-5.2.1 -I/usr/local/include/libxml2 -I/a/pandora/vol/vol0/chantier/SunOS.5.9/client/usr-local/php-5.2.1/ext/date/lib -I/usr/local/include -I/usr/local/include/mysql -I/usr/local/pgsql/include -I/a/pandora/vol/vol0/chantier/SunOS.5.9/client/usr-local/php-5.2.1/TSRM -I/a/pandora/vol/vol0/chantier/SunOS.5.9/client/usr-local/php-5.2.1/Zend  -D_POSIX_PTHREAD_SEMANTICS  -I/usr/include -g -O2   -c /a/pandora/vol/vol0/chantier/SunOS.5.9/client/usr-local/php-5.2.1/Zend/zend_strtod.c -o Zend/zend_strtod.lo
/usr/ccs/bin/as: "/var/tmp//cccyeFEh.s", line 3337: error: constant value must be between -4096 and 4095
make: *** [Zend/zend_strtod.lo] Error 1
 [2007-03-25 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 16 13:01:31 2025 UTC