Martin Husemann a écrit :
On Mon, Jan 18, 2010 at 02:22:14PM +0100, BERTRAND Joel wrote:perl: _lwp_ctl: Cannot allocate memory_lwp_ctl will fail for multithreaded programs (as it basically is a libpthread internal interface). Please check if the test program is linked against libpthread (ldd will tell you), or check the compiler command line in the build log.
I suppose that executable is linked against libpthread if it has to determine size of pthread_t ;-)
Command line is :configure:41188: cc -o conftest -O2 -mtune=hypersparc -mcpu=hypersparc -I/usr/pkg/include -I/usr/include -Wall -DPREFIX="\"/usr/pkg\"" -DPKGLOCALEDIR="\"share\"" -DPKG_SYSCONFDIR="\"/usr/pkg/etc\"" -I/usr/pkg/include -I/usr/include -DG_DISABLE_SINGLE_INCLUDES -pthread -D_POSIX4_DRAFT_SOURCE -D_POSIX4A_DRAFT10_SOURCE -U_OSF_SOURCE -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib conftest.c -pthread -lintl >&5
Can you reproduce the failure with a small standalone test program?
I cannot. Maybe tomorrow. Now, I have rebooted on an UP kernel to rebuild some packages I need.
Regards, JKB