https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976

--- Comment #98 from Peter Dyballa <Peter_Dyballa at web dot de> ---
(In reply to Iain Sandoe from comment #97)
> (In reply to Peter Dyballa from comment #96)
> 
> I have no real way to know.

OK, I can make comparisons! What are the original places and files of used
patch files:

/usr/bin/patch -t -N -p0 <
.../ports/lang/gcc16/files/patch-darwin-gcc-16.1.0.diff
/usr/bin/patch -t -N -p0 <
.../ports/lang/gcc16/files/patch-fix-rs6000-host-darwin.diff
/usr/bin/patch -t -N -p0 <
.../ports/lang/gcc16/files/patch-gcc10-disable-macports-cctools-as-changes.diff
 # only meaningful with MacPorts' gcc10-bootstrap?
/usr/bin/patch -t -N -p0 <
.../ports/lang/gcc16/files/0001-gcc-config-restore-ppc_intrinsics.h.patch

-rw-r--r--@ 1 pete  admin  499800 20 Jun 10:18 patch-darwin-gcc-16.1.0.diff
-rw-r--r--@ 1 pete  admin     355 20 Jun 10:18
patch-fix-rs6000-host-darwin.diff
-rw-r--r--@ 1 pete  admin     941 20 Jun 10:19
patch-gcc10-disable-macports-cctools-as-changes.diff
-rw-r--r--@ 1 pete  admin   34177 20 Jun 10:17
0001-gcc-config-restore-ppc_intrinsics.h.patch

The obvious file patch-gcc10-disable-macports-cctools-as-changes.diff has this
contents:

--- Makefile.in.orig    2022-06-29 13:59:25.000000000 +0100
+++ Makefile.in 2022-06-29 13:59:58.000000000 +0100
@@ -653,6 +653,12 @@
 @host_makefile_frag@
 ### 

+# override MacPorts cctools modifications to allow standard gas assembler to
be used
+HOST_EXPORTS            += export DISABLE_MACPORTS_AS_CLANG_SEARCH=1;
+HOST_EXPORTS            += export DISABLE_XCODE_AS_CLANG_SEARCH=1;
+POSTSTAGE1_HOST_EXPORTS += export DISABLE_MACPORTS_AS_CLANG_SEARCH=1;
+POSTSTAGE1_HOST_EXPORTS += export DISABLE_XCODE_AS_CLANG_SEARCH=1;
+
 # This is the list of directories that may be needed in RPATH_ENVVAR
 # so that programs built for the target machine work.
 TARGET_LIB_PATH =
$(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_liboffloadmic)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libphobos)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)

It presumingly addresses the top-level Makefile.in. At least there I have

-rw-r--r--  1 pete  pete   2469015 27 Jun 20:23 Makefile.in
-rw-r--r--  1 pete  admin  2468654 30 Apr 10:33 Makefile.in.orig

Reply via email to