php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35492 ld
Submitted: 2005-11-30 15:14 UTC Modified: 2006-01-15 14:58 UTC
From: dandrikop at cosmote dot gr Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.1 OS: Solaris 9 SPARC
Private report: No CVE-ID: None
 [2005-11-30 15:14 UTC] dandrikop at cosmote dot gr
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-30 15:20 UTC] sniper@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.


 [2005-11-30 15:23 UTC] dandrikop at cosmote dot gr
Is it possible to send me that bug report ID that describes the resolution?
 [2006-01-15 14:58 UTC] sniper@php.net
For example bug #34516


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 07 23:01:32 2025 UTC