Re: -D_REENTRANT and debian policy
Justin Pryzby <justin@aavso.org> writes:
> On Wed, Jan 31, 2007 at 08:32:08PM -0800, Michael Kerrisk wrote:
>> IIRC, cc -pthread == cc -D_REENTRANT -lpthread
>> Why does Debian require _REENTRANT?
> It's just required for library comipilation, presumably so that threaded
> applications don't break just because a conforming but not thread safe
> implementation of some library funtion was used, effectively making the
> library thread unsafe.
I'd love it if someone could investigate just what this means with a
modern glibc (i.e., not LinuxThreads) and whether it's still actually
necessary. At the least, there should really be a footnote in Policy
explaining why this is needed or pointing to some document about it.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: