[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/40302: Compiling pkgsrc perl on linux-amd64 with support for threads
On Sun, Mar 07, 2010 at 05:30:06AM +0000, David Holland wrote:
> On the Linux box I have accessible right now, some pthread functions
> are in libc but pthread_getspecific apparently requires -pthread or
> -lpthread. Since neither of those appears on the link line above, it's
> not surprising that it fails.
> Probably the configure script is checking for pthread_self or
> pthread_mutex_init or something that's in libc to figure out whether
> it needs -pthread, and getting the wrong answer.
> Can you paste the sections from the build log that report what it's
> doing/finding about compiler flags for threads?
> (Also, check with the latest perl just in case this was fixed in 5.10.1)
On the machine I cited, 5.10.1 comes up with -lpthread and miniperl
links ok. FWIW.
David A. Holland
Main Index |
Thread Index |