[MacPorts] #71680: gnuregex fails on powerpc: symbol dyld_stub_binding_helper not defined for architecture ppc

MacPorts noreply at macports.org
Mon Dec 30 21:11:56 UTC 2024


#71680: gnuregex fails on powerpc: symbol dyld_stub_binding_helper not defined for
architecture ppc
---------------------------+--------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.5
Resolution:                |   Keywords:
      Port:  gnuregex      |
---------------------------+--------------------

Comment (by ryandesign):

 Replying to [comment:1 kencu]:
 > you probably need to set the deployment target to 10.5 due to 10,6-ppc
 idiosyncracies.

 What makes you suggest that? Can you reference a prior bug report in which
 that was the solution?

 > see a similar previous report with this port here:
 >
 > #52466

 In that ticket, the problem seemed to be that the deployment target was
 not set at all, and I resolved the ticket by setting it.

 Replying to [comment:2 kencu]:
 > On 10.5 PPC, the build fails similarly.

 Really? I resolved #52466 three years ago and nobody ever said the fix
 didn't work. I based that fix on the fix for #64188 where Sergey said the
 fix worked.

 > Linking it manually also fails.
 >
 > {{{
 > $ libtool -lSystem -dynamic -install_name
 ${prefix}/lib/libgnuregex.dylib -o libgnuregex.dylib regex.o
 > ld: symbol dyld_stub_binding_helper not defined (usually in
 crt1.o/dylib1.o/bundle1.o) for architecture ppc
 > fatal error: libtool: internal link edit command failed
 > }}}

 But you haven't set `MACOSX_DEPLOYMENT_TARGET` so that test is not
 equivalent to what MacPorts was doing.

-- 
Ticket URL: <https://trac.macports.org/ticket/71680#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list