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

Bug#475101: obsolete linuxthreads requirement



On Thu, Apr 10, 2008 at 08:32:44AM +0200, Kurt Roeckx wrote:
> On Tue, Apr 08, 2008 at 08:22:10PM -0400, Joey Hess wrote:
> > Package: debian-policy
> > Version: 3.7.3.0
> > Severity: normal

> >      You must specify the gcc option `-D_REENTRANT' when building a library
> >      (either static or shared) to make the library compatible with
> >      LinuxThreads.

> > AFAIK we don't use linuxthreads anymore, and I checked a few libraries and
> > failed to find them using such a flag.

> I think hppa still uses it.

> The -D_REENTRANT might also be used in other libraries that can be
> compiled to support threads or not.  But those might also be using some
> other options.  I think we should just say that all libraries should
> get build with thread support if they support it.

That would seem to imply that it's ok for libraries to not be thread-safe...

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org



Reply to: