ID: 42299 User updated by: volkmar dot glauche at uniklinik-freiburg dot de Reported By: volkmar dot glauche at uniklinik-freiburg dot de -Status: Bogus +Status: Open Bug Type: Compile Failure Operating System: Gentoo Linux PHP Version: 5.2.4_pre200708051230-rc2 New Comment:
re-opened for downstream comments. Previous Comments: ------------------------------------------------------------------------ [2007-08-16 10:28:25] [EMAIL PROTECTED] Using proper configure line and not defining any LDFLAGS/CFLAGS when not necessary works just fine. And only -Wl, rpath stuff is in configure to check whether compiler supports it or not. For me configure works just fine under Fedora. If Gentoo chooses to do some hacks of their own, that is none of our business. ------------------------------------------------------------------------ [2007-08-16 08:53:23] volkmar dot glauche at uniklinik-freiburg dot de I don't know whether this is just Gentoo specific, but there are numerous occurrences of -Wl,-rpath switches in the top level configure and acinclude.m4 scripts. On my system, these switches force ld.so to look for libedit.so in /usr/X11R6/lib, where it does not find an ELF library but a linker script. With -Wl,-rpath these scripts are not followed, and therefore linking the conftests fails. ------------------------------------------------------------------------ [2007-08-16 08:30:46] [EMAIL PROTECTED] I didn't ask you to test some gentoo crap, this is PHP, report bugs in Gentoo to their system. ------------------------------------------------------------------------ [2007-08-16 08:12:49] volkmar dot glauche at uniklinik-freiburg dot de This is the latest version I have tested: 5.2.4_pre200708051230-rc2 I don't have the time to create an ebuild for newer snapshots, but I will be happy to test once a new ebuild is in gentoo portage. ------------------------------------------------------------------------ [2007-08-15 16:54:06] jakub at gentoo dot org Latest CVS snapshot doesn't solve anything, see http://bugs.gentoo.org/show_bug.cgi?id=165633 for downstream bug. ------------------------------------------------------------------------ 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/42299 -- Edit this bug report at http://bugs.php.net/?id=42299&edit=1