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

Bug#475101: obsolete linuxthreads requirement



Simon Josefsson <simon@josefsson.org> 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:

> 	<p>
> 	  Libraries should be built with threading support and to be
> 	  thread-safe if the library supports this.
> 	</p>

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 bad28af..1ffe148 100644
>> --- 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. 
>>          </p>
>> +
>>  	<p>
>> -	  You must specify the gcc option <tt>-D_REENTRANT</tt>
>> -	  when building a library (either static or shared) to make
>> -	  the library compatible with LinuxThreads.
>> +	  Libraries should be built with threading support and to be
>> +	  thread-safe if the library supports this.
>>  	</p>
>>  
>>          <p>

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: