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

MacPorts noreply at macports.org
Tue Dec 31 18:50:03 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:7 kencu]:
 > Replying to [comment:5 ryandesign]:
 > > What makes you suggest that? Can you reference a prior bug report in
 which that was the solution?

 > Based on reading about  the trivial fix that made this port work on 10.5
 PPC (it was defaulting to 10.6, and telling it that it was really on 10.5
 fix the build)

 Oh right, I forgot that. So libtool may contain some code that assumes
 10.6 and later is Intel only. And if so, the creators of the 10.6-on-PPC
 effort would need to patch that.

 > I expected to find the symbols for dyld_stub_binding_helper were not in
 libSystem.dylib on 10.5 (or on 10.6-PPC).
 >
 > But surprise me, they were in libSystem on 10.5 when I went looking for
 them on my 10.5 PPC system as above.

 That surprises me too because I thought I found something that said
 `dyld_stub_binding_helper` was only for Intel.

 > the build (on my 10.5 system anyway) was using
 {{{/opt/local/bin/libtool}}} for the libtool.

 Ah, ok. Apple libtool from the cctools port. And if libtool assumes 10.6
 and later is Intel, then this libtool would also need a patch for 10.6-on-
 PPC.

 No matter. Avoiding libtool should fix it.

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


More information about the macports-tickets mailing list