Changes between Version 3 and Version 4 of LeopardSDKFixes


Ignore:
Timestamp:
Mar 26, 2016, 9:38:22 AM (8 years ago)
Author:
potmj (Michael Pot)
Comment:

I am trying to get this wiki to work for me, but my Xcode 3.2 on a SL machine has exactly the same libgcc_s.10.5.dylib as the Leopard 3.1 Xcode! The information needs to include better details of the required libgcc and what exact systems might have it, or where it can be obtained from (or patch file). These changes are intended to help more novice users proceed with maintaining their installed macports ports and dependencies with the updates. I have just upgraded the SL machine to Lion & installed the oldest Xcode for it (4.1), but I still can't find the required libgcc_s10.5.dylib - I don't know which newer version this wiki is referring to or where to find it. Do I need to do something special in Xcode 4.1 to populate it?

Legend:

Unmodified
Added
Removed
Modified
  • LeopardSDKFixes

    v3 v4  
    55== Missing symbols in /usr/lib/libgcc_s.10.5.dylib ==
    66
    7 Update /usr/lib/libgcc_s.10.5.dylib from a newer OS (to get the missing stubs for `__udivti3` and others):
     7Update /usr/lib/libgcc_s.10.5.dylib from (33620 19 Feb  2008 - Xcode 3.1), to a newer version from a newer OS [Xcode? version?] (to get the missing stubs for `__udivti3` and others):
    88{{{
    9 sudo cp /usr/lib/libgcc_s.10.5.dylib{,.bak}
    10 sudo scp <snow leopard or newer machine>:/usr/lib/libgcc_s.10.5.dylib /usr/lib/libgcc_s.10.5.dylib
     9sudo cp -pv /usr/lib/libgcc_s.10.5.dylib{,.bak}
     10sudo scp -pv <snow leopard or newer machine>:/usr/lib/libgcc_s.10.5.dylib /usr/lib/libgcc_s.10.5.dylib
    1111}}}
    1212
    13 You will know that this worked successfully if you can compile this with clang-mp-3.4:
     13Do this for / and use similar commands for /Developer/SDKs/MacOSX10.5.sdk/.[[BR]]
     14
     15You will know that this worked successfully if you can compile this with clang-mp-3.4:-
    1416{{{
    1517int main() {
     
    2123}
    2224}}}
     25Save to a file - e.g. ctest.cpp and compile with an active version of macports clang & llvm
     26
     27{{{
     28someuser% sudo port select --set clang mp-clang-3.4
     29Selecting 'mp-clang-3.4' for 'clang' succeeded. 'mp-clang-3.4' is now active.
     30someuser% clang --version
     31clang version 3.4.2 (tags/RELEASE_34/dot2-final)
     32Target: i386-apple-darwin9.8.0
     33Thread model: posix
     34someuser% clang ctest.cpp
     35ctest.cpp:2:4: error: unknown type name '__uint128_t'
     36   __uint128_t a = 100;
     37}}}
     38So this is a fail at the moment
    2339
    2440== Incorrect `__MAC_OS_X_VERSION_MAX_ALLOWED` ==