non port: lang/perl5.32/files/patch-hints_freebsd.sh |
Number of commits found: 4 |
Saturday, 30 Sep 2023
|
02:22 Muhammad Moinur Rahman (bofh)
lang/perl5.32: Remove expired port
2023-09-30 lang/perl5.32: Support ends three years after .0 release. Please
upgrade to a more recent version of Perl
9664714 |
Tuesday, 11 Jul 2023
|
20:10 Tijl Coosemans (tijl)
lang/perl5*: Link with -pthread instead of -lpthread
During configure of security/p5-Crypt-GCrypt a test program is
compiled and run to test libgcrypt. This program segfaults when perl5
is built with the THREADS option. Libgcrypt links with libgpg-error
which has an init function which calls into libintl (gettext) which
calls pthread functions before libthr is initialised.
The compiler command line is provided by perl and it includes both
-pthread and -lpthread. Patch perl to remove -lpthread. With -pthread
the compiler will pass -lpthread to the linker such that it is
initialised early.
Discovered by the exp-run for gettext 0.22.
While here also remove -lc unconditionally and remove the code that
replaced it with -lc_r for old version of FreeBSD because the version
test is incorrect (missing a dot). The -pthread flag already tells
the compiler to use -lc_r on those old versions.
PR: 272210
0b59b92 |
Wednesday, 21 Sep 2022
|
20:26 Dimitry Andric (dim)
lang/perl5*: alternative workaround for lld 15 and dtrace enabled
Modify the workaround committed in 4ae8ff941b29 by only adding
-Wl,--allow-multiple-definition to the two link command lines that
require it, instead of adding it to hints/freebsd.sh
Otherwise, that linker flag is emitted into perl's global configuration
(/usr/local/lib/perl5/5.xx/mach/Config_heavy.pl), and might be used by
other ports which link in libperl, such as www/mod_perl2, which cannot
correctly handle any unexpected linker flags, leading to errors.
PR: 265516
Reported by: lev
Approved by: maintainer timeout (1 month)
Fixes: 4ae8ff941b29
MFH: 2022Q3
8c69fc2 |
Monday, 19 Sep 2022
|
18:54 Dimitry Andric (dim)
lang/perl5*: work around duplicate symbol errors with lld 15 and dtrace enabled
Building any of the lang/perl5* ports with clang and lld 15, and the
DTRACE option enabled (which is default on) results in link errors
similar to:
cc -pthread -Wl,-E -fstack-protector-strong -L/usr/local/lib -o miniperl
mpdtrace/opmini.o mpdtrace/perlmini.o mpdtrace/universalmini.o mpdtrace/gv.o
mpdtrace/toke.o mpdtrace/perly.o mpdtrace/pad.o mpdtrace/regcomp.o
mpdtrace/dump.o mpdtrace/util.o mpdtrace/mg.o mpdtrace/reentr.o
mpdtrace/mro_core.o mpdtrace/keywords.o mpdtrace/builtin.o mpdtrace/hv.o
mpdtrace/av.o mpdtrace/run.o mpdtrace/pp_hot.o mpdtrace/sv.o mpdtrace/pp.o
mpdtrace/scope.o mpdtrace/pp_ctl.o mpdtrace/pp_sys.o mpdtrace/doop.o
mpdtrace/doio.o mpdtrace/regexec.o mpdtrace/utf8.o mpdtrace/taint.o
mpdtrace/deb.o mpdtrace/globals.o mpdtrace/perlio.o mpdtrace/numeric.o
mpdtrace/mathoms.o mpdtrace/locale.o mpdtrace/pp_pack.o mpdtrace/pp_sort.o
mpdtrace/caretx.o mpdtrace/dquote.o mpdtrace/time64.o mpdtrace/miniperlmain.o
dtrace_mini.o -lpthread -lm -lcrypt -lutil
ld: error: duplicate symbol: __dtraceenabled_perl___sub__entry
>>> defined in mpdtrace/pp_hot.o
>>> defined in mpdtrace/pp_sort.o
ld: error: duplicate symbol: __dtraceenabled_perl___sub__entry
>>> defined in mpdtrace/pp_hot.o
>>> defined in mpdtrace/regexec.o
(Only the first 15 lines of the commit message are shown above )
4ae8ff9 |
Number of commits found: 4 |