pkgsrc-Bugs archive

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

Re: pkg/47587: lua not linked to pthread causes issues with modules



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

From: "Waitman Gobble" <uzimac%da3m0n8t3r.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: pkg-manager%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost, 
pkgsrc-bugs%NetBSD.org@localhost
Subject: Re: pkg/47587: lua not linked to pthread causes issues with modules
Date: Sat, 23 Feb 2013 20:29:03 -0800 (PST)

 This is a multi-part message in MIME format.
 
 --bound1361680143
 Content-Type: text/plain; charset=iso-8859-1
 Content-Transfer-Encoding: 7bit
 
 OBATA Akio <obache%NetBSD.org@localhost> wrote ..
 >  
 >  Just try to add only "PTHREAD_AUTO_VARS=yes".
 >  pkgsrc/mk/dlopen.{buildlink3,builtin}.mk should
 >  take care such issues automatically for required platforms.
 >  
 >  -- 
 >  OBATA Akio / obache%NetBSD.org@localhost
 >  
 
 Yes, adding only "PTHREAD_AUTO_VARS=yes" to the Makefile works perfectly. lua 
is linked with -lpthread.1 => /usr/lib/libpthread.so.1 and the module functions 
properly. If it potentially causes other problems to leave that in the 
Makefile, perhaps it should be an option in /etc/mk.conf ?
 
 Thank you.
 
 -- 
 Waitman Gobble
 San Jose California USA
 
 --bound1361680143--
 


Home | Main Index | Thread Index | Old Index