From:             dandrikop at cosmote dot gr
Operating system: Solaris 9 SPARC
PHP version:      5.1.1
PHP Bug Type:     Compile Failure
Bug description:  ld

Description:
------------
I tried to compile PHP 5.1.1 on Solaris 9 SPARC system. The 'make' or
'gmake' process fails. However, on the same system I have compiled all PHP
5.0.x version and never encountered such a problem. My MySQL version is
4.1.7.

Reproduce code:
---------------
./configure --prefix=/usr/local/php --exec-prefix=/usr/local/php
--with-mysql=/opt/sfw/mysql --with-mysqli=/opt/sfw/mysql/bin/mysql_config
--with-apxs=/usr/apache/bin/apxs --with-pear
--with-config-file-path=/etc/apache --with-zlib --enable-bcmath --with-bz2
--enable-calendar --with-jpeg-dir=/usr/sfw/lib --with-tiff-dir=/usr/sfw/lib
--enable-ftp --enable-soap --enable-dba --with-gdbm

Actual result:
--------------
..........

errno                               0x38       
/opt/sfw/mysql/lib/libmysqlclient.a(my_getwd.o)
errno                               0x1f0      
/opt/sfw/mysql/lib/libmysqlclient.a(my_getwd.o)
errno                               0x1f4      
/opt/sfw/mysql/lib/libmysqlclient.a(my_getwd.o)
errno                               0x1c0      
/opt/sfw/mysql/lib/libmysqlclient.a(strtod.o)
errno                               0x1c4      
/opt/sfw/mysql/lib/libmysqlclient.a(strtod.o)
errno                               0x2c       
/opt/sfw/mysql/lib/libmysqlclient.a(my_fopen.o)
errno                               0x108      
/opt/sfw/mysql/lib/libmysqlclient.a(my_fopen.o)
errno                               0x138      
/opt/sfw/mysql/lib/libmysqlclient.a(my_fopen.o)
errno                               0x198      
/opt/sfw/mysql/lib/libmysqlclient.a(my_fopen.o)
errno                               0x1b8      
/opt/sfw/mysql/lib/libmysqlclient.a(my_fopen.o)
errno                               0x284      
/opt/sfw/mysql/lib/libmysqlclient.a(my_fopen.o)
errno                               0x288      
/opt/sfw/mysql/lib/libmysqlclient.a(my_fopen.o)
atoi                                0xf0       
/opt/sfw/mysql/lib/libmysqlclient.a(libmysql.o)
atoi                                0x252c     
/opt/sfw/mysql/lib/libmysqlclient.a(libmysql.o)
atoi                                0x3b90     
/opt/sfw/mysql/lib/libmysqlclient.a(libmysql.o)
atoi                                0x58c      
/opt/sfw/mysql/lib/libmysqlclient.a(client.o)
atoi                                0x618      
/opt/sfw/mysql/lib/libmysqlclient.a(client.o)
atoi                                0x79c      
/opt/sfw/mysql/lib/libmysqlclient.a(client.o)
atoi                                0x7f4      
/opt/sfw/mysql/lib/libmysqlclient.a(client.o)
atoi                                0x160      
/opt/sfw/mysql/lib/libmysqlclient.a(typelib.o)
realpath                            0x12c      
/opt/sfw/mysql/lib/libmysqlclient.a(my_symlink.o)
getcwd                              0x198      
/opt/sfw/mysql/lib/libmysqlclient.a(my_getwd.o)
ld: fatal: relocations remain against allocatable but non-writable
sections
collect2: ld returned 1 exit status
gmake: *** [libphp5.la] Error 1

-- 
Edit bug report at http://bugs.php.net/?id=35492&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=35492&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=35492&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=35492&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=35492&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=35492&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=35492&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=35492&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=35492&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=35492&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=35492&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=35492&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=35492&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=35492&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=35492&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=35492&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=35492&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=35492&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=35492&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=35492&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=35492&r=mysqlcfg

Reply via email to