From:             milan dot magudia at pa dot press dot net
Operating system: Solaris 8
PHP version:      5.1.0RC1
PHP Bug Type:     Compile Failure
Bug description:  relocations remain against allocatable but non-writable 
sections

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

Reply via email to