Opened 4 weeks ago

Last modified 4 weeks ago

#60028 assigned defect

p5.30-proc-guard, p5.30-log-dispatch: dyld: lazy symbol binding failed: Symbol not found: _perl_tsa_mutex_lock

Reported by: ryandesign (Ryan Schmidt) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: snowleopard Cc: mojca (Mojca Miklavec), jpoliv (José Pedro Oliveira)
Port: p5-proc-guard, p5-log-dispatch, perl5.30

Description

p5.30-proc-guard fails to build:

Executing:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_perl_p5-proc-guard/p5.30-proc-guard/work/Proc-Guard-0.07" && /opt/local/bin/perl5.30 Build.PL --installdirs=vendor --config cc="/usr/bin/gcc-4.2" --config ld="/usr/bin/gcc-4.2" 
DEBUG: system:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_perl_p5-proc-guard/p5.30-proc-guard/work/Proc-Guard-0.07" && /opt/local/bin/perl5.30 Build.PL --installdirs=vendor --config cc="/usr/bin/gcc-4.2" --config ld="/usr/bin/gcc-4.2" 
dyld: lazy symbol binding failed: Symbol not found: _perl_tsa_mutex_lock
  Referenced from: /opt/local/lib/perl5/vendor_perl/5.30/darwin-thread-multi-2level/auto/Time/HiRes/HiRes.bundle
  Expected in: flat namespace

dyld: Symbol not found: _perl_tsa_mutex_lock
  Referenced from: /opt/local/lib/perl5/vendor_perl/5.30/darwin-thread-multi-2level/auto/Time/HiRes/HiRes.bundle
  Expected in: flat namespace

sh: line 1: 36428 Trace/BPT trap          /opt/local/bin/perl5.30 Build.PL --installdirs=vendor --config cc="/usr/bin/gcc-4.2" --config ld="/usr/bin/gcc-4.2"

Change History (7)

comment:1 Changed 4 weeks ago by ryandesign (Ryan Schmidt)

Cc: jpoliv added
Port: p5-log-dispatch added
Summary: p5.30-proc-guard: dyld: lazy symbol binding failed: Symbol not found: _perl_tsa_mutex_lockp5.30-proc-guard, p5.30-log-dispatch: dyld: lazy symbol binding failed: Symbol not found: _perl_tsa_mutex_lock

Also affects other p5.30 ports, like p5.30-log-dispatch.

comment:2 Changed 4 weeks ago by ryandesign (Ryan Schmidt)

Port: perl5.30 added

comment:3 Changed 4 weeks ago by kencu (Ken)

these have been found in another ticket somewhere as well. I'll see if I can find it. It occurs because the clang version building perl was too old, IIRC.

Last edited 4 weeks ago by kencu (Ken) (previous) (diff)

comment:4 Changed 4 weeks ago by ryandesign (Ryan Schmidt)

Well in these cases the "building clang" is gcc-4.2.

comment:5 Changed 4 weeks ago by ryandesign (Ryan Schmidt)

And the clang that build perl was 3.4, judging by #59786.

comment:6 Changed 4 weeks ago by jmroot (Joshua Root)

This specific build is pure perl, so gcc-4.2 is unused and is just what gets picked when libc++ is not needed. The actual bug seems to be in p5.30-time-hires.

comment:7 Changed 4 weeks ago by kencu (Ken)

Note: See TracTickets for help on using tickets.