Summary: | dev-php/php-4.3.10 Fails on econf - amd64 pthreads broken | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tony Harmelink <aceofaces> |
Component: | Current packages | Assignee: | AMD64 Project <amd64> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | lists, php-bugs |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | config.log |
Description
Tony Harmelink
2005-02-05 14:59:59 UTC
Created attachment 50481 [details]
config.log
Your threads are broken. AMD64 should be able to tell you more. configure:2562: checking flex version configure:2706: gcc -o conftest -O3 -march=athlon64 -ffast-math -funit-at-a-time -ftracer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 /var/tmp/portage/php-4.3.10/temp/ccWcR8Ed.o(.text+0x22): In function `main': : undefined reference to `pthread_mutexattr_init' /var/tmp/portage/php-4.3.10/temp/ccWcR8Ed.o(.text+0x38): In function `main': : undefined reference to `pthread_create' collect2: ld returned 1 exit status configure: failed program was: #line 2688 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data); } configure:2726: checking for pthreads_cflags ... configure:72218: checking whether the C++ compiler (c++ -O3 -march=athlon64 -ffast-math -funit-at-a-time -ftracer -pipe -L/usr/lib -L/usr/X11R6/lib -ltiff -L/usr/lib -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/opt/blackdown-jdk-1.4.2.01/jre/lib/amd64/server -L/opt/blackdown-jdk-1.4.2.01/jre/lib/amd64/server -Wl,-rpath,/opt/blackdown-jdk-1.4.2.01/jre/lib/amd64/native_threads -L/opt/blackdown-jdk-1.4.2.01/jre/lib/amd64/native_threads -Wl,-rpath,/opt/blackdown-jdk-1.4.2.01/jre/lib/amd64 -L/opt/blackdown-jdk-1.4.2.01/jre/lib/amd64 -Wl,-rpath,/usr/qt/3/lib -L/usr/qt/3/lib) works configure:72234: c++ -o conftest -O3 -march=athlon64 -ffast-math -funit-at-a-time -ftracer -pipe -L/usr/lib -L/usr/X11R6/lib -ltiff -L/usr/lib -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/opt/blackdown-jdk-1.4.2.01/jre/lib/amd64/server -L/opt/blackdown-jdk-1.4.2.01/jre/lib/amd64/server -Wl,-rpath,/opt/blackdown-jdk-1.4.2.01/jre/lib/amd64/native_threads -L/opt/blackdown-jdk-1.4.2.01/jre/lib/amd64/native_threads -Wl,-rpath,/opt/blackdown-jdk-1.4.2.01/jre/lib/amd64 -L/opt/blackdown-jdk-1.4.2.01/jre/lib/amd64 -Wl,-rpath,/usr/qt/3/lib -L/usr/qt/3/lib conftest.C -lqt -lpspell -lpdf -lz -ltiff -lpng -ljpeg -lpanel -lncurses -lmysqlclient -lming -lm -lmhash -lmcrypt -lltdl -lldap -llber -lcrypt -lpam -lt1 -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lexslt -lxml2 -lxslt -lz -ldb-4.1 -ldb-4.1 -lndbm -lgdbm -lcrack -lbz2 -lz -lssl -lcrypto -lresolv -lm -lxmlparse -lxmltok -lxml2 -lz -lm 1>&5 /usr/qt/3/lib/libqt.so: undefined reference to `__pthread_register_cancel@GLIBC_2.3.3' /usr/qt/3/lib/libqt.so: undefined reference to `__pthread_unregister_cancel@GLIBC_2.3.3' collect2: ld returned 1 exit status configure: failed program was: #line 72229 "configure" #include "confdefs.h" int main(){return(0);} *** Bug 81018 has been marked as a duplicate of this bug. *** is this still an issue after an upgrade to 2005.0? got no answer, assuming the problem has been fixed |