ID: 35465 Updated by: [EMAIL PROTECTED] Reported By: rusty at socrates dot berkeley dot edu -Status: Assigned +Status: Wont fix Bug Type: Compile Failure Operating System: solaris 9 PHP Version: 5.1.1 Assigned To: sniper New Comment:
>From GCC manual: "-mimpure-text suppresses the 'relocations remain against allocatable but non-writable sections' linker error message. However, the necessary relocations will trigger copy-on-write, and the shared object is not actually shared across processes. Instead of using -mimpure-text, you should compile all source code with -fpic or -fPIC." So passing that option in CFLAGS before running configure should eliminate the errors. Libtool is actually FIXED now to do the right thing which it didn't do in e.g. 5.0.5. Best option is to fix your installed libraries PHP links with. Previous Comments: ------------------------------------------------------------------------ [2005-11-30 21:13:04] [EMAIL PROTECTED] Can you please send me both the one you get with the snapshot I asked you to try and the one you get with 5.0.5. Send them here: [EMAIL PROTECTED] ------------------------------------------------------------------------ [2005-11-30 20:09:34] [EMAIL PROTECTED] I would like it if people didn't bogus the reports I've assigned myself.. ------------------------------------------------------------------------ [2005-11-30 20:04:45] rusty at socrates dot berkeley dot edu 5.1.1 compiles if you use the libtool from 5.0.5. You have to copy over libtool after running configure in the 5.0.5 and 5.1.1 directories. Do not copy over libtool.m4 from the build directory and then run configure. ------------------------------------------------------------------------ [2005-11-30 19:08:18] php at fiddaman dot net I'm seeing the problem with the IMAP extension which uses the UW IMAP toolkit. Now this toolkit never compiles as a shared object (see http://www.washington.edu/imap/IMAP-FAQs/#6.3) If Rusty's unusual use of static mysql libraries is a problem, look at the IMAP extension. ------------------------------------------------------------------------ [2005-11-30 18:54:09] rusty at socrates dot berkeley dot edu 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. ------------------------------------------------------------------------ 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