1PERLOPENBSD(1) Perl Programmers Reference Guide PERLOPENBSD(1)
2
3
4
6 perlopenbsd - Perl version 5 on OpenBSD systems
7
9 This document describes various features of OpenBSD that will affect
10 how Perl version 5 (hereafter just Perl) is compiled and/or runs.
11
12 OpenBSD core dumps from getprotobyname_r and getservbyname_r with ithreads
13 When Perl is configured to use ithreads, it will use re-entrant library
14 calls in preference to non-re-entrant versions. There is an
15 incompatibility in OpenBSD's "getprotobyname_r" and "getservbyname_r"
16 function in versions 3.7 and later that will cause a SEGV when called
17 without doing a "bzero" on their return structs prior to calling these
18 functions. Current Perl's should handle this problem correctly. Older
19 threaded Perls (5.8.6 or earlier) will run into this problem. If you
20 want to run a threaded Perl on OpenBSD 3.7 or higher, you will need to
21 upgrade to at least Perl 5.8.7.
22
24 Steve Peters <steve@fisharerojo.org>
25
26 Please report any errors, updates, or suggestions to
27 <https://github.com/Perl/perl5/issues>.
28
29
30
31perl v5.34.1 2022-03-15 PERLOPENBSD(1)