https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976
--- Comment #106 from Sergey Fedorov <vital.had at gmail dot com> ---
(In reply to Peter Dyballa from comment #104)
> With restored .MK files
>
> -rw-r--r-- 1 pete admin 370 30 Apr 10:33 config/bootstrap-debug-big.mk
> -rw-r--r-- 1 pete admin 697 30 Apr 10:33 config/bootstrap-debug-ckovw.mk
> -rw-r--r-- 1 pete admin 537 30 Apr 10:33 config/bootstrap-debug-lean.mk
> -rw-r--r-- 1 pete admin 499 30 Apr 10:33 config/bootstrap-debug-lib.mk
> -rw-r--r-- 1 pete admin 510 30 Apr 10:33 config/bootstrap-debug.mk
>
> nothing changed, "md-unwind-def.h" not found. But I made a mistake! Checking
> again MacPorts' logfile from building GCC 16.1, gcc-16.1.0/Makefile.in was
> also also changed by '/usr/bin/sed {s|^do-compare =|do-compare =
> /usr/bin/true|g}'. So another distclean, extract 16.1.0/Makefile.in etc.!
> Which could be started before sleep…
>
> From the four patch files, applied in that order,
>
> patch-darwin-gcc-16.1.0.diff
> patch-fix-rs6000-host-darwin.diff
> patch-gcc10-disable-macports-cctools-as-changes.diff
> 0001-gcc-config-restore-ppc_intrinsics.h.patch
>
> later I might leave out the third one (used to build GCC 10–15 with
> MacPorts). Where are the original versions of the remaining three to compare
> them with what I have on disk?
>
> Files à la 'patch-darwin-gcc-<version>.diff' exist to build GCC 10–16 with
> MacPorts.
What do you mean by "original"?
patch-darwin-gcc-<version>.diff is generated, as described, from Iain's
branches. You can regenerate those patches locally, following the same
procedure (see the portfile). You should also get the identical result building
from Iain's repo directly.
patch-fix-rs6000-host-darwin.diff is a fix for
https://github.com/iains/gcc-16-branch/issues/3 (needed at the moment for
gcc16)
0001-gcc-config-restore-ppc_intrinsics.h.patch is Iain's patch restoring old
ppc intrinsics header. I added it to my port, because it can be useful (and
actually used in one port, I think), but it has no impact on the compiler as
such. You can remove it if you want.
patch-gcc10-disable-macports-cctools-as-changes.diff is some clang-specific
MacPorts hack. Inconsequential for powerpc systems.