In perl.git, the branch tonyc/dtrace-no-main-probes has been created
<http://perl5.git.perl.org/perl.git/commitdiff/5c365897d996b4aaf4451c0558cef28b54a53da5?hp=0000000000000000000000000000000000000000>
at 5c365897d996b4aaf4451c0558cef28b54a53da5 (commit)
- Log -----------------------------------------------------------------
commit 5c365897d996b4aaf4451c0558cef28b54a53da5
Author: Tony Cook <[email protected]>
Date: Thu Nov 24 22:12:33 2016 +1100
check if dtrace accepts -xnolibs and use it if available
dtrace without -xnolibs fails in a FreeBSD jail, so supply it
if possible
M Configure
M Makefile.SH
M Porting/Glossary
commit 44da2a1a89f513619c8db29c7054dfc2978523c2
Author: Tony Cook <[email protected]>
Date: Thu Nov 24 01:56:43 2016 +1100
(perl #130108) separate compiled objects from dtrace modified objects
When generating an object file with "dtrace -G", dtrace also modifies
the input object files.
This causes two problems:
1) Since the objects are modified, their modification times are updated
which may break dependency checks by make.
2) on FreeBSD at least, once the object has been processed it can't be
processed again by dtrace -G
M Makefile.SH
commit 89128ec794041ba031eedaf812e2a29b114b8cfc
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 f3da1ace244dabf6313652d0e99731f9fe9255b2
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