| 1 | If you read this file _as_is_, just ignore the funny characters you |
| 2 | see. It is written in the POD format (see pod/perlpod.pod) which is |
| 3 | specifically designed to be readable as is. |
| 4 | |
| 5 | =head1 NAME |
| 6 | |
| 7 | README.openbsd - Perl version 5 on OpenBSD systems |
| 8 | |
| 9 | =head1 DESCRIPTION |
| 10 | |
| 11 | This document describes various features of OpenBSD that will affect how Perl |
| 12 | version 5 (hereafter just Perl) is compiled and/or runs. |
| 13 | |
| 14 | =head2 OpenBSD core dumps from getprotobyname_r and getservbyname_r with ithreads |
| 15 | |
| 16 | When Perl is configured to use ithreads, it will use re-entrant library calls |
| 17 | in preference to non-re-entrant versions. There is an incompatability in |
| 18 | OpenBSD's C<getprotobyname_r> and C<getservbyname_r> function in versions 3.7 |
| 19 | and later that will cause a SEGV when called without doing a C<bzero> on |
| 20 | their return structs prior to calling these functions. Current Perl's |
| 21 | should handle this problem correctly. Older threaded Perls (5.8.6 or earlier) |
| 22 | will run into this problem. If you want to run a threaded Perl on OpenBSD |
| 23 | 3.7 or higher, you will need to upgrade to at least Perl 5.8.7. |
| 24 | |
| 25 | =head1 AUTHOR |
| 26 | |
| 27 | Steve Peters <steve@fisharerojo.org> |
| 28 | |
| 29 | Please report any errors, updates, or suggestions to F<perlbug@perl.org>. |
| 30 | |