1PERLFREEBSD(1)         Perl Programmers Reference Guide         PERLFREEBSD(1)
2
3
4

NAME

6       README.freebsd - Perl version 5 on FreeBSD systems
7

DESCRIPTION

9       This document describes various features of FreeBSD that will affect
10       how Perl version 5 (hereafter just Perl) is compiled and/or runs.
11
12   FreeBSD core dumps from readdir_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 a bug in
15       FreeBSD's "readdir_r" function in versions 4.5 and earlier that can
16       cause a SEGV when reading large directories. A patch for FreeBSD libc
17       is available (see http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/30631
18       ) which has been integrated into FreeBSD 4.6.
19
20   $^X doesn't always contain a full path in FreeBSD
21       perl 5.8.0 sets $^X where possible to a full path by asking the
22       operating system. On FreeBSD the full path of the perl interpreter is
23       found by reading the symlink /proc/curproc/file. There is a bug on
24       FreeBSD, where the result of reading this symlink is can be wrong in
25       certain circumstances (see
26       http://www.freebsd.org/cgi/query-pr.cgi?pr=35703 ).  In these cases
27       perl will fall back to the old behaviour of using C's argv[0] value for
28       $^X.
29
30   Perl will no longer be part of "base FreeBSD"
31       Not as bad as it sounds--what this means is that Perl will no longer be
32       part of the kernel build system of FreeBSD.  Perl will still very
33       probably be part of the "default install", and in any case the latest
34       version will be in the ports system.  The first FreeBSD version this
35       change will affect is 5.0, all 4.n versions will keep the status quo.
36

AUTHOR

38       Nicholas Clark <nick@ccl4.org>, collating wisdom supplied by Slaven
39       Rezic and Tim Bunce.
40
41       Please report any errors, updates, or suggestions to perlbug@perl.org.
42
43
44
45perl v5.12.4                      2011-06-07                    PERLFREEBSD(1)
Impressum