Bug#587901: perl: Missing -DDEBIAN -D_REENTRANT flags on hurd-i386

Samuel Thibault sthibault at debian.org
Fri Jul 2 19:56:04 UTC 2010


Russ Allbery, le Fri 02 Jul 2010 11:13:46 -0700, a écrit :
> Samuel Thibault <sthibault at debian.org> writes:
> > The perl build on hurd-i386 doesn't have the -DDEBIAN flag, leading to
> > paths discrepancies and such odd issues.  This is due to hints/gnu.sh
> > overriding the value passed by debian/rules.  The build also doesn't use
> > -D_REENTRANT, which can lead to issues too.  The attached patch fixes
> > both issues.
> 
> Out of curiousity, which issues does -D_REENTRANT fix?  I ask because
> we're considering removing the Policy requirement to build shared
> libraries with that flag since with the current threading model it no
> longer appears to have any purpose other than exposing a few more
> prototypes for glibc functions.

Ah, indeed.  It used to be actually needed but doesn't seem to be any
more.

Samuel






More information about the Perl-maintainers mailing list