Subject: | Undefined symbol "__dtraceenabled_perl___sub__entry" |
On newer FreeBSD systems (versions 11 .. 13) with the system perl all test scripts fail like this:
...
"/usr/local/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- Alias.bs blib/arch/auto/Data/Alias/Alias.bs 644
PERL_DL_NONLAZY=1 "/usr/local/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
Can't load '/usr/home/cpansand/.cpan/build/2018111816/Data-Alias-1.21-0/blib/arch/auto/Data/Alias/Alias.so' for module Data::Alias: /usr/home/cpansand/.cpan/build/2018111816/Data-Alias-1.21-0/blib/arch/auto/Data/Alias/Alias.so: Undefined symbol "__dtraceenabled_perl___sub__entry" at /usr/local/lib/perl5/5.26/mach/DynaLoader.pm line 193.
Compilation failed in require at t/01_deref.t line 8.
BEGIN failed--compilation aborted at t/01_deref.t line 8.
# Looks like your test exited with 2 before it could output anything.
t/01_deref.t .............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 12/12 subtests
...
I don't see this failure with my self-compiled perls on these systems, but I also don't use -Dusedtrace when compiling perl (the system perl does).