Changes between Initial Version and Version 2 of Ticket #54364


Ignore:
Timestamp:
Jun 22, 2017, 9:08:23 AM (7 years ago)
Author:
mojca (Mojca Miklavec)
Comment:

I'm not sure if my theory is correct, but I strongly suspect there's a problem in (lack of) flags to set the stdlib.

Perl devs pointed me to:

try https://metacpan.org/pod/ExtUtils::MakeMaker#PERL_MM_OPT for EUMM installers and https://metacpan.org/pod/Module::Build#PERL_MB_OPT for M::B installers the latter is also honored by Module::Build::Tiny https://metacpan.org/pod/Module::Build::Tiny#CONFIG-FILE-AND-ENVIRONMENT

Maybe the perl PortGroup could always set the stdlib in the PERL_MM_OPT and PERL_MB_OPT environmental variables. Untested theory.

I fail to understand why exactly the universal build would fix the issue, but it could be that one module is not installed as i386 and then the package being built would link against perl5.24 rather than against another existing p5.24-* module and this would work (since perl was built with the right flags).

The mutex keyword smells like C++11 in any case.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54364

    • Property Cc rlhamil dbevans mojca added
    • Property Keywords snowleopard LibcxxOnOlderSystems added
    • Property Version changed from 2.4.1 to
    • Property Summary changed from p5.24-io-socket-ssl failed to build on Snow Leopard to p5.24-io-socket-ssl: failed to build on Snow Leopard (with libc++)
  • Ticket #54364 – Description

    initial v2  
     1{{{
    12:info:configure dyld: Symbol not found: _perl_tsa_mutex_lock
    23:info:configure   Referenced from: /opt/local/lib/perl5/vendor_perl/5.24/darwin-thread-multi-2level/auto/Net/SSLeay/SSLeay.bundle
    34:info:configure   Expected in: flat namespace
    4 :info:configure sh: line 1: 68230 Trace/BPT trap          /opt/local/bin/perl5.24 Makefile.PL INSTALLDIRS=vendor CC="/opt/local/bin/clang-mp-3.7" LD="/opt/local/bin/clang-mp-3.7"
     5:info:configure sh: line 1: 68230 Trace/BPT trap         
     6/opt/local/bin/perl5.24 Makefile.PL INSTALLDIRS=vendor CC="/opt/local/bin/clang-mp-3.7" LD="/opt/local/bin/clang-mp-3.7"
     7}}}
    58
    6 Workaround: re-install perl5.24 with +universal, works then.  When built correctly, symbol is defined in
    7 /opt/local/lib/perl5/5.24/darwin-thread-multi-2level/CORE/libperl.dylib
     9Workaround: re-install `perl5.24` with `+universal`, works then.  When built correctly, symbol is defined in
     10`/opt/local/lib/perl5/5.24/darwin-thread-multi-2level/CORE/libperl.dylib`