#34516 [Opn->Bgs]: relocations remain against allocatable but non-writable sections
| From: | sniper@php.net | Date: | Thu, 15 Sep 2005 17:30:08 +0000 |
| Subject: | #34516 [Opn->Bgs]: relocations remain against allocatable but non-writable sections | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-85110@lists.php.net to get a copy of this message | ||
ID: 34516
Updated by: sniper@php.net
Reported By: milan dot magudia at pa dot press dot net
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Solaris 8
PHP Version: 5.1.0RC1
New Comment:
Search google with this string:
"relocations remain against allocatable but non-writable"
Short: Use GNU tools. (GCC, GNU ld, etc.)
Previous Comments:
------------------------------------------------------------------------
[2005-09-15 18:07:44] milan dot magudia at pa dot press dot net
Description:
------------
I'm having a very similar issue to bug 33476 which was marked as bogus
Reproduce code:
---------------
Compiling php-5.0.4 / php-5.0.5 has no problems with this configure
setup, but always fails to compile any php-5.1b/rc with these
settings.
'./configure' '--with-apxs=/opt/PAAPACHE_1.3.26/bin/apxs'
'--with-mysql=/usr/local/mysql' '--with-gd'
'--with-jpeg-dir=/usr/local/lib' '--with-png-dir=/usr/local/lib'
'--with-xpm-dir=/usr/local/lib' '--with-freetype-dir=/usr/local/lib'
'--with-tiff-dir=/usr/local/lib' '--enable-exif' '--with-pear'
'--with-gettext=/usr/local/lib' '--enable-mbstring' '--enable-mbregex'
'--with-readline=/usr/local/lib' '--with-iconv=/usr/local'
'--enable-mime-magic' '--with-curl=/usr/local/lib' '--enable-ftp'
'--with-xsl' '--with-expat-dir=/usr/local/lib' '--enable-soap'
'--with-libxml-dir=/usr/local/lib' '--enable-wddx' '--enable-calender'
'--with-mcrypt=/usr/local/lib' '--with-mhash=/usr/local/lib'
'--with-openssl=/usr/local/ssl' '--with-zlib-dir=/usr/local/lib'
'--with-zlib=/usr/local' '--with-xmlrpc'
'--with-pdo-mysql=/usr/local/mysql'
Actual result:
--------------
The problem this time seems to be related to mysql, but the general
error seems to be identical. I've tried to compile this source of
php-5.1 on two different machines, both solaris 8. When I exclude the
--with-mysql options then everything else compiles fine for the 5.1
source.
(many lines of libmysqlclient.a errors)
...
memset 0xbc
/usr/local/mysql/lib/libmysqlclient.a(my_lib.o)
memset 0xc
/usr/local/mysql/lib/libmysqlclient.a(vio.o)
memset 0x54
/usr/local/mysql/lib/libmysqlclient.a(vio.o)
ld: fatal: relocations remain against allocatable but non-writable
sections
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
As I said all previous builds compiles fine, but no 5.1 builds will
compile with duplicate settings. I can only think something must of
changed between 5.0 and 5.1 related to the use of ld. Also both 5.0 and
5.1 the solaris version is used. Any feedback would be appreciated as
all similar bugs have had no clear resolution?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34516&edit=1