Opened 3 years ago

Closed 3 years ago

#64397 closed defect (fixed)

Leopard SDK fix in MacPorts Wiki problem

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: wiki Version: 2.7.1
Keywords: PowerPC, Leopard, ppc64 Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

There is proposed "fix" for 10.5 SDK here: wiki:LeopardSDKFixes

It is problematic, however: libgcc_s.10.5.dylib on 10.5.8 has 4 archs (including ppc64), while libgcc_s.10.5.dylib in 10.6 SDK from Xcode 4 has 3 archs (no ppc64).

Original file vs one extracted from Xcode:

36-217:~ svacchanda$ 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
36-217:~ svacchanda$ file /Users/svacchanda/Desktop/libgcc_s.10.5.dylib 
/Users/svacchanda/Desktop/libgcc_s.10.5.dylib: Mach-O universal binary with 3 architectures
/Users/svacchanda/Desktop/libgcc_s.10.5.dylib (for architecture x86_64):	Mach-O 64-bit dynamically linked shared library stub x86_64
/Users/svacchanda/Desktop/libgcc_s.10.5.dylib (for architecture i386):	Mach-O dynamically linked shared library stub i386
/Users/svacchanda/Desktop/libgcc_s.10.5.dylib (for architecture ppc7400):	Mach-O dynamically linked shared library stub ppc

Change History (3)

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Then I guess you can't use that fix if you need ppc64. If you'd like to edit the wiki page to add a note to that effect, feel free.

comment:2 in reply to:  1 Changed 3 years ago by barracuda156

Replying to ryandesign:

Then I guess you can't use that fix if you need ppc64. If you'd like to edit the wiki page to add a note to that effect, feel free.

I have added a note there.

comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.