Bug#475101: obsolete linuxthreads requirement

2010-07-15 Thread Russ Allbery
Russ Allbery writes: > Here's an attempt at that. I'm not sure if this says everything that > needs to be said, but I'm not sure what else to say. > I considered saying, as Kurt does above, that two libraries could be > provided, one with thread support and one without, but this poses some > se

Bug#475101: obsolete linuxthreads requirement

2010-07-15 Thread Giacomo A. Catenazzi
On 04.07.2010 10:42, Kurt Roeckx wrote: On Sat, Jul 03, 2010 at 12:26:40PM -0700, Russ Allbery wrote: --- a/policy.sgml +++ b/policy.sgml @@ -7225,10 +7225,10 @@ INSTALL = install -s # (or use strip on the files in debian/tmp) for C files) will need to be compiled twice, for the nor

Bug#475101: obsolete linuxthreads requirement

2010-07-05 Thread Kurt Roeckx
On Mon, Jul 05, 2010 at 10:20:43AM +0200, Simon Josefsson wrote: > > Hm. There is a small risk that the above will be interpreted to mean > that e.g. pthreads should be enabled if supported by the library, but > that is not always the best solution -- consider if a library supports > native linki

Bug#475101: obsolete linuxthreads requirement

2010-07-05 Thread Simon Josefsson
Russ Allbery writes: >> >>Libraries should be built with threading support and to be >>thread-safe if the library supports this. >> > > Yes, that's what I'm proposing -- at a guess, you may have misread the > diff? > >>> diff --git a/policy.sgml b/policy.sgml >>> index

Bug#475101: obsolete linuxthreads requirement

2010-07-04 Thread Russ Allbery
Simon Josefsson writes: > I don't think it should reference _REENTRANT any more for modern > GNU/Linux system like Debian. I think I may not have provided enough context, but indeed, that's the point of this bug and my proposed patch. > Thus, I would suggest simply saying this: > >

Bug#475101: obsolete linuxthreads requirement

2010-07-04 Thread Kurt Roeckx
On Sat, Jul 03, 2010 at 12:26:40PM -0700, Russ Allbery wrote: > --- a/policy.sgml > +++ b/policy.sgml > @@ -7225,10 +7225,10 @@ INSTALL = install -s # (or use strip on the files in > debian/tmp) >for C files) will need to be compiled twice, for the normal >case. >

Bug#475101: obsolete linuxthreads requirement

2010-07-04 Thread Simon Josefsson
Russ Allbery writes: > Russ Allbery writes: >> Kurt Roeckx writes: > >>> So it looks to me that _REENTRANT is only used to make some functions >>> like getlogin_r available. > >> I believe that's correct, and the discussion at the last DebConf reached >> the same conclusion. I think this bit i

Bug#475101: obsolete linuxthreads requirement

2010-07-03 Thread Russ Allbery
Russ Allbery writes: > Kurt Roeckx writes: >> So it looks to me that _REENTRANT is only used to make some functions >> like getlogin_r available. > I believe that's correct, and the discussion at the last DebConf reached > the same conclusion. I think this bit in Policy is obsolete. I already

Bug#475101: obsolete linuxthreads requirement

2008-04-21 Thread Russ Allbery
Kurt Roeckx <[EMAIL PROTECTED]> writes: > So it looks to me that _REENTRANT is only used to make some functions > like getlogin_r available. I believe that's correct, and the discussion at the last DebConf reached the same conclusion. I think this bit in Policy is obsolete. I already closed a L

Bug#475101: obsolete linuxthreads requirement

2008-04-16 Thread Steve Langasek
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

Bug#475101: obsolete linuxthreads requirement

2008-04-13 Thread Mark Brown
On Sat, Apr 12, 2008 at 06:27:44PM +0200, Kurt Roeckx wrote: > _REENTRANT. If a library can be build to either support threads or > not, it should be compiled to support threads. It might also want to That's what I'd always understood the intent of this requirement to be - it was that way becau

Bug#475101: obsolete linuxthreads requirement

2008-04-12 Thread Simon Josefsson
Kurt Roeckx <[EMAIL PROTECTED]> writes: > On Fri, Apr 11, 2008 at 08:23:19AM +0200, Simon Josefsson wrote: >> >> Thanks. But does LinuxThreads need -D_REENTRANT today? The links to >> the gnulib list I gave suggested that it isn't necessary, but without >> knowing exactly what to test it is dif

Bug#475101: obsolete linuxthreads requirement

2008-04-12 Thread Kurt Roeckx
On Fri, Apr 11, 2008 at 08:23:19AM +0200, Simon Josefsson wrote: > > Thanks. But does LinuxThreads need -D_REENTRANT today? The links to > the gnulib list I gave suggested that it isn't necessary, but without > knowing exactly what to test it is difficult to know for sure. I think that testing

Bug#475101: obsolete linuxthreads requirement

2008-04-10 Thread Simon Josefsson
Kurt Roeckx <[EMAIL PROTECTED]> writes: > On Thu, Apr 10, 2008 at 09:28:03AM +0200, Simon Josefsson wrote: >> Kurt Roeckx <[EMAIL PROTECTED]> writes: >> >> > On Tue, Apr 08, 2008 at 08:22:10PM -0400, Joey Hess wrote: >> >> Package: debian-policy >> >> Version: 3.7.3.0 >> >> Severity: normal >> >>

Bug#475101: obsolete linuxthreads requirement

2008-04-10 Thread Kurt Roeckx
On Thu, Apr 10, 2008 at 09:28:03AM +0200, Simon Josefsson wrote: > Kurt Roeckx <[EMAIL PROTECTED]> writes: > > > 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_RE

Bug#475101: obsolete linuxthreads requirement

2008-04-10 Thread Simon Josefsson
Kurt Roeckx <[EMAIL PROTECTED]> writes: > 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 li

Bug#475101: obsolete linuxthreads requirement

2008-04-09 Thread Kurt Roeckx
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. > > A

Bug#475101: obsolete linuxthreads requirement

2008-04-08 Thread Joey Hess
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 fai