pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[dholland-pbugs%netbsd.org@localhost: Re: pkg/40302: Compiling pkgsrc perl on linux-amd64 with support for threads]



The following reply was made to PR pkg/40302; it has been noted by GNATS.

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: [dholland-pbugs%netbsd.org@localhost: Re: pkg/40302: Compiling pkgsrc 
perl
        on linux-amd64 with support for threads]
Date: Sun, 7 Mar 2010 05:43:16 +0000

 not sent to gnats (*I*'m supposed to know better than to mess this up, sigh)
 
    ------
 
 From: David Holland <dholland-pbugs%netbsd.org@localhost>
 To: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
pkgsrc-bugs%netbsd.org@localhost,
        cirnatdan%gmail.com@localhost
 Subject: Re: pkg/40302: Compiling pkgsrc perl on linux-amd64 with support
        for threads
 Date: Sun, 7 Mar 2010 05:39:00 +0000
 
 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
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index