<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ac6b1c26495644c381faff5481c1bf31d552a65e">https://github.com/macports/macports-ports/commit/ac6b1c26495644c381faff5481c1bf31d552a65e</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new ac6b1c26495 mingw-*: Fix everything and update to v9.0.0
</span>ac6b1c26495 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ac6b1c26495644c381faff5481c1bf31d552a65e
</span>Author: Dean M Greer <gcenx83@gmail.com>
AuthorDate: Sun Jun 20 21:53:48 2021 -0400
<span style='display:block; white-space:pre;color:#404040;'> mingw-*: Fix everything and update to v9.0.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - crossgcc Portgroup fix compiling gcc-11 on 10.10 and lower (compiler blacklist from gcc11)
</span><span style='display:block; white-space:pre;color:#404040;'> - Mingw-ctr Fix build (don't build in parallel)
</span><span style='display:block; white-space:pre;color:#404040;'> - Mingw-gcc Build on ARM64/Apple Silicon (patch from gcc-11.1.0-arm branch)
</span><span style='display:block; white-space:pre;color:#404040;'> - Mingw-gcc Change patch names (fix lint warnings)
</span><span style='display:block; white-space:pre;color:#404040;'> - Mingw-w64 Updated to v9.0.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes https://trac.macports.org/ticket/62901
</span>---
_resources/port1.0/group/crossgcc-1.0.tcl | 14 ++++
cross/i686-w64-mingw32-gcc/Portfile | 7 +-
cross/i686-w64-mingw32-gcc/files/patch-arm64.diff | 86 ++++++++++++++++++++++
...gomp-Don-t-hard-code-MS-printf-attributes.diff} | 0
...atch => patch-notparallel-install-headers.diff} | 0
cross/mingw-w64/Portfile | 11 ++-
cross/x86_64-w64-mingw32-gcc/Portfile | 7 +-
.../x86_64-w64-mingw32-gcc/files/patch-arm64.diff | 86 ++++++++++++++++++++++
...gomp-Don-t-hard-code-MS-printf-attributes.diff} | 0
...atch => patch-notparallel-install-headers.diff} | 0
10 files changed, 203 insertions(+), 8 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/crossgcc-1.0.tcl b/_resources/port1.0/group/crossgcc-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index b67c06870e3..25ef90a6989 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/crossgcc-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/crossgcc-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -113,6 +113,7 @@ proc crossgcc.setup {target version} {
</span> set crossgcc.version $version
uplevel {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup compiler_blacklist_versions 1.0
</span> name ${crossgcc.target}-gcc
version ${crossgcc.version}
categories cross devel
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -261,6 +262,19 @@ proc crossgcc.setup {target version} {
</span> # fatal error: error in backend: ran out of registers during register allocation
compiler.blacklist {clang >= 421 < 422}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Section taken from gcc11 Portfile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${version} >= 11.0 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/29067
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/29104
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/47996
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/58493
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append {clang < 800} gcc-4.0 *gcc-4.2 {llvm-gcc-4.2 < 2336.1} {macports-clang-3.[4-7]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/105513/steps/install-port/logs/stdio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # c++/v1/functional:1408:2: error: no member named 'fancy_abort' in namespace 'std::__1'; did you mean simply 'fancy_abort'?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append {clang < 1000}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> universal_variant no
build.dir ${workpath}/build
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/i686-w64-mingw32-gcc/Portfile b/cross/i686-w64-mingw32-gcc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 754608f5ba4..843330b26ff 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cross/i686-w64-mingw32-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/cross/i686-w64-mingw32-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,10 +22,13 @@ depends_lib-append port:${mingw_target}-headers
</span> # port:cloog
# port:ppl
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append notparallel-install-headers.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-notparallel-install-headers.diff
</span>
# Fixes libgomp compile
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append 0020-libgomp-Don-t-hard-code-MS-printf-attributes.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-libgomp-Don-t-hard-code-MS-printf-attributes.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Fix ARM64, Patch taken from gcc-arm64-darwin port
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-ARM64.diff
</span>
configure.args-replace \
--enable-multilib \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/i686-w64-mingw32-gcc/files/patch-arm64.diff b/cross/i686-w64-mingw32-gcc/files/patch-arm64.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..8ef88aa234d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/cross/i686-w64-mingw32-gcc/files/patch-arm64.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,86 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From eea3046c5fa62d4dee47e074c7a758570d9da61c Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Iain Sandoe <iain@sandoe.co.uk>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Tue, 18 Aug 2020 22:29:51 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] Darwin, Arm64 : Initial support for the self-host driver.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+At present, this just includes the generic Darwin stuff.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gcc/config.host | 7 +++++-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gcc/config/aarch64/host-aarch64-darwin.c | 32 ++++++++++++++++++++++++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gcc/config/aarch64/x-darwin | 3 +++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 3 files changed, 41 insertions(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ create mode 100644 gcc/config/aarch64/host-aarch64-darwin.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ create mode 100644 gcc/config/aarch64/x-darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git gcc/config.host gcc/config.host
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 0a02c33cc8044455bc2412a365c8d214b8c47f2b..27ae5c4c785cc01380a3ced22a4340375e31e412 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- gcc/config.host
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ gcc/config.host
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -99,7 +99,8 @@ case ${host} in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case ${host} in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- aarch64*-*-freebsd* | aarch64*-*-linux* | aarch64*-*-fuchsia*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ aarch64*-*-freebsd* | aarch64*-*-linux* | aarch64*-*-fuchsia* |\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ aarch64-*-darwin* | arm64*-*-darwin*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case ${target} in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ aarch64*-*-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ host_extra_gcc_objs="driver-aarch64.o"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -251,6 +252,10 @@ case ${host} in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ host_extra_gcc_objs="${host_extra_gcc_objs} driver-mingw32.o"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ host_lto_plugin_soname=liblto_plugin.dll
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ aarch64-*-darwin* | arm64-*-darwin*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ out_host_hook_obj="${out_host_hook_obj} host-aarch64-darwin.o"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ host_xmake_file="${host_xmake_file} aarch64/x-darwin"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ i[34567]86-*-darwin* | x86_64-*-darwin*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ out_host_hook_obj="${out_host_hook_obj} host-i386-darwin.o"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ host_xmake_file="${host_xmake_file} i386/x-darwin"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git gcc/config/aarch64/host-aarch64-darwin.c gcc/config/aarch64/host-aarch64-darwin.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+new file mode 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 0000000000000000000000000000000000000000..1a2cd4c9dab5def492691147984a0a155494c9b3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ gcc/config/aarch64/host-aarch64-darwin.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -0,0 +1,32 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++/* Arm64-darwin host-specific hook definitions.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ Copyright (C) 2020 Free Software Foundation, Inc.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++This file is part of GCC.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++GCC is free software; you can redistribute it and/or modify it under
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++the terms of the GNU General Public License as published by the Free
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++Software Foundation; either version 3, or (at your option) any later
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++version.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++GCC is distributed in the hope that it will be useful, but WITHOUT ANY
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++WARRANTY; without even the implied warranty of MERCHANTABILITY or
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++for more details.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++You should have received a copy of the GNU General Public License
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++along with GCC; see the file COPYING3. If not see
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++<http://www.gnu.org/licenses/>. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define IN_TARGET_CODE 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "config.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "system.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "coretypes.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "hosthooks.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "hosthooks-def.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "config/host-darwin.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++/* Darwin doesn't do anything special for arm64/aarch64 hosts; this file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ exists just to include the generic config/host-darwin.h. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++const struct host_hooks host_hooks = HOST_HOOKS_INITIALIZER;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git gcc/config/aarch64/x-darwin gcc/config/aarch64/x-darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+new file mode 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 0000000000000000000000000000000000000000..6d788d5e89cfb42ed3028c7a9728ec7f65d8a3d2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ gcc/config/aarch64/x-darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -0,0 +1,3 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++host-aarch64-darwin.o : $(srcdir)/config/aarch64/host-aarch64-darwin.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(COMPILE) $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(POSTCOMPILE)
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/i686-w64-mingw32-gcc/files/0020-libgomp-Don-t-hard-code-MS-printf-attributes.patch b/cross/i686-w64-mingw32-gcc/files/patch-libgomp-Don-t-hard-code-MS-printf-attributes.diff
</span>similarity index 100%
rename from cross/i686-w64-mingw32-gcc/files/0020-libgomp-Don-t-hard-code-MS-printf-attributes.patch
rename to cross/i686-w64-mingw32-gcc/files/patch-libgomp-Don-t-hard-code-MS-printf-attributes.diff
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/i686-w64-mingw32-gcc/files/notparallel-install-headers.patch b/cross/i686-w64-mingw32-gcc/files/patch-notparallel-install-headers.diff
</span>similarity index 100%
rename from cross/i686-w64-mingw32-gcc/files/notparallel-install-headers.patch
rename to cross/i686-w64-mingw32-gcc/files/patch-notparallel-install-headers.diff
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/mingw-w64/Portfile b/cross/mingw-w64/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1270f8da104..0850d84c3b5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cross/mingw-w64/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/cross/mingw-w64/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,7 +3,7 @@
</span> PortSystem 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup mirror mingw-w64 8.0.2 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup mirror mingw-w64 9.0.0 v
</span> set mingw_name w64-mingw32
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,9 +17,9 @@ long_description Mingw-w64 is an advancement of the original mingw.org projec
</span>
homepage http://mingw-w64.sourceforge.net/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 22df5cfea7d3c0c5f99e6203ff76878f508c88b8 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 de80994f3a719b1ae843c76c5d14e64a26dc01f99f42b4f09c18ebbf71a339a9 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 12798138
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 00283408fb97100817d2f4aca149526443e428c2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 4a7d40a4e1125142e417b9161191e8efda5633f5062a2560eaf636a79230b4e6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 13107021
</span>
# needs an out-of-source build
configure.dir ${workpath}/build
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -92,6 +92,9 @@ if {${subport} ne ${name}} {
</span> # but in fact it's GCC that needs CRT at runtime, not the other way around.
if {${mingw_comp} eq "crt"} {
depends_build-append bin:${mingw_target}-gcc:${mingw_target}-gcc-bootstrap
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Resolves "Too many open files in system"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_parallel_build no
</span> # *-winpthreads
} else {
# winpthreads needs at least stage 2 compiler (or the final one)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/x86_64-w64-mingw32-gcc/Portfile b/cross/x86_64-w64-mingw32-gcc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index fe807ebf48d..97222a91625 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cross/x86_64-w64-mingw32-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/cross/x86_64-w64-mingw32-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,10 +22,13 @@ depends_lib-append port:${mingw_target}-headers
</span> # port:cloog
# port:ppl
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append notparallel-install-headers.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-notparallel-install-headers.diff
</span>
# Fixes libgomp compile
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append 0020-libgomp-Don-t-hard-code-MS-printf-attributes.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-libgomp-Don-t-hard-code-MS-printf-attributes.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Fix ARM64, Patch taken from gcc-arm64-darwin port
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-ARM64.diff
</span>
configure.args-replace \
--enable-multilib \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/x86_64-w64-mingw32-gcc/files/patch-arm64.diff b/cross/x86_64-w64-mingw32-gcc/files/patch-arm64.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..8ef88aa234d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/cross/x86_64-w64-mingw32-gcc/files/patch-arm64.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,86 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From eea3046c5fa62d4dee47e074c7a758570d9da61c Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Iain Sandoe <iain@sandoe.co.uk>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Tue, 18 Aug 2020 22:29:51 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] Darwin, Arm64 : Initial support for the self-host driver.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+At present, this just includes the generic Darwin stuff.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gcc/config.host | 7 +++++-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gcc/config/aarch64/host-aarch64-darwin.c | 32 ++++++++++++++++++++++++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gcc/config/aarch64/x-darwin | 3 +++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 3 files changed, 41 insertions(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ create mode 100644 gcc/config/aarch64/host-aarch64-darwin.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ create mode 100644 gcc/config/aarch64/x-darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git gcc/config.host gcc/config.host
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 0a02c33cc8044455bc2412a365c8d214b8c47f2b..27ae5c4c785cc01380a3ced22a4340375e31e412 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- gcc/config.host
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ gcc/config.host
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -99,7 +99,8 @@ case ${host} in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case ${host} in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- aarch64*-*-freebsd* | aarch64*-*-linux* | aarch64*-*-fuchsia*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ aarch64*-*-freebsd* | aarch64*-*-linux* | aarch64*-*-fuchsia* |\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ aarch64-*-darwin* | arm64*-*-darwin*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case ${target} in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ aarch64*-*-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ host_extra_gcc_objs="driver-aarch64.o"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -251,6 +252,10 @@ case ${host} in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ host_extra_gcc_objs="${host_extra_gcc_objs} driver-mingw32.o"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ host_lto_plugin_soname=liblto_plugin.dll
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ aarch64-*-darwin* | arm64-*-darwin*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ out_host_hook_obj="${out_host_hook_obj} host-aarch64-darwin.o"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ host_xmake_file="${host_xmake_file} aarch64/x-darwin"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ i[34567]86-*-darwin* | x86_64-*-darwin*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ out_host_hook_obj="${out_host_hook_obj} host-i386-darwin.o"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ host_xmake_file="${host_xmake_file} i386/x-darwin"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git gcc/config/aarch64/host-aarch64-darwin.c gcc/config/aarch64/host-aarch64-darwin.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+new file mode 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 0000000000000000000000000000000000000000..1a2cd4c9dab5def492691147984a0a155494c9b3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ gcc/config/aarch64/host-aarch64-darwin.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -0,0 +1,32 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++/* Arm64-darwin host-specific hook definitions.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ Copyright (C) 2020 Free Software Foundation, Inc.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++This file is part of GCC.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++GCC is free software; you can redistribute it and/or modify it under
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++the terms of the GNU General Public License as published by the Free
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++Software Foundation; either version 3, or (at your option) any later
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++version.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++GCC is distributed in the hope that it will be useful, but WITHOUT ANY
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++WARRANTY; without even the implied warranty of MERCHANTABILITY or
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++for more details.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++You should have received a copy of the GNU General Public License
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++along with GCC; see the file COPYING3. If not see
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++<http://www.gnu.org/licenses/>. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define IN_TARGET_CODE 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "config.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "system.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "coretypes.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "hosthooks.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "hosthooks-def.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "config/host-darwin.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++/* Darwin doesn't do anything special for arm64/aarch64 hosts; this file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ exists just to include the generic config/host-darwin.h. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++const struct host_hooks host_hooks = HOST_HOOKS_INITIALIZER;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git gcc/config/aarch64/x-darwin gcc/config/aarch64/x-darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+new file mode 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 0000000000000000000000000000000000000000..6d788d5e89cfb42ed3028c7a9728ec7f65d8a3d2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ gcc/config/aarch64/x-darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -0,0 +1,3 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++host-aarch64-darwin.o : $(srcdir)/config/aarch64/host-aarch64-darwin.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(COMPILE) $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(POSTCOMPILE)
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/x86_64-w64-mingw32-gcc/files/0020-libgomp-Don-t-hard-code-MS-printf-attributes.patch b/cross/x86_64-w64-mingw32-gcc/files/patch-libgomp-Don-t-hard-code-MS-printf-attributes.diff
</span>similarity index 100%
rename from cross/x86_64-w64-mingw32-gcc/files/0020-libgomp-Don-t-hard-code-MS-printf-attributes.patch
rename to cross/x86_64-w64-mingw32-gcc/files/patch-libgomp-Don-t-hard-code-MS-printf-attributes.diff
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/x86_64-w64-mingw32-gcc/files/notparallel-install-headers.patch b/cross/x86_64-w64-mingw32-gcc/files/patch-notparallel-install-headers.diff
</span>similarity index 100%
rename from cross/x86_64-w64-mingw32-gcc/files/notparallel-install-headers.patch
rename to cross/x86_64-w64-mingw32-gcc/files/patch-notparallel-install-headers.diff
</pre><pre style='margin:0'>
</pre>