#34163 [Opn->Fbk]: text relocation when building imap extension
| From: | sniper@php.net | Date: | Wed, 17 Aug 2005 07:50:05 +0000 |
| Subject: | #34163 [Opn->Fbk]: text relocation when building imap extension | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-83674@lists.php.net to get a copy of this message | ||
ID: 34163
Updated by: sniper@php.net
Reported By: selsky at columbia dot edu
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Solaris 9
PHP Version: 5.1.0b3
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2005-08-17 06:20:17] selsky at columbia dot edu
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 this bug report at http://bugs.php.net/?id=34163&edit=1