https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976
--- Comment #19 from Sergey Fedorov <vital.had at gmail dot com> --- (In reply to Peter Dyballa from comment #18) > -- Comment #17 from Sergey Fedorov <vital.had at gmail dot com> --- > > What's the status of this in gcc 16? > > I cannot tell, I am still waiting for MacPorts to start supporting this > version of GCC. > > If you insist, I can try to build both, GCC 15 and 16, outside of MacPorts, > without the patches (the sun is shining quite extremely and so I have some > electric power to waste, can take a few days to build each…). Here is the port which works on 10.6.8 ppc at least: https://github.com/macos-powerpc/powerpc-ports/blob/9bb7cb863893e05b41df26577191c08679319c10/lang/gcc16/Portfile However better not to build this very moment due to: https://github.com/iains/gcc-16-branch/issues/4 Alternatively, add back --disable-tls into configure args, that should work fine like earlier versions. > MacPorts has these patches for GCC 15: > -rw-r--r-- 1 root wheel 1116 2025-08-31 09:22 > darwin8-define-PTHREAD_RWLOCK_INITIALIZER.patch > -rw-r--r-- 1 root wheel 2130 2025-08-31 09:22 darwin8-ttyname_r.patch > -rw-r--r-- 1 root wheel 78 2025-08-31 09:22 mp-gcc15 > -rw-r--r-- 1 root wheel 201467 2025-11-01 18:02 patch-darwin-gcc-15.2.0.diff > -rw-r--r-- 1 root wheel 941 2025-08-31 09:22 > patch-gcc10-disable-macports-cctools-as-changes.diff patch-darwin-gcc-VERSION.diff is generated from Iain’s branch. Better use it. patch-gcc10-disable-macports-cctools-as-changes.diff is only relevant for clangs, i.e. on ppc it is inconsequential. mp-gcc15 is a select file used by MacPorts, not a patch. No idea if 10.4-specific patches are still needed. > darwin8 is Mac OS X 10.6.x, Snow Leopard, I think. darwin8 is 10.4 (Tiger).
