#34163 [NEW]: text relocation when building imap extension
| From: | selsky at columbia dot edu | Date: | Wed, 17 Aug 2005 04:20:19 +0000 |
| Subject: | #34163 [NEW]: text relocation when building imap extension | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-83669@lists.php.net to get a copy of this message | ||
From: selsky at columbia dot edu
Operating system: Solaris 9
PHP version: 5.1.0b3
PHP Bug Type: Compile Failure
Bug description: text relocation when building imap extension
Description:
------------
$ LDFLAGS='-R/opt/local/lib -L/opt/local/lib' ./configure
--prefix=/opt/php-5.1.0RC1 --sysconfdir=/etc/php
--with-config-file-path=/etc/php --with-apxs2 --with-xmlrpc
--with-libxml-dir=/opt/local --with-openssl=/opt/openssl-0.9.7f
--with-zlib=shared --with-curl=/opt/curl-7.11.1
--with-imap=shared,/src/mail/imap/imap-2004a/obj/solaris9-sslonly
--with-imap-ssl=/opt/local --with-ldap=shared,/opt/openldap-1.2.13
--with-oci8=shared,/opt/oracle-9.2
Actual result:
--------------
/bin/sh /hmt/chinchin/src/web/php/php-5.1.0RC1/src/libtool --silent
--preserve-dup-deps --mode=link gcc -DPHP_ATOM_INC
-I/hmt/chinchin/src/web/php/php-5.1.0RC1/src/include
-I/hmt/chinchin/src/web/php/php-5.1.0RC1/src/main
-I/hmt/chinchin/src/web/php/php-5.1.0RC1/src
-I/opt/libxml2-2.6.15/include/libxml2 -I/opt/openssl-0.9.7f/include
-I/opt/curl-7.11.1/include
-I/src/mail/imap/imap-2004a/obj/solaris9-sslonly/c-client
-I/opt/openldap-1.2.13/include -I/opt/oracle-9.2/rdbms/public
-I/opt/oracle-9.2/rdbms/demo
-I/hmt/chinchin/src/web/php/php-5.1.0RC1/src/TSRM
-I/hmt/chinchin/src/web/php/php-5.1.0RC1/src/Zend
-D_POSIX_PTHREAD_SEMANTICS -g -O2 -o ext/imap/imap.la -export-dynamic
-avoid-version -prefer-pic -module -rpath
/hmt/chinchin/src/web/php/php-5.1.0RC1/src/modules -avoid-version -module
-L/usr/ucblib -L/opt/gcc2952-28/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2
-L/opt/libxml2-2.6.15/lib -L/opt/openssl-0.9.7f/lib -L/opt/curl-7.11.1/lib
-L/opt/local/lib ext/imap/php_imap.lo -R/opt/openssl-0.9.7f/lib
-L/opt/openssl-0.9.7f/lib -lssl -lcrypto
-R/src/mail/imap/imap-2004a/obj/solaris9-sslonly/c-client
-L/src/mail/imap/imap-2004a/obj/solaris9-sslonly/c-client -lc-client
-lcrypt -lpam
Text relocation remains referenced
against symbol offset in file
<unknown> 0x29f8
/src/mail/imap/imap-2004a/obj/solaris9-sslonly/c-client/libc-client.a(osdep.o)
<unknown> 0x29fc
/src/mail/imap/imap-2004a/obj/solaris9-sslonly/c-client/libc-client.a(osdep.o)
<unknown> 0x2a00
/src/mail/imap/imap-2004a/obj/solaris9-sslonly/c-client/libc-client.a(osdep.o)
...
closedir 0xab4
/src/mail/imap/imap-2004a/obj/solaris9-sslonly/c-client/libc-client.a(mh.o)
closedir 0x360
/src/mail/imap/imap-2004a/obj/solaris9-sslonly/c-client/libc-client.a(mx.o)
closedir 0x6e0
/src/mail/imap/imap-2004a/obj/solaris9-sslonly/c-client/libc-client.a(mx.o)
ld: fatal: relocations remain against allocatable but non-writable
sections
collect2: ld returned 1 exit status
make: *** [ext/imap/imap.la] Error 1
--
Edit bug report at http://bugs.php.net/?id=34163&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34163&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34163&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34163&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34163&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34163&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34163&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34163&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34163&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34163&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34163&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34163&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34163&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34163&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34163&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34163&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34163&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34163&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34163&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34163&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34163&r=mysqlcfg