From: Rafael Garcia-Suarez Date: Wed, 12 Dec 2007 09:54:56 +0000 (+0000) Subject: Document the strerror_r / g++ / threads bug X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=48d64ccff906c4cd0b6c3ff2eae77b4e71e955f4;p=p5sagit%2Fp5-mst-13.2.git Document the strerror_r / g++ / threads bug p4raw-id: //depot/perl@32613 --- diff --git a/pod/perl5100delta.pod b/pod/perl5100delta.pod index 3ce94de..b3d26d6 100644 --- a/pod/perl5100delta.pod +++ b/pod/perl5100delta.pod @@ -1541,6 +1541,11 @@ Stacked filetest operators won't work when the C pragma is in effect, because they rely on the stat() buffer C<_> being populated, and filetest bypasses stat(). +When compiled with g++ and thread support on Linux, it's reported that the +C<$!> stops working correctly. This is related to the fact that the glibc +provides two strerror_r(3) implementation, and perl selects the wrong +one. + =head1 Platform Specific Problems =head1 Reporting Bugs