Mombu the Php Forum sponsored links

Go Back   Mombu the Php Forum > Php > #35465 : link error "Text relocation remains"
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 28th April 02:56
php-bugs
External User
 
Posts: 1
Default #35465 : link error "Text relocation remains"



ID: 35465
User updated by: rusty at socrates dot berkeley dot edu
Reported By: rusty at socrates dot berkeley dot edu
Status: Open
Bug Type: Compile Failure
Operating System: solaris 9
PHP Version: 5.1.1
New Comment:

Also, thanks for the heads-up on the "legacy" config options I can
remove.


Previous Comments:
------------------------------------------------------------------------

[2005-11-29 17:19:13] rusty at socrates dot berkeley dot edu

Yes, it compiles with

../configure --disable-all --with-apxs2=/${WWWROOT}/bin/apxs

------------------------------------------------------------------------

[2005-11-29 09:25:56] sniper@php.net

Does this work:

# rm config.cache
# ./configure --disable-all --with-apxs2=/${WWWROOT}/bin/apxs
# make clean ; make

Also you shouldn't need to use these options because they either don't
even exist or configure handles them for you automatically:

--enable-inline-optimization (it's enabled by default)
--enable-libgcc (detected automatically when needed)
--enable-trans-sid (has not existed for years)
--with-tsrm-pthreads (detected automatically)


------------------------------------------------------------------------

[2005-11-29 03:17:47] rusty at socrates dot berkeley dot edu

Description:
------------
At the final linking stage I get thousands of lines like the following
(at the end of this message). My "configure wrapper" shell script is

configure \
--prefix=${WWWROOT} \
--enable-bcmath \
--enable-inline-optimization \
--enable-libgcc \
--enable-track-vars \
--enable-trans-sid \
--with-apxs2=/${WWWROOT}/bin/apxs \
--with-config-file-path=${WWWROOT}/conf \
--with-gmp \
--with-ldap=${LOCAL} \
--with-mysql=${MYSQLROOT} \
--with-openssl=${LOCAL} \
--with-tsrm-pthreads

With php 5.0.5 it compiles without a squeek.

Here's the start of the error output; thousands of lines like this
(about 94,000) for many/all of the libraries:

Text relocation remains referenced
against symbol offset in file
<unknown> 0x570
/local_a/servers/mysql/lib/mysql/libmysqlclient.a(libmysql.o)
<unknown> 0x574
/local_a/servers/mysql/lib/mysql/libmysqlclient.a(libmysql.o)
<unknown> 0x578
/local_a/servers/mysql/lib/mysql/libmysqlclient.a(libmysql.o)
<unknown> 0x57c
/local_a/servers/mysql/lib/mysql/libmysqlclient.a(libmysql.o)
<unknown> 0x580
/local_a/servers/mysql/lib/mysql/libmysqlclient.a(libmysql.o)


------------------------------------------------------------------------


--
Edit this bug report at http://bugs.php.net/?id=35465&edit=1
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666