I have compiled a few of the most important projects that are required for a working compiler toolchain, which now means that Xcode 3.2.6 can be used properly (builds and links binaries, binaries work):
View attachment 2436966
The following projects are mandatory for a working Xcode:
- ld64
- gcc (stock gcc is incomplete for ppc)
- cctools for the as tool
- gnumake
I have attached the binaries, and they need to be put in the proper locations after installing Xcode 3.2.6.
By the way, @barracuda156 what actually fixed the Pacifist problem was the wrong date because my PowerBook doesn't have a battery. It should work if you set the year to 2023, no idea why.
Just tested the updated binaries I've built from AOSP and unfortunately only a single bug has been fixed. @barracuda156 Pacifist now seems to be working fine.
The good part is that now I could restore 4 stock 10.6.8 frameworks (DirectoryService and Security).
Still the same Finder unmount disk bug (killall Finder still helps) and same DNS problem.
Yeah, I'll use Xcode 3.2.6 today.
these are the projects in that list that I don't have.
Bash-80
gcc_select-70
gcc-gcc-5646
graphviz-1009
ksh-16.1
nasm-13
net_snmp-127
ntp-45.1
SystemStubs-6
Twisted-9
file_cmds-202.2
gdb-1344
ruby_libxml-8
I'll upload once I'm done with compiling. unfortunately I can't remember much what I had to patch but it was mostly dealing with headers and adding PowerPC to the valid archs. What I remember that I had to delete some AppStore strings from some security projects due to a private header I couldn't find and DirectoreService that actually required some small changes in the code.
After doing a lot of following these threads and internet searches I have 10.6.8 running on my iMac PowerMac6,3. 2GB Ram 1.25 GHZ. It's running on a firewire drive so I can boot that or 10.5 on the internal SSD. I got a working port building toolchain on 10.5 which enabled building a caching dns to overcome some of the networking issues. I just then copied all of /opt to the 10.6.8 drive. I was stumped for a long time with it still not working after building a caching DNS (I used dnscache from djbdns). I could watch the packets going and supposedly returning to the iMac but for some reason the iMac was just not seeing them. Trying what seems like a dozen or two things to sort it out, I found that the network would work reliably in 10.6.8 ONLY in 10mb mode. Full duplex. It works fine on 100mb on 10.5. Odd.
At any rate I'm trying to update the build tools and then update the 10.5 ports to 10.6.8 which will take at least a week with my speed and installed ports.
I'm running into the common issue of the finder not reflecting local or network drive ejects unless restarted.
Also I can't seem to do anything to get smb mounts working. NFS actually works ok (after a 1 minute or so hesitation). This is to a debian bookworm linux box. SMB simply won't work even though I figured out the server side changes to get it to work on 10.5. When I do it from the command line I get a "failed to load the smb library" message. Moving forward I hope to get xcode 3.2 installed so I can rebuild the macports from 10.5.
At this point testing user stuff. The DVD player works fine. Video is fine. TenFourFox works well. iTunes rips and tags CD tracks.
I installed the MacPorts from your signature. I assume that will download the pre-built ports if I can get it to work. I'm getting an error about Xcode not being installed. It's still the 3.1 version from 10.5 (which does run). I saw a reference to a 3.2 version from the 10a190 iso, is that what I need? I'll need to scroll through to find it.If you are okay with installing pre-built ports, I probably have everything for you (gcc14, latest cmake and most few thousands of other ports).
For internet use utdns. Borrow the binary from 10.6.8 thread, from my archive on macos-powerpc.org/packages or build yourself from upstream GH. That is known to work perfectly fine, I have internet on 10.6.8 now.
I installed the MacPorts from your signature. I assume that will download the pre-built ports if I can get it to work. I'm getting an error about Xcode not being installed. It's still the 3.1 version from 10.5 (which does run). I saw a reference to a 3.2 version from the 10a190 iso, is that what I need? I'll need to scroll through to find it.
Do you have any pointers about the SMB issue or the weird need to use 10MB on my ethernet?
Thanks a bunch!
Thanks, I'm fine with using the 10a190 xcode 3.2 if I find it, the links to that and the updated MacPorts rsync url will really help.Wipe out 3.1.4, that should not be used (someone gave that recommendation for 10a190, and it unfortunately kept floating around).
I think 3.2 from 10a190 will work perfectly fine, at least for your purposes now.
Alternatively, install 3.2.6 and replace a few binaries in /usr/bin and /Developer/usr/bin (this is a bit of a mess at the moment in a sense that we do not have a single archive or pkg for that but everything is here and there). A quick and easy way would be to borrow from 10a190 (`cp -p ` from there). A better way would be to use rebuilt from source stuff.
Once I am back to the machine (one hour or so) I will try to sort this a bit and have links available.
My PPCPorts (MacPorts for 10.6 ppc) from the site will point to an outdated path, I think. I will update it today, or just edit archive.conf and sources.conf – stuff is at macos-powerpc.org/PPCPorts now.
Thanks, I'm fine with using the 10a190 xcode 3.2 if I find it, the links to that and the updated MacPorts rsync url will really help.
I'm going to take a few hours to sleep. It's 2am here
I got the Xcode installed, port no longer complains about that but there is something wrong in my setup using your URL. It can't find the binaries. For example:Ok cool. By the time you wake everything should be ready, hopefully.
P. S. Image of 10a190 is linked to in the Wikipost here and available on macintoshgarden and perhaps on archive.org too. You need a DVD image, not a pre-installed dmg for this.
I got the Xcode installed, port no longer complains about that but there is something wrong in my setup using your URL. It can't find the binaries. For example:
sudo port -bv install utdns
Password:
Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'.
Error: Failed to archivefetch utdns: Binary-only mode requested with no usable archive sites configured
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_macos-powerpc.org_macos-powerpc_PPCPorts_ports_net_utdns/utdns/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port utdns failed
@barracuda156 pkgbuild was introduced with release 3.2 XCode so if sources exist they will be in that tree. Failing that, possibly 10A222 onwards worth checking. Will check my files when home later and report back on the development thread.
I have compiled a few of the most important projects that are required for a working compiler toolchain, which now means that Xcode 3.2.6 can be used properly (builds and links binaries, binaries work):
View attachment 2436966
The following projects are mandatory for a working Xcode:
- ld64
- gcc (stock gcc is incomplete for ppc)
- cctools for the as tool
- gnumake
I have attached the binaries, and they need to be put in the proper locations after installing Xcode 3.2.6.
macmini:~ svacchanda$ /usr/bin/ld -v
@(#)PROGRAM:ld PROJECT:ld64-97.17
llvm version 2.9svn, from Apple Clang 1.7 (build 77)
macmini:~ svacchanda$ otool -L /usr/bin/ld
/usr/bin/ld (architecture x86_64):
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)
@executable_path/../lib/libLTO.dylib (compatibility version 1.0.0, current version 3070.0.0)
/usr/bin/ld (architecture i386):
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)
@executable_path/../lib/libLTO.dylib (compatibility version 1.0.0, current version 3070.0.0)
10:~ svacchanda$ /usr/bin/ld -v
@(#)PROGRAM:ld PROJECT:ld64-127.2
llvm version 3.0svn, from Apple Clang 3.0 (build 211.10.1)
10:~ svacchanda$ otool -L /usr/bin/ld
/usr/bin/ld:
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 123.0.0)
@executable_path/../lib/libLTO.dylib (compatibility version 1.0.0, current version 3211.9.0)
macmini:macports-ports svacchanda$ otool -L /Users/svacchanda/Downloads/other\ tools/ld
/Users/svacchanda/Downloads/other tools/ld:
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)
I had to force disable LTO, as I couldn't find the LLVM headers at the time.
3) Logout goes to a black screen which freezes the computer (keyboard caps lock key light does nothing).