[MacPorts] #71648: gcc10-bootstrap @10.5.0 does not build on PPC Leopard, Mac OS X 10.5.8, because of ld: symbol(s) not found

MacPorts noreply at macports.org
Sat Dec 28 01:17:18 UTC 2024


#71648: gcc10-bootstrap @10.5.0 does not build on PPC Leopard, Mac OS X 10.5.8,
because of ld: symbol(s) not found
------------------------------+-------------------------
  Reporter:  ballapete        |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.10.5
Resolution:                   |   Keywords:  leopard ppc
      Port:  gcc10-bootstrap  |
------------------------------+-------------------------

Comment (by kencu):

 so here's proof that gcc10-bootstrap installs:
 {{{
 $ port -v installed gcc10-bootstrap
 The following ports are currently installed:
   gcc10-bootstrap @10.5.0_0+universal (active) requested_variants=''
 platform='darwin 9' archs='ppc' date='2024-03-21T03:47:22-0700'
 }}}

 You'll notice it says "universal" but clearly is not:

 {{{
 $ file /opt/local/libexec/gcc10-bootstrap/lib/libstdc++.6.dylib
 /opt/local/libexec/gcc10-bootstrap/lib/libstdc++.6.dylib: Mach-O
 dynamically linked shared library ppc
 }}}

 but gcc10-bootstrap has been kinda broken like that from the very
 beginning of when it was pushed. I tried to get it right, but after a
 while I just gave up and let the folks work on it. It got pushed, slightly
 borked. It works for. the core architecture only I believe, at least on
 the pre-10.6 systems.


 be that as it may, my system software is a bit different than yours:

 {{{
 $ file /usr/lib/libgcc_s.10.5.dylib
 /usr/lib/libgcc_s.10.5.dylib: Mach-O universal binary with 4 architectures
 /usr/lib/libgcc_s.10.5.dylib (for architecture i386):   Mach-O dynamically
 linked shared library stub i386
 /usr/lib/libgcc_s.10.5.dylib (for architecture x86_64): Mach-O 64-bit
 dynamically linked shared library stub x86_64
 /usr/lib/libgcc_s.10.5.dylib (for architecture ppc):    Mach-O dynamically
 linked shared library stub ppc
 /usr/lib/libgcc_s.10.5.dylib (for architecture ppc64):  Mach-O 64-bit
 dynamically linked shared library stub ppc64
 }}}

 {{{
 $ file /Developer/SDKs/MacOSX10.5.sdk/usr/lib/libgcc_s.10.5.dylib
 /Developer/SDKs/MacOSX10.5.sdk/usr/lib/libgcc_s.10.5.dylib: Mach-O
 universal binary with 4 architectures
 /Developer/SDKs/MacOSX10.5.sdk/usr/lib/libgcc_s.10.5.dylib (for
 architecture i386):     Mach-O dynamically linked shared library stub i386
 /Developer/SDKs/MacOSX10.5.sdk/usr/lib/libgcc_s.10.5.dylib (for
 architecture x86_64):   Mach-O 64-bit dynamically linked shared library
 stub x86_64
 /Developer/SDKs/MacOSX10.5.sdk/usr/lib/libgcc_s.10.5.dylib (for
 architecture ppc7400):  Mach-O dynamically linked shared library stub ppc
 /Developer/SDKs/MacOSX10.5.sdk/usr/lib/libgcc_s.10.5.dylib (for
 architecture ppc64):    Mach-O 64-bit dynamically linked shared library
 stub ppc64
 }}}

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


More information about the macports-tickets mailing list