In perl.git, the branch jkeenan/dtrace has been created

<http://perl5.git.perl.org/perl.git/commitdiff/1e67156061b1f7aa186cda226e8470dfa1c5a681?hp=0000000000000000000000000000000000000000>

        at  1e67156061b1f7aa186cda226e8470dfa1c5a681 (commit)

- Log -----------------------------------------------------------------
commit 1e67156061b1f7aa186cda226e8470dfa1c5a681
Author: Tony Cook <[email protected]>
Date:   Thu Jan 5 11:04:05 2017 +1100

    perldelta for 47a83dc69df7, c345ac2ecadb, 728ecd1a3998, f2a60c1f79f4

M       pod/perldelta.pod

commit e6b6bcc7b508f7a44a4976c572fd98a4350bad79
Merge: 323dbd00f2 f2a60c1f79
Author: Tony Cook <[email protected]>
Date:   Thu Jan 5 10:39:44 2017 +1100

    Various fixes for dtrace builds on FreeBSD and for other platforms
    
    (to a lesser extent)

commit f2a60c1f79f4336895ffcbe81f18e49b0228ea44
Author: Tony Cook <[email protected]>
Date:   Mon Nov 28 15:15:18 2016 +1100

    (perl #130108) check if dtrace accepts -xnolibs and use it if available
    
    dtrace without -xnolibs fails in a FreeBSD jail, so we need to supply
    it on FreeBSD.
    
    Unfortunately systemtap's dtrace emulation doesn't support -xnolibs so
    we need to test if it's available.

M       Configure
M       Makefile.SH
M       Porting/Glossary

commit 728ecd1a39982c980df9493fd4040692b931f2a0
Author: Tony Cook <[email protected]>
Date:   Mon Nov 28 15:19:12 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 c345ac2ecadb636f02f27978602d82bc0dc444e7
Author: Tony Cook <[email protected]>
Date:   Mon Nov 28 15:22:16 2016 +1100

    (perl #130108) 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 47a83dc69df787f8ede4d6c21526ce623877cd4e
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

Reply via email to