In perl.git, the branch tonyc/dtrace-no-main-probes has been created
<http://perl5.git.perl.org/perl.git/commitdiff/92c8ceadcd74e0a4750b506995bdf7664e823064?hp=0000000000000000000000000000000000000000>
at 92c8ceadcd74e0a4750b506995bdf7664e823064 (commit)
- Log -----------------------------------------------------------------
commit 92c8ceadcd74e0a4750b506995bdf7664e823064
Author: Tony Cook <[email protected]>
Date: Fri Nov 18 03:31:06 2016 +1100
add elf to libswanted on FreeBSD 10.x
usedtrace builds add references to libelf symbols, causing link
failures without it.
at hints time we don't know if the user will interactively select
dtrace and there's no CBU, so it's added unconditionally on 10.x
M hints/freebsd.sh
commit fd10d99af6a56704c10ee2988d3cbec1de254f2f
Author: Tony Cook <[email protected]>
Date: Thu Nov 17 22:18:30 2016 +1100
(perl #130108) generate a dummy dtrace_main.o if perlmain.o doesn't contain
probes
efc4bddfd4 added generating a probes object file for perlmain.o, since
the compiler was generating probes even for unused inline functions.
The default compiler on FreeBSD 11 however doesn't generate probes for
these unused inline functions, and dtrace -G fails because it can't
find any.
So if dtrace fails for perlmain.o generate a dummy object file to
take its place.
Similarly for XS::APItest.
M Makefile.SH
M ext/XS-APItest/Makefile.PL
-----------------------------------------------------------------------
--
Perl5 Master Repository