Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

alex_free

macrumors 68000
Original poster

Imagine if tiger was still supported by MacPorts, thats exactly the experience this provides.

Highlights​


  • Officially support Tiger Intel and PowerPC. The Intel support is huge, as Intel Tiger had not been well tested since being dropped by MacPorts officially (and even then their were always more PowerPC users reporting and fixing issues). With TigerPorts having it's own custom port overlay based on powerpc-ports as upstream, I can rapidly change the ports tree with Tiger in mind (though I also contribute back to PowerPC Ports). As I am one person, I've decided to focus on a subset of end user facing ports rather then being overwhelmed by the entire ports tree. This allows me to test, maintain, and officially support things that matter and show real results for Tiger. The scope of this will naturely increase in time, but documenting what we have working, what we want working, and how we have it working remains important and informs any potentional end users of the results already available for them to expierence.
  • Binary archives. Tiger never had build bots (dedicated Macs automatically building compiled binaries for download on other Macs, in order to skip the need for building from source locally on an end user's machine) for 10.4 even back when it was officially supported by MacPorts. Leopard did have build bots at one point a few years ago, but no longer does as of 2026. I have two powerful workstations I use for development and for binary package creation, and my own tools currently to maintain hosting them for tigerports.com in tigerports-infrastructure. If you would like to see what binary archives are available, you can browse through them on this site. I also keep statisitcs of how many have been made so far.
  • As macports-base is the heart of the Macports project, tigerports-base is the heart of the TigerPorts project. It is important to stay relatively in sync with macports, and currently tigerports-base is based off of macports-base sources from 4/10/2026 (so v2.12.04 + some additional commits). This means tigerports-base is based off of newer sources then ppcports-base as of 9/29/2026, though this is not a competion and I need to test upstream changes faster to ensure Tiger compatibility is maintained and to prepare for major changes. Tigerports-base also has implemented additional tiger related fixes into base.
  • Tigerports-base does not simply restore 10.4 compatibility to base, it also aims to be more capapble then the official macports-base was when it did support Tiger. TigerPorts-Base includes my new bootstrap system, building base against an updated cURL and OpenSSL which allows downloading distfiles from anywhere on the internet (Github, Gitlab, other https/tls mandated sites) that macports-base previously could not do before on legacy systems by default. This makes building from source and active development as seemless as a modern system, at as far as getting the source code on your machine for testing. TigerPorts-base also includes more in the bootstrap then just cURL and OpenSSL specifically for Tiger, to get it up to the standard/functionallity base typically expects and mandates for Leopard. This is done by including things such as the GNUMake from the Mac OS X 10.5.8 open source Apple releases, including updated GNUtar, bsdtar (from Libarchive), Gzip, and Bzip2.
  • Downloadable portindexes are created by the tigerports.com server for end users, and used by tigerports-base. Portindexes are how the port command knows how to read your port tree. In other overlay setups, portindexes have to be regenerated on your own machine locally. This entails processing 40,000+ ports, which is slower on even most the powerful Tiger machines in comparison to just downloading a small file already generated on a server.
  • TigerPorts is completely untied from existing MacPorts infrastructure. The TigerPorts.com server provides an rsync server for the ports tree and base selfupdate functionallity. Selfupdate can work via http, and connects to the tigerports.com server as well. Everything in base is configured to use the equivelent macports.org functionallity provided instead at tigerports.com.

Greetz @kencu @barracuda156 @Forest Expertise
 
Last edited:
Just fantastic Alex.

I had pondered something similar, but decided against doing it as my heart is not in Tiger any more.

I did have some fixes for Tiger put together, which I have shared here for you:


Once you've culled anything out of there that seems at all useful to you, please let me know and I'll delete that repo to avoid any confusion.

Very glad to see you take it all over!
 
You never know -- I still have machines that run Tiger, and it's not impossible that I could contribute something again.

Getting this going and available for use as a compiler for Tiger PPC would be pretty fabulous:

 
  • Like
Reactions: Appleuser201
Just fantastic Alex.

I had pondered something similar, but decided against doing it as my heart is not in Tiger any more.

I did have some fixes for Tiger put together, which I have shared here for you:


Once you've culled anything out of there that seems at all useful to you, please let me know and I'll delete that repo to avoid any confusion.

Very glad to see you take it all over!

In general I prefer to keep old stuff around, it does not cost us fortune to keep things on github . (While AI definitely trained on it).

For humans you can add line in Readme "use upstream here instead".

Rationale/rationalization: sometimes stuff not useful for 10-20 years just spark someone's interest again. Thinking in general takes time ....
 
Just fantastic Alex.

I had pondered something similar, but decided against doing it as my heart is not in Tiger any more.

I did have some fixes for Tiger put together, which I have shared here for you:


Once you've culled anything out of there that seems at all useful to you, please let me know and I'll delete that repo to avoid any confusion.

Very glad to see you take it all over!
In 2021 I used your tigerports-repo overlay to compile Super Mario 64 EX (decompilation to native i386/ppc mac os x port) for tiger/leopard as well as half-life 1 for intel tiger (now yall have half-life 2 for tiger ppc haha). That was the first time anyone did a n64 port to ppc/tiger, and the first time half-life 1 was available without needing steam (required leopard/intel even back when that OS was current). I check occasionally and that person who totally isn't me that uploaded sm64ex tiger/leopard ppc builds to archive.org are still there!

You inspired all this! You carried tiger way longer then it ever should have. I compiled MINGW-W64 toolchain on PPC TIGER in 2021! Believe it or not sm64ex needs that on even the current MacOS (too much to explain why but trust me on it).
 
Last edited:
  • Like
Reactions: kencu
Howdy Alex! I was just setting this up on my PBG4 and found that the tarball on your website led to a 404, couldn't find the logical location of where it might be hiding by poking around elsewhere in the folders.
 
  • Like
Reactions: alex_free
Howdy Alex! I was just setting this up on my PBG4 and found that the tarball on your website led to a 404, couldn't find the logical location of where it might be hiding by poking around elsewhere in the folders.
Oh wow, the gz download is down. The bz2 works, I’ll fix that thanks
 
@Smithwick’s back up, thanks for the report. There’s gonna be more PowerPC binaries up soon, but I just started building them with my new G5 (currently a lot of Intel stuff is up already, power stuff is working just needs to be built from source right now).
 
  • Love
Reactions: Smithwick’s
Can this be integrated with an existing install of MacPorts 2.10.7? I have two installs of MP on Tiger with fairly updated ports (June/July) on both my MDD and PBG4.
 
Can this be integrated with an existing install of MacPorts 2.10.7? I have two installs of MP on Tiger with fairly updated ports (June/July) on both my MDD and PBG4.
You could download the release and build it to 'upgrade' into tigerports. Once you do you won't loose any installed ports, but you will now be using the tigerports tree so there may be updates available.

This closely tracks both ppcports and has some things in it I haven't submitted to ppcports yet (I try to submit everything I fix there), but there is a ton of things working like gcc16, git, curl, python, and more. There's also some fixes for other things related to tiger in the base that your install.

I'm planning on hosting a ton of ppc pre-built ports soon, but alas they are still building on my G5 for now (there is a ton of Intel stuff already up, and more to come there too).
 
  • Like
Reactions: Appleuser201
libsdl2-cocoa now builds from source with pulse-audio backend (so latest SDL2+working sound) 🙂
 
This is HUGE. You know why?
Screen Shot 2026-08-26 at 1.15.51 AM.png

THIS IS WHY
Screen Shot 2026-08-26 at 1.18.29 AM.png

I added on the .001 because that's how the new version system TigerPorts is going to use will go.
This is now based on MacPorts 2.12.04, and is the first release for Tiger so .001 is added on the end.
That's right, look at this
Screen Shot 2026-08-26 at 1.20.05 AM.png

TigerPorts is going to be only 113 commits behind upstream macports-base. That means we got all kinds of nice features enabled like direct git repo cloning and whatnot. Compare that to where it is right now for PPCPorts (tiger_upd branch)/TigerPorts v1.2.1:
Screen Shot 2026-08-26 at 1.21.32 AM.png

I also wrote a bootstrap system for curl that is awesome because it is like a mini PPCMC7 build system: https://github.com/alex-free/tigerports-base/blob/master/bootstrap
Screen Shot 2026-08-26 at 1.23.01 AM.png


@barracuda156 the commit you want to get base up to is this one: https://github.com/macports/macports-base/commit/227a37b749dc2991bbaf7c600dd56e46174f8206This is the very last time base used tcl 8.x, the next commit is when the upgrade moves to tcl 9: https://github.com/macports/macports-base/commit/d875700c340497137f6eec574ca448cc02858120. This isn't so much a problem if you are targeting snow leopard/leopard only. But right now Tiger can't build tcl 9 and it's not simple at all from what I've tried to get it working so far. Another thing that's sort of a nightmare is they start using tcl 9 features so they move things around a bit into different files, thats not the end of the world but up to the commit before tcl 8 it makes sense to merge up to that point before going further.

Still, this gets us using MacPorts-base sources from 4/10/2026! ON TIGER! There are some new tiger fixes needed that I implemented, and right now it doesn't build with tiger system libcurl (they really updated pextlib.c to want leopard system libcurl features, and I don't know if it's even worth it to try to find equivelents if there even are ones). But thats fine due to how the new bootstrap system works as we don't need it, we can build against bootstrap libcurl. The future is NOW
 
Last edited:
v2.12.04.001 (8/26/2026)

Changes:


  • Now at parity with MacPorts v2.12.04, specificially we are at:https://github.com/macports/macports-base/commit/227a37b749dc2991bbaf7c600dd56e46174f8206. This enables a ton of new base features and functionality, and gets tigerports-base up to date with macports-base as of 4/10/2026.
  • New bootstrap system has been implemented. It gets Tiger able to connect and fetch software with https up to TLSv1.2, which github andgitlab still support. This means many more distfiles can be downloaded by default, lowering the burden on me keeping up hosting them on tigerports.com. Tigerports.com will still offer distfiles from the httpserver as backups in case any go down or are missing or if for some reasons it’s faster then other mirrors it will be automatically used.
  • Selfupdate has been changed to use tigerports.com server rather then macports. It also is aware of and uses the new bootstrapsystem.
  • Further clean up, getting base as close to upstream as possibleto make this easier to maintain.
 
Last edited:
Thanks for putting this together! An issue I've encountered with the bootstrap:

On both a MDD G4 and PowerMac G5 running Tiger 10.4.11, the bootstrap results in:

Code:
Error: unsupported Power Macintosh


Looking at the script, line 28 sets the variable arch:
Code:
arch=($uname -m)

That call produces "Power Macintosh". These are the uname options in the man page and associated output on PPC Tiger (PowerMac G5):

Code:
uname -s: Darwin
uname -p: powerpc
uname -n: powermacg5

Lines 58 through 69 then have the logic that checks $arch, none of which match the output above. I modified the bootstrap file:

Bash:
if [ "$arch" == ppc ]; then
    ssl_config_val=darwin-ppc-cc
elif [ "$arch" == ppc64 ]; then
    ssl_config_val=darwin64-ppc-cc
elif [ "$arch" == i386 ]; then
    ssl_config_val=darwin-i386-cc
elif [ "$arch" == x86_64 ]; then
    ssl_config_val=darwin64-x86_64-cc
elif [ "$arch" == "Power Macintosh" ]; then
    ssl_config_val=darwin-ppc-cc
else
    echo "Error: unsupported $arch"
    exit 1
fi

It runs the bootstrap, but it errors out as well:
Code:
configure: error: /opt/local/bootstrap is a bad --with-openssl prefix!
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
curl-8.17.0 installed!
Clearing temp files...

That's as far as I'm going to get tonight. Let me know if you need any more info.
 
  • Like
Reactions: alex_free
Thanks for putting this together! An issue I've encountered with the bootstrap:

On both a MDD G4 and PowerMac G5 running Tiger 10.4.11, the bootstrap results in:

Code:
Error: unsupported Power Macintosh


Looking at the script, line 28 sets the variable arch:
Code:
arch=($uname -m)

That call produces "Power Macintosh". These are the uname options in the man page and associated output on PPC Tiger (PowerMac G5):

Code:
uname -s: Darwin
uname -p: powerpc
uname -n: powermacg5

Lines 58 through 69 then have the logic that checks $arch, none of which match the output above. I modified the bootstrap file:

Bash:
if [ "$arch" == ppc ]; then
    ssl_config_val=darwin-ppc-cc
elif [ "$arch" == ppc64 ]; then
    ssl_config_val=darwin64-ppc-cc
elif [ "$arch" == i386 ]; then
    ssl_config_val=darwin-i386-cc
elif [ "$arch" == x86_64 ]; then
    ssl_config_val=darwin64-x86_64-cc
elif [ "$arch" == "Power Macintosh" ]; then
    ssl_config_val=darwin-ppc-cc
else
    echo "Error: unsupported $arch"
    exit 1
fi

It runs the bootstrap, but it errors out as well:
Code:
configure: error: /opt/local/bootstrap is a bad --with-openssl prefix!
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
curl-8.17.0 installed!
Clearing temp files...

That's as far as I'm going to get tonight. Let me know if you need any more info.
All of this will be fixed in next version. I did some more extensive testing on ppc and intel (the uname -m only works for intel in the old code, I replaced it with the actual arch command). The other thing is an issue that happens when you extract a tarball for an autoconf or autoconf-like software and upload it to git. It looses the timestamps and just in general is bad to deal with. I know of 2 ways to fix that, PPCMC7 build system does a ton of stuff to work around it but the easiest is to just ship tarballs.

Anyways, sorry about that experience, I'll let you know when the update is out it will fix all of that.
 
  • Like
Reactions: Full-Throttle
@Full-Throttle

v2.12.04.002 (8/26/2026)​


Changes:


  • Fixed bootstrap ppc detection.
  • Improved bootstrap rebuild detection so that it will not rebuild only if curl successfully was built (and -f wasn’t given, and its not set to false for version bump via selfupdate).
  • Bootstrap now extracts tarballs instead of copying extracted source directories. This not only makes diffing this against other macports-base projects easier, but fixes issues related to copying extracted sources after they have been uploaded to git.
 
Last edited:
Finally, the entire gcc16 toolchain and dependencies are available as binary archives for both ppc and intel. After much testing and work I have been able to get this compiler to build on both intel and ppc G5/rosetta (previously only G4 tiger was working, as confirmed by @Forest Expertise). Now I can let this 2GHZ G5 with max ram rip through building ppc packages at parity with their intel counterparts!
Picture 5.png
 
Last edited:
Not everything is public (yet) but at last, I am this close to latest ffmpeg on tiger, WITH working FFplay linked to latest libsdl2 and all other deps:
Screen Shot 2026-09-06 at 9.04.09 PM.png


Intel will need much more work for various reasons, so I'm doing powerpc first. This is one of the targets of the tigerports project (it's insane to think every port can be fixed by a few people, but if you can keep the dependency chains working for things you/people actually care about you can get real results):

