#35465 [Bgs->Opn]: link error "Text relocation remains"

From: Date: Wed, 30 Nov 2005 17:54:11 +0000
Subject: #35465 [Bgs->Opn]: link error "Text relocation remains"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-89510@lists.php.net to get a copy of this message
ID: 35465 User updated by: rusty at socrates dot berkeley dot edu Reported By: rusty at socrates dot berkeley dot edu -Status: Bogus +Status: Open Bug Type: Compile Failure Operating System: solaris 9 PHP Version: 5.1.1 Assigned To: sniper New Comment: Would you guys please pull your heads out of your **** and go read bug #35475? It appears to be a bug in the libtool that you're now using. It may not be a bug in the PHP code but it certainly is a bug in the PHP *distribution*. I've wiped and re-extracted the tar files and copied over the libtool.m4 from 5.0.5 to 5.1.1 and am recompiling right now. I'll add a comment when it finishes. Previous Comments: ------------------------------------------------------------------------ [2005-11-30 10:34:48] tony2001@php.net Joe, I agree, this is most likely not PHP issue, but I'm still able to reproduce it on Solaris 8 and -fPIC doesn't help. ------------------------------------------------------------------------ [2005-11-30 09:46:26] jorton@php.net This is the expected failure from trying to link non-PIC code into a shared library on most platforms. If you really insist on using a static MySQL library you must rebuild it with -fPIC in CFLAGS. If it worked previously I'd guess it was only because the static libmysql.a wasn't being found. ------------------------------------------------------------------------ [2005-11-29 23:35:03] rusty at socrates dot berkeley dot edu Yes, almost all of my add-on libraries are .a files because long ago I used to have problem with .so ones. Plus, I like to find out about any missing symbols at compile time, not run time, which was part of the problem I used to have. ------------------------------------------------------------------------ [2005-11-29 22:58:14] sniper@php.net See also bug #35475 ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/35465 -- Edit this bug report at http://bugs.php.net/?id=35465&edit=1

« previous php.bugs (#89510) next »