The precise nature of how ppc64 software is broken

gsteemso

New Tinkerer
Mar 28, 2026
1
0
1
So, as many of us are aware, there’s some kind of fault in Apple’s PowerPC-era toolchains which cause them to incorrectly construct the error-unwinding information on subroutines when building for “-arch ppc64”. (As far as I can make out, information which should occupy several words of memory is instead overwritten onto the same word, rendering it useless.) Apple took advantage of the transition to Intel to declare they would not fix it, which is why Clang will only do 32-bit PowerPC.

I am most of the way through working out how to fix this, but I have yet to determine exactly what component of the toolchain is failing to correctly write the error-unwinding data. I’m 100% confident in identifying it eventually, but I figure it would save me a lot of time if anyone out there already knows. It costs nothing to ask. :¬)

So, how about it? Does anyone know more?