gcc16 (check)
git (check)
libsdl2 (check)
ffmpeg (??)
python314 (check)
openvpn2(almost, I have it working just need to clean it up).
yt-dlp (??)
?? will find out more targets as I do this..

More about the goals of tigerports, status of upstreaming things, and etc. will be available on a dedicated webpage soon. Anyone is also able to contribute to the project (and the getting started section on tigerports.com makes it very easy). As always this is a WIP, but I'm really happy with what the has been able to be accomplished so far. For a 21 year old OS that isn't officially supported anywhere else (and specifically intel on that OS which has been much more of a nightmare as it's even less tested), these results have been obtainable in just a few months of work.

I hope to help anyone interested in 10.4 development by posting some common pitfalls and solutions:

* Lack of complete copyfile.h/O_NOFOLLOW
* Lack of complete AccessControlList on tiger server due to the above (and no support at all on retail)
* SDK system headers not being C23 compliant causing type issues.
* Newer x86_64 only instructions not being available/recognized by cctools/as.

Tiger was the first Mac OS I ever used, and although it's not nearly as popular as even a few years ago it's a very interesting problem to me and fun to get things working. And every once in a while someone comes by to see how broken it is and what still works, and I like finding out how far it can be forced to work with modern stuff that has no business running.
 
Last edited:
  • Like
Reactions: Andrew-R
I’m not sure if it is still functional, but you should be able to get a much better assembler if you are able to compile something like LLVM 6 on tiger. With this, you’ll be able to use the LLVM assembler which is vastly more modern than the apple one. In fact, for PowerFox, this is exactly what I do, I use GCC 13 with clang 16 as the assembler, though an older LLVM release is much more likely to be workable.
 
Picture 2.png

Latest SDL2 (with working pulseaudio backend), latest FFmpeg/FFplay with all deps on a G5 running tiger playing 720p H.264 (malloc will be addressed later)🙂
 
  • Like
Reactions: Full-Throttle
I’m not sure if it is still functional, but you should be able to get a much better assembler if you are able to compile something like LLVM 6 on tiger. With this, you’ll be able to use the LLVM assembler which is vastly more modern than the apple one. In fact, for PowerFox, this is exactly what I do, I use GCC 13 with clang 16 as the assembler, though an older LLVM release is much more likely to be workable.
I'll have to look into it. @kencu mentioned something about a llvm7 fork.

The main issue I've been encountering with the assembler however is related to intel hardware itself that can run tiger. Lots of software sees gcc16 and goes 'great this knows about all these advanced cpu instructions like avx512' and then the assembler dies because it has no idea what that is. The worst is when it tries to use a detection instruction like xgetbv to find out if something like avx would work, when we don't even have xgetbv (and no one writes fallbacks like intel specifies to detect if the detection instruction is itself available, which its not on anything made before 2011).

Even if I get an assembler that knows about newer intel instructions, that would just build executables in the above case that don't run on the target hardware (which is core solo/duo at the low end, and core 2 duo/xeon at the high end) so it's sort of a catch22 unless I'm missing something. I could target i.e. prescott (which is the correct tune for core duo) but software still blasts -mavx and other fun stuff like that thinking no one runs anything intel pre 2011 which nullifies it to my understanding of even doing a tune.

Perhaps the best thing would be to do some kind of wrapper instruction for xgetbv that returns no this doesn't do any of that (which is kinda what my software patches already do, just on a per port basis). And maybe a gcc patch to ignore everything releated to avx/SSE4.2 etc.

I think macports official either uses build bots with substantially newer intel cpus, or clang just handles it differently (I have seen them encounter the same issues in comments though). Since this is all gcc right now, it's really uncharted territory.
 
Last edited:
I'll have to look into it. @kencu mentioned something about a llvm7 fork.

The main issue I've been encountering with the assembler however is related to intel hardware itself that can run tiger. Lots of software sees gcc16 and goes 'great this knows about all these advanced cpu instructions like avx512' and then the assembler dies because it has no idea what that is. The worst is when it tries to use a detection instruction like xgetbv to find out if something like avx would work, when we don't even have xgetbv (and no one writes fallbacks like intel specifies to detect if the detection instruction is itself available, which its not on anything made before 2011).

Even if I get an assembler that knows about newer intel instructions, that would just build executables in the above case that don't run on the target hardware (which is core solo/duo at the low end, and core 2 duo/xeon at the high end) so it's sort of a catch22 unless I'm missing something. I could target i.e. prescott (which is the correct tune for core duo) but software still blasts -mavx and other fun stuff like that thinking no one runs anything intel pre 2011 which nullifies it to my understanding of even doing a tune.

Perhaps the best thing would be to do some kind of wrapper instruction for xgetbv that returns no this doesn't do any of that (which is kinda what my software patches already do, just on a per port basis). And maybe a gcc patch to ignore everything releated to avx/SSE4.2 etc.

I think macports official either uses build bots with substantially newer intel cpus, or clang just handles it differently (I have seen them encounter the same issues in comments though). Since this is all gcc right now, it's really uncharted territory.

MacPorts smuggles in clang for as, I recall. Not sure how compiled-but-unsupported instructions are handled. My MacMini CoreSolo stopped booting, no hardware to try running pre-built ports on i386.
 
  • Love
Reactions: alex_free
What happens is that there is hand written assembly in optimized paths containing instructions that the apple assembler is too old to recognize. With a newer assembler, it can be compiled and not used when it is not supported, otherwise it needs to be patched out to compile with the apple assembler.
 
  • Love
Reactions: alex_free
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.