1PERLFREEBSD(1) Perl Programmers Reference Guide PERLFREEBSD(1)
2
3
4
6 README.freebsd - Perl version 5 on FreeBSD systems
7
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
14 When perl is configured to use ithreads, it will use re-entrant library
15 calls in preference to non-re-entrant versions. There is a bug in
16 FreeBSD's "readdir_r" function in versions 4.5 and earlier that can
17 cause a SEGV when reading large directories. A patch for FreeBSD libc
18 is available (see http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/30631
19 ) which has been integrated into FreeBSD 4.6.
20
21 $^X doesn't always contain a full path in FreeBSD
22
23 perl 5.8.0 sets $^X where possible to a full path by asking the operat‐
24 ing system. On FreeBSD the full path of the perl interpreter is found
25 by reading the symlink /proc/curproc/file. There is a bug on FreeBSD,
26 where the result of reading this symlink is can be wrong in certain
27 circumstances (see http://www.freebsd.org/cgi/query-pr.cgi?pr=35703 ).
28 In these cases perl will fall back to the old behaviour of using C's
29 argv[0] value for $^X.
30
31 Perl will no longer be part of "base FreeBSD"
32
33 Not as bad as it sounds--what this means is that Perl will no longer be
34 part of the kernel build system of FreeBSD. Perl will still very prob‐
35 ably be part of the "default install", and in any case the latest ver‐
36 sion will be in the ports system. The first FreeBSD version this
37 change will affect is 5.0, all 4.n versions will keep the status quo.
38
40 Nicholas Clark <nick@ccl4.org>, collating wisdom supplied by Slaven
41 Rezic and Tim Bunce.
42
43 Please report any errors, updates, or suggestions to perlbug@perl.org.
44
45
46
47perl v5.8.8 2006-01-07 PERLFREEBSD(1)