summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2018-06-05 00:58:08 -0500
committerYaakov Selkowitz <yselkowi@redhat.com>2018-06-05 00:58:08 -0500
commit7d1ab1e68f4ae0117999ce55ca04e64928db76f9 (patch)
tree7f3335232045ab0be9d75643969591521a43026b
parent05d25de7c4bb7618fce420dd388dc28c050b8739 (diff)
downloadcygwin-gcc-7d1ab1e68f4ae0117999ce55ca04e64928db76f9.tar.gz
cygwin-gcc-7d1ab1e68f4ae0117999ce55ca04e64928db76f9.tar.xz
cygwin-gcc-7d1ab1e68f4ae0117999ce55ca04e64928db76f9.zip
cygwin-gcc 7.3.0
-rw-r--r--0007-Avoid-installing-libffi-V2.patch (renamed from 0007-Avoid-installing-libffi.patch)52
-rw-r--r--0009-Cygwin-uses-sysv-ABI-on-x86_64-V2.patch (renamed from 0009-Cygwin-uses-sysv-ABI-on-x86_64.patch)33
-rw-r--r--0012-handle-dllimport-properly-in-medium-model-V2.patch (renamed from 0012-handle-dllimport-properly-in-medium-model.patch)24
-rw-r--r--0019-Cygwin-doesn-t-do-text-mode-translations-for-file-ha.patch37
-rw-r--r--0020-cygwin-uses-cyg-lib-prefix-v3.patch (renamed from 0020-cygwin-uses-cyg-lib-prefix.patch)52
-rw-r--r--0025-enable-libcilkrts.patch130
-rw-r--r--0027-libtool-w32api.patch584
-rw-r--r--0029-gcc-specs.patch12
-rw-r--r--cygwin-gcc.spec91
-rw-r--r--sources2
10 files changed, 84 insertions, 933 deletions
diff --git a/0007-Avoid-installing-libffi.patch b/0007-Avoid-installing-libffi-V2.patch
index 4af4cfe..441f2b0 100644
--- a/0007-Avoid-installing-libffi.patch
+++ b/0007-Avoid-installing-libffi-V2.patch
@@ -1,66 +1,52 @@
-From c6176a7c4154802d213ca2e7f41c12ff6618f244 Mon Sep 17 00:00:00 2001
-From: Jonathan Yong <10walls@gmail.com>
-Date: Sat, 28 Jun 2014 09:16:44 +0800
-Subject: [PATCH 07/21] Avoid installing libffi
-
-Only the convenience library is used in libjava, and the bundled version
-is usually a few releases behind the standalone version.
----
- Makefile.in | 6 ------
- 1 file changed, 6 deletions(-)
-
diff --git a/Makefile.in b/Makefile.in
-index bc2bae6..c4bd73b 100644
+index b824e0a..c6b419b 100644
--- a/Makefile.in
+++ b/Makefile.in
-@@ -1661,7 +1661,6 @@ install-info-target: maybe-install-info-target-libgo
+@@ -1684,7 +1684,6 @@ install-info-target: maybe-install-info-target-libhsail-rt
install-info-target: maybe-install-info-target-libtermcap
install-info-target: maybe-install-info-target-winsup
install-info-target: maybe-install-info-target-libgloss
-install-info-target: maybe-install-info-target-libffi
- install-info-target: maybe-install-info-target-libjava
install-info-target: maybe-install-info-target-zlib
- install-info-target: maybe-install-info-target-boehm-gc
-@@ -1748,7 +1747,6 @@ install-pdf-target: maybe-install-pdf-target-libgo
+ install-info-target: maybe-install-info-target-rda
+ install-info-target: maybe-install-info-target-libada
+@@ -1770,7 +1769,6 @@ install-pdf-target: maybe-install-pdf-target-libhsail-rt
install-pdf-target: maybe-install-pdf-target-libtermcap
install-pdf-target: maybe-install-pdf-target-winsup
install-pdf-target: maybe-install-pdf-target-libgloss
-install-pdf-target: maybe-install-pdf-target-libffi
- install-pdf-target: maybe-install-pdf-target-libjava
install-pdf-target: maybe-install-pdf-target-zlib
- install-pdf-target: maybe-install-pdf-target-boehm-gc
-@@ -1835,7 +1833,6 @@ install-html-target: maybe-install-html-target-libgo
+ install-pdf-target: maybe-install-pdf-target-rda
+ install-pdf-target: maybe-install-pdf-target-libada
+@@ -1856,7 +1854,6 @@ install-html-target: maybe-install-html-target-libhsail-rt
install-html-target: maybe-install-html-target-libtermcap
install-html-target: maybe-install-html-target-winsup
install-html-target: maybe-install-html-target-libgloss
-install-html-target: maybe-install-html-target-libffi
- install-html-target: maybe-install-html-target-libjava
install-html-target: maybe-install-html-target-zlib
- install-html-target: maybe-install-html-target-boehm-gc
-@@ -1922,7 +1919,6 @@ installcheck-target: maybe-installcheck-target-libgo
+ install-html-target: maybe-install-html-target-rda
+ install-html-target: maybe-install-html-target-libada
+@@ -1942,7 +1939,6 @@ installcheck-target: maybe-installcheck-target-libhsail-rt
installcheck-target: maybe-installcheck-target-libtermcap
installcheck-target: maybe-installcheck-target-winsup
installcheck-target: maybe-installcheck-target-libgloss
-installcheck-target: maybe-installcheck-target-libffi
- installcheck-target: maybe-installcheck-target-libjava
installcheck-target: maybe-installcheck-target-zlib
- installcheck-target: maybe-installcheck-target-boehm-gc
-@@ -2586,7 +2582,6 @@ install-target: \
+ installcheck-target: maybe-installcheck-target-rda
+ installcheck-target: maybe-installcheck-target-libada
+@@ -2610,7 +2606,6 @@ install-target: \
maybe-install-target-libtermcap \
maybe-install-target-winsup \
maybe-install-target-libgloss \
- maybe-install-target-libffi \
- maybe-install-target-libjava \
maybe-install-target-zlib \
- maybe-install-target-boehm-gc \
-@@ -2693,7 +2688,6 @@ install-strip-target: \
+ maybe-install-target-rda \
+ maybe-install-target-libada \
+@@ -2716,7 +2711,6 @@ install-strip-target: \
maybe-install-strip-target-libtermcap \
maybe-install-strip-target-winsup \
maybe-install-strip-target-libgloss \
- maybe-install-strip-target-libffi \
- maybe-install-strip-target-libjava \
maybe-install-strip-target-zlib \
- maybe-install-strip-target-boehm-gc \
---
-2.4.5
-
+ maybe-install-strip-target-rda \
+ maybe-install-strip-target-libada \
diff --git a/0009-Cygwin-uses-sysv-ABI-on-x86_64.patch b/0009-Cygwin-uses-sysv-ABI-on-x86_64-V2.patch
index d93173a..a36e9ce 100644
--- a/0009-Cygwin-uses-sysv-ABI-on-x86_64.patch
+++ b/0009-Cygwin-uses-sysv-ABI-on-x86_64-V2.patch
@@ -1,28 +1,16 @@
-From e1a6bd5a0f166c0677e0272bec0e7e3f26003fbd Mon Sep 17 00:00:00 2001
-From: Jonathan Yong <10walls@gmail.com>
-Date: Sat, 28 Jun 2014 09:31:06 +0800
-Subject: [PATCH 09/21] Cygwin uses sysv ABI on x86_64
-
----
- gcc/builtin-attrs.def | 3 +++
- gcc/gtm-builtins.def | 2 +-
- libitm/libitm.h | 3 ++-
- libitm/libitm_i.h | 4 ++--
- 4 files changed, 8 insertions(+), 4 deletions(-)
-
diff --git a/gcc/builtin-attrs.def b/gcc/builtin-attrs.def
-index 1338644..59bdc72 100644
+index 38fb1bb..bd5d97a 100644
--- a/gcc/builtin-attrs.def
+++ b/gcc/builtin-attrs.def
-@@ -108,6 +108,7 @@ DEF_ATTR_IDENT (ATTR_TYPEGENERIC, "type generic")
+@@ -112,6 +112,7 @@ DEF_ATTR_IDENT (ATTR_TYPEGENERIC, "type generic")
DEF_ATTR_IDENT (ATTR_TM_REGPARM, "*tm regparm")
DEF_ATTR_IDENT (ATTR_TM_TMPURE, "transaction_pure")
DEF_ATTR_IDENT (ATTR_RETURNS_TWICE, "returns_twice")
+DEF_ATTR_IDENT (ATTR_SYSV_ABI, "sysv_abi")
+ DEF_ATTR_IDENT (ATTR_RETURNS_NONNULL, "returns_nonnull")
DEF_ATTR_TREE_LIST (ATTR_NOVOPS_LIST, ATTR_NOVOPS, ATTR_NULL, ATTR_NULL)
-
-@@ -264,6 +265,8 @@ DEF_ATTR_TREE_LIST (ATTR_TM_CONST_NOTHROW_LIST,
+@@ -375,6 +376,8 @@ DEF_ATTR_TREE_LIST (ATTR_TM_CONST_NOTHROW_LIST,
ATTR_TM_REGPARM, ATTR_NULL, ATTR_CONST_NOTHROW_LIST)
DEF_ATTR_TREE_LIST (ATTR_TM_NOTHROW_RT_LIST,
ATTR_RETURNS_TWICE, ATTR_NULL, ATTR_TM_NOTHROW_LIST)
@@ -32,7 +20,7 @@ index 1338644..59bdc72 100644
/* Same attributes used for BUILT_IN_MALLOC except with TM_PURE thrown in. */
DEF_ATTR_TREE_LIST (ATTR_TMPURE_MALLOC_NOTHROW_LIST,
diff --git a/gcc/gtm-builtins.def b/gcc/gtm-builtins.def
-index e2bc081..08cf597 100644
+index 6d5cfb9..1f47898 100644
--- a/gcc/gtm-builtins.def
+++ b/gcc/gtm-builtins.def
@@ -1,5 +1,5 @@
@@ -43,7 +31,7 @@ index e2bc081..08cf597 100644
DEF_TM_BUILTIN (BUILT_IN_TM_COMMIT, "_ITM_commitTransaction",
BT_FN_VOID, ATTR_TM_NOTHROW_LIST)
diff --git a/libitm/libitm.h b/libitm/libitm.h
-index 651896b..6f7a84b 100644
+index 4745f2a..a8c77e7 100644
--- a/libitm/libitm.h
+++ b/libitm/libitm.h
@@ -45,6 +45,7 @@ extern "C" {
@@ -64,10 +52,10 @@ index 651896b..6f7a84b 100644
extern void _ITM_abortTransaction(_ITM_abortReason) ITM_REGPARM ITM_NORETURN;
diff --git a/libitm/libitm_i.h b/libitm/libitm_i.h
-index 0eda01b..87f793d 100644
+index b3633bb..3072bad 100644
--- a/libitm/libitm_i.h
+++ b/libitm/libitm_i.h
-@@ -289,7 +289,7 @@ struct gtm_thread
+@@ -294,7 +294,7 @@ struct gtm_thread
// Invoked from assembly language, thus the "asm" specifier on
// the name, avoiding complex name mangling.
static uint32_t begin_transaction(uint32_t, const gtm_jmpbuf *)
@@ -76,7 +64,7 @@ index 0eda01b..87f793d 100644
// In eh_cpp.cc
void init_cpp_exceptions ();
void revert_cpp_exceptions (gtm_transaction_cp *cp = 0);
-@@ -322,7 +322,7 @@ namespace GTM HIDDEN {
+@@ -328,7 +328,7 @@ namespace GTM HIDDEN {
extern uint64_t gtm_spin_count_var;
extern "C" uint32_t GTM_longjmp (uint32_t, const gtm_jmpbuf *, uint32_t)
@@ -85,6 +73,3 @@ index 0eda01b..87f793d 100644
extern "C" void GTM_LB (const void *, size_t) ITM_REGPARM;
---
-2.4.5
-
diff --git a/0012-handle-dllimport-properly-in-medium-model.patch b/0012-handle-dllimport-properly-in-medium-model-V2.patch
index 6520bb0..9e453d5 100644
--- a/0012-handle-dllimport-properly-in-medium-model.patch
+++ b/0012-handle-dllimport-properly-in-medium-model-V2.patch
@@ -1,17 +1,8 @@
-From 8d351787bfcd1db7a5661dd9fccd0a1fa0fa04fc Mon Sep 17 00:00:00 2001
-From: Jonathan Yong <10walls@gmail.com>
-Date: Sat, 28 Jun 2014 09:52:21 +0800
-Subject: [PATCH 12/21] handle dllimport properly in medium model
-
----
- gcc/config/i386/predicates.md | 5 +++++
- 1 file changed, 5 insertions(+)
-
diff --git a/gcc/config/i386/predicates.md b/gcc/config/i386/predicates.md
-index bc76a5b..e886af2 100644
+index e4da309..33c6294 100644
--- a/gcc/config/i386/predicates.md
+++ b/gcc/config/i386/predicates.md
-@@ -168,6 +168,7 @@
+@@ -169,6 +169,7 @@
switch (XINT (XEXP (op, 0), 1))
{
case UNSPEC_GOTPCREL:
@@ -19,17 +10,14 @@ index bc76a5b..e886af2 100644
case UNSPEC_DTPOFF:
case UNSPEC_GOTNTPOFF:
case UNSPEC_NTPOFF:
-@@ -263,6 +264,10 @@
- /* TLS symbols are not constant. */
- if (SYMBOL_REF_TLS_MODEL (op))
+@@ -271,6 +272,10 @@
+ if (ix86_force_load_from_GOT_p (op))
return false;
+
+ /* Dll-imported symbols are always external. */
+ if (TARGET_DLLIMPORT_DECL_ATTRIBUTES && SYMBOL_REF_DLLIMPORT_P (op))
+ return false;
+
+ /* For certain code models, the symbolic references are known to fit. */
return (ix86_cmodel == CM_SMALL
|| (ix86_cmodel == CM_MEDIUM
- && !SYMBOL_REF_FAR_ADDR_P (op)));
---
-2.4.5
-
diff --git a/0019-Cygwin-doesn-t-do-text-mode-translations-for-file-ha.patch b/0019-Cygwin-doesn-t-do-text-mode-translations-for-file-ha.patch
deleted file mode 100644
index 0b63c22..0000000
--- a/0019-Cygwin-doesn-t-do-text-mode-translations-for-file-ha.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 418028350ff9fc086f45e628423f7d0519ad6b60 Mon Sep 17 00:00:00 2001
-From: Jonathan Yong <10walls@gmail.com>
-Date: Wed, 16 Sep 2015 06:57:22 +0800
-Subject: [PATCH 19/21] Cygwin doesn't do text mode translations for file
- handles
-
-Remove UTF-16/UTF-8 mode translations.
----
- gcc/ada/sysdep.c | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/gcc/ada/sysdep.c b/gcc/ada/sysdep.c
-index 01dae2b..fd4abbb 100644
---- a/gcc/ada/sysdep.c
-+++ b/gcc/ada/sysdep.c
-@@ -163,12 +163,16 @@ __gnat_set_mode (int handle, int mode)
- U16text = 5 */
-
- switch (mode) {
-- case 0 : WIN_SETMODE (handle, _O_BINARY); break;
-+ case 0 : WIN_SETMODE (handle, O_BINARY); break;
- case 1 : WIN_SETMODE (handle, CurrentCCSEncoding); break;
-- case 2 : WIN_SETMODE (handle, _O_TEXT); break;
-+ case 2 : WIN_SETMODE (handle, O_TEXT); break;
-+#if defined (__CYGWIN__)
-+ default: WIN_SETMODE (handle, O_BINARY); break;
-+#else
- case 3 : WIN_SETMODE (handle, _O_U8TEXT); break;
- case 4 : WIN_SETMODE (handle, _O_WTEXT); break;
- case 5 : WIN_SETMODE (handle, _O_U16TEXT); break;
-+#endif
- }
- }
-
---
-2.4.5
-
diff --git a/0020-cygwin-uses-cyg-lib-prefix.patch b/0020-cygwin-uses-cyg-lib-prefix-v3.patch
index c08bbfa..a1a1598 100644
--- a/0020-cygwin-uses-cyg-lib-prefix.patch
+++ b/0020-cygwin-uses-cyg-lib-prefix-v3.patch
@@ -1,17 +1,8 @@
-From 1e88360b5271f50364a481eed2b588ce8886f71f Mon Sep 17 00:00:00 2001
-From: Jonathan Yong <10walls@gmail.com>
-Date: Sat, 19 Sep 2015 14:28:13 +0800
-Subject: [PATCH] cygwin uses cyg lib prefix (v2)
-
----
- gcc/ada/gcc-interface/Makefile.in | 84 +++++++++++++++++++++------------------
- 1 file changed, 45 insertions(+), 39 deletions(-)
-
diff --git a/gcc/ada/gcc-interface/Makefile.in b/gcc/ada/gcc-interface/Makefile.in
-index 598b262d914..a373ca0cbb0 100644
+index 7a57019..6feeaf9 100644
--- a/gcc/ada/gcc-interface/Makefile.in
+++ b/gcc/ada/gcc-interface/Makefile.in
-@@ -130,6 +130,7 @@ arext = .a
+@@ -131,6 +131,7 @@ arext = .a
soext = .so
shext =
hyphen = -
@@ -19,7 +10,7 @@ index 598b262d914..a373ca0cbb0 100644
# program_transform_name and objdir are set by configure.ac.
program_transform_name =
-@@ -372,7 +373,7 @@ EH_MECHANISM=
+@@ -373,7 +374,7 @@ EH_MECHANISM=
# Default shared object option. Note that we rely on the fact that the "soname"
# option will always be present and last in this flag, so that we can have
@@ -28,7 +19,7 @@ index 598b262d914..a373ca0cbb0 100644
SO_OPTS = -Wl,-soname,
-@@ -1850,6 +1851,9 @@ ifeq ($(strip $(filter-out cygwin% mingw32% pe,$(target_os))),)
+@@ -1847,6 +1848,9 @@ ifeq ($(strip $(filter-out cygwin% mingw32% pe,$(target_os))),)
GMEM_LIB = gmemlib
EXTRA_GNATTOOLS = ../../gnatdll$(exeext)
EXTRA_GNATMAKE_OBJS = mdll.o mdll-utl.o mdll-fil.o
@@ -38,7 +29,7 @@ index 598b262d914..a373ca0cbb0 100644
soext = .dll
LIBRARY_VERSION := $(LIB_VERSION)
endif
-@@ -2722,16 +2726,16 @@ install-gnatlib: ../stamp-gnatlib-$(RTSDIR) install-gcc-specs
+@@ -2686,16 +2690,16 @@ install-gnatlib: ../stamp-gnatlib-$(RTSDIR) install-gcc-specs
# Also install the .dSYM directories if they exist (these directories
# contain the debug information for the shared libraries on darwin)
for file in gnat gnarl; do \
@@ -62,7 +53,7 @@ index 598b262d914..a373ca0cbb0 100644
$(DESTDIR)$(ADA_RTL_OBJ_DIR); \
fi; \
done
-@@ -2864,25 +2868,25 @@ gnatlib-shared-default:
+@@ -2828,25 +2832,25 @@ gnatlib-shared-default:
MULTISUBDIR="$(MULTISUBDIR)" \
THREAD_KIND="$(THREAD_KIND)" \
gnatlib
@@ -95,27 +86,27 @@ index 598b262d914..a373ca0cbb0 100644
+ cd $(RTSDIR); $(LN_S) $(soprefix)gnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
+ $(soprefix)gnarl$(soext)
- gnatlib-shared-dual:
- $(MAKE) $(FLAGS_TO_PASS) \
-@@ -2892,7 +2896,7 @@ gnatlib-shared-dual:
+ # Create static libgnat and libgnarl compiled with -fPIC
+ $(RM) $(RTSDIR)/libgnat_pic$(arext) $(RTSDIR)/libgnarl_pic$(arext)
+@@ -2866,7 +2870,7 @@ gnatlib-shared-dual:
MULTISUBDIR="$(MULTISUBDIR)" \
THREAD_KIND="$(THREAD_KIND)" \
gnatlib-shared-default
- $(MV) $(RTSDIR)/libgna*$(soext) .
+ $(MV) $(RTSDIR)/$(soprefix)gna*$(soext) .
+ $(MV) $(RTSDIR)/libgnat_pic$(arext) .
+ $(MV) $(RTSDIR)/libgnarl_pic$(arext) .
$(RM) ../stamp-gnatlib2-$(RTSDIR)
- $(MAKE) $(FLAGS_TO_PASS) \
- GNATLIBFLAGS="$(GNATLIBFLAGS)" \
-@@ -2901,7 +2905,7 @@ gnatlib-shared-dual:
+@@ -2877,7 +2881,7 @@ gnatlib-shared-dual:
MULTISUBDIR="$(MULTISUBDIR)" \
THREAD_KIND="$(THREAD_KIND)" \
gnatlib
- $(MV) libgna*$(soext) $(RTSDIR)
+ $(MV) $(soprefix)gna*$(soext) $(RTSDIR)
+ $(MV) libgnat_pic$(arext) $(RTSDIR)
+ $(MV) libgnarl_pic$(arext) $(RTSDIR)
- gnatlib-shared-dual-win32:
- $(MAKE) $(FLAGS_TO_PASS) \
-@@ -2912,7 +2916,7 @@ gnatlib-shared-dual-win32:
+@@ -2890,7 +2894,7 @@ gnatlib-shared-dual-win32:
MULTISUBDIR="$(MULTISUBDIR)" \
THREAD_KIND="$(THREAD_KIND)" \
gnatlib-shared-win32
@@ -124,7 +115,7 @@ index 598b262d914..a373ca0cbb0 100644
$(RM) ../stamp-gnatlib2-$(RTSDIR)
$(MAKE) $(FLAGS_TO_PASS) \
GNATLIBFLAGS="$(GNATLIBFLAGS)" \
-@@ -2921,7 +2925,7 @@ gnatlib-shared-dual-win32:
+@@ -2899,7 +2903,7 @@ gnatlib-shared-dual-win32:
MULTISUBDIR="$(MULTISUBDIR)" \
THREAD_KIND="$(THREAD_KIND)" \
gnatlib
@@ -133,12 +124,14 @@ index 598b262d914..a373ca0cbb0 100644
# ??? we need to add the option to support auto-import of arrays/records to
# the GNATLIBFLAGS when this will be supported by GNAT. At this point we will
-@@ -2935,20 +2939,22 @@ gnatlib-shared-win32:
+@@ -2913,22 +2917,24 @@ gnatlib-shared-win32:
MULTISUBDIR="$(MULTISUBDIR)" \
THREAD_KIND="$(THREAD_KIND)" \
gnatlib
- $(RM) $(RTSDIR)/libgna*$(soext)
+ $(RM) $(RTSDIR)/$(soprefix)gna*$(soext)
+ $(CP) $(RTSDIR)/libgnat$(arext) $(RTSDIR)/libgnat_pic$(arext)
+ $(CP) $(RTSDIR)/libgnarl$(arext) $(RTSDIR)/libgnarl_pic$(arext)
cd $(RTSDIR); `echo "$(GCC_FOR_TARGET)" \
| sed -e 's,\./xgcc,../../xgcc,' -e 's,-B\./,-B../../,'` -shared -shared-libgcc \
$(PICFLAG_FOR_TARGET) \
@@ -162,12 +155,14 @@ index 598b262d914..a373ca0cbb0 100644
gnatlib-shared-darwin:
$(MAKE) $(FLAGS_TO_PASS) \
-@@ -2958,27 +2964,27 @@ gnatlib-shared-darwin:
+@@ -2938,29 +2944,29 @@ gnatlib-shared-darwin:
MULTISUBDIR="$(MULTISUBDIR)" \
THREAD_KIND="$(THREAD_KIND)" \
gnatlib
- $(RM) $(RTSDIR)/libgnat$(soext) $(RTSDIR)/libgnarl$(soext)
+ $(RM) $(RTSDIR)/$(soprefix)gnat$(soext) $(RTSDIR)/$(soprefix)gnarl$(soext)
+ $(CP) $(RTSDIR)/libgnat$(arext) $(RTSDIR)/libgnat_pic$(arext)
+ $(CP) $(RTSDIR)/libgnarl$(arext) $(RTSDIR)/libgnarl_pic$(arext)
cd $(RTSDIR); `echo "$(GCC_FOR_TARGET)" \
| sed -e 's,\./xgcc,../../xgcc,' -e 's,-B\./,-B../../,'` -dynamiclib $(PICFLAG_FOR_TARGET) \
- -o libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \
@@ -202,6 +197,3 @@ index 598b262d914..a373ca0cbb0 100644
gnatlib-shared:
$(MAKE) $(FLAGS_TO_PASS) \
---
-2.13.6
-
diff --git a/0025-enable-libcilkrts.patch b/0025-enable-libcilkrts.patch
deleted file mode 100644
index 8894d27..0000000
--- a/0025-enable-libcilkrts.patch
+++ /dev/null
@@ -1,130 +0,0 @@
-diff --git a/config/target-posix b/config/target-posix
-index 2fba066..314d4c1 100644
---- a/config/target-posix
-+++ b/config/target-posix
-@@ -5,7 +5,7 @@ case "${target}" in
- ;;
- *-*-solaris2* | *-*-hpux11*)
- ;;
-- *-*-darwin* | *-*-aix*)
-+ *-*-darwin* | *-*-aix* | *-*-cygwin*)
- ;;
- *)
- UNSUPPORTED=1 ;;
-diff --git a/libcilkrts/Makefile.am b/libcilkrts/Makefile.am
-index 4f944dd..57256df 100644
---- a/libcilkrts/Makefile.am
-+++ b/libcilkrts/Makefile.am
-@@ -110,7 +110,7 @@ endif
-
-
- # Hack for Cygwin
--libcilkrts_la_LDFLAGS += -no-undefined
-+libcilkrts_la_LDFLAGS += $(lt_host_flags)
-
- # C/C++ header files for Cilk.
- # cilkincludedir = $(includedir)/cilk
-diff --git a/libcilkrts/Makefile.in b/libcilkrts/Makefile.in
-index a25d1c6..cee2ee5 100644
---- a/libcilkrts/Makefile.in
-+++ b/libcilkrts/Makefile.in
-@@ -340,6 +340,7 @@ link_cilkrts = @link_cilkrts@
- localedir = @localedir@
- localstatedir = @localstatedir@
- lt_cv_dlopen_libs = @lt_cv_dlopen_libs@
-+lt_host_flags = @lt_host_flags@
- mandir = @mandir@
- mkdir_p = @mkdir_p@
- multi_basedir = @multi_basedir@
-@@ -426,7 +427,7 @@ CILK_REVISION = 3902
-
- # Hack for Cygwin
- libcilkrts_la_LDFLAGS = -version-info 5:0:0 @lt_cv_dlopen_libs@ \
-- $(AM_LDFLAGS) $(am__append_1) $(am__append_2) -no-undefined
-+ $(AM_LDFLAGS) $(am__append_1) $(am__append_2) $(lt_host_flags)
-
- # C/C++ header files for Cilk.
- # cilkincludedir = $(includedir)/cilk
-diff --git a/libcilkrts/aclocal.m4 b/libcilkrts/aclocal.m4
-index a468681..8a7ddf6 100644
---- a/libcilkrts/aclocal.m4
-+++ b/libcilkrts/aclocal.m4
-@@ -990,6 +990,7 @@ AC_SUBST([am__untar])
-
- m4_include([../config/depstand.m4])
- m4_include([../config/lead-dot.m4])
-+m4_include([../config/lthostflags.m4])
- m4_include([../config/multi.m4])
- m4_include([../config/override.m4])
- m4_include([../libtool.m4])
-diff --git a/libcilkrts/configure b/libcilkrts/configure
-index 4e1d459..c8a7e3e 100644
---- a/libcilkrts/configure
-+++ b/libcilkrts/configure
-@@ -610,6 +610,7 @@ XCFLAGS
- lt_cv_dlopen_libs
- toolexeclibdir
- toolexecdir
-+lt_host_flags
- CXXCPP
- OTOOL64
- OTOOL
-@@ -9036,7 +9037,7 @@ _LT_EOF
- if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
- export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
- else
-- export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
-+ export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
- fi
- aix_use_runtimelinking=no
-
-@@ -13522,7 +13523,7 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
- if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
- export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
- else
-- export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
-+ export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
- fi
- ;;
- pw32*)
-@@ -14426,6 +14427,28 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-+case $host in
-+ *-cygwin* | *-mingw*)
-+ # 'host' will be top-level target in the case of a target lib,
-+ # we must compare to with_cross_host to decide if this is a native
-+ # or cross-compiler and select where to install dlls appropriately.
-+ if test -n "$with_cross_host" &&
-+ test x"$with_cross_host" != x"no"; then
-+ lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
-+ else
-+ lt_host_flags='-no-undefined -bindir "$(bindir)"';
-+ fi
-+ ;;
-+ *)
-+ lt_host_flags=
-+ ;;
-+esac
-+
-+
-+
-+
-+
-+
-
-
- # Check to see if -pthread or -lpthread is needed. Prefer the former.
-diff --git a/libcilkrts/configure.ac b/libcilkrts/configure.ac
-index 8ad647e..af999a0 100644
---- a/libcilkrts/configure.ac
-+++ b/libcilkrts/configure.ac
-@@ -160,6 +160,7 @@ AM_CONDITIONAL(MAC_LINKER_SCRIPT, test "$mac_linker_script" = "yes")
-
- AC_LIBTOOL_DLOPEN
- AM_PROG_LIBTOOL
-+ACX_LT_HOST_FLAGS
- AC_SUBST(toolexecdir)
- AC_SUBST(toolexeclibdir)
-
diff --git a/0027-libtool-w32api.patch b/0027-libtool-w32api.patch
deleted file mode 100644
index ec4e82e..0000000
--- a/0027-libtool-w32api.patch
+++ /dev/null
@@ -1,584 +0,0 @@
---- origsrc/gcc-5.4.0/boehm-gc/configure 2016-06-03 03:45:07.000000000 -0500
-+++ src/gcc-5.4.0/boehm-gc/configure 2016-06-24 15:18:51.763939500 -0500
-@@ -10226,6 +10226,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -10394,8 +10401,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
--
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
---- origsrc/gcc-5.4.0/gcc/configure 2016-05-21 03:35:25.000000000 -0500
-+++ src/gcc-5.4.0/gcc/configure 2016-06-24 15:18:52.448443500 -0500
-@@ -17088,6 +17088,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -17256,8 +17263,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
--
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
---- origsrc/gcc-5.4.0/libatomic/configure 2016-06-03 03:45:07.000000000 -0500
-+++ src/gcc-5.4.0/libatomic/configure 2016-06-24 15:18:52.673369100 -0500
-@@ -10037,6 +10037,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -10205,8 +10212,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
--
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
---- origsrc/gcc-5.4.0/libbacktrace/configure 2015-01-23 20:46:22.000000000 -0600
-+++ src/gcc-5.4.0/libbacktrace/configure 2016-06-24 15:18:52.702995900 -0500
-@@ -10055,6 +10055,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -10223,8 +10230,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
--
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
---- origsrc/gcc-5.4.0/libcc1/configure 2014-11-21 10:49:17.000000000 -0600
-+++ src/gcc-5.4.0/libcc1/configure 2016-06-24 15:18:52.750845500 -0500
-@@ -9462,6 +9462,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -9630,8 +9637,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
--
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
---- origsrc/gcc-5.4.0/libcilkrts/configure 2016-06-23 18:10:34.963484000 -0500
-+++ src/gcc-5.4.0/libcilkrts/configure 2016-06-24 15:18:52.800116400 -0500
-@@ -9987,6 +9987,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -10155,8 +10162,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
--
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
---- origsrc/gcc-5.4.0/libffi/configure 2016-06-03 03:45:07.000000000 -0500
-+++ src/gcc-5.4.0/libffi/configure 2016-06-24 15:18:52.938676300 -0500
-@@ -10296,6 +10296,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -10464,8 +10471,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
--
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
---- origsrc/gcc-5.4.0/libgfortran/configure 2016-06-03 03:45:07.000000000 -0500
-+++ src/gcc-5.4.0/libgfortran/configure 2016-06-24 15:18:53.011468500 -0500
-@@ -11284,6 +11284,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -11452,8 +11459,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
--
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
---- origsrc/gcc-5.4.0/libgo/configure 2015-09-17 07:46:06.000000000 -0500
-+++ src/gcc-5.4.0/libgo/configure 2016-06-24 15:18:53.060294500 -0500
-@@ -10052,6 +10052,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -10220,8 +10227,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
--
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
---- origsrc/gcc-5.4.0/libgomp/configure 2016-06-03 03:45:07.000000000 -0500
-+++ src/gcc-5.4.0/libgomp/configure 2016-06-24 15:18:53.091288800 -0500
-@@ -10044,6 +10044,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -10212,8 +10219,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
--
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
---- origsrc/gcc-5.4.0/libitm/configure 2016-06-03 03:45:07.000000000 -0500
-+++ src/gcc-5.4.0/libitm/configure 2016-06-24 15:18:53.166734600 -0500
-@@ -10711,6 +10711,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -10879,8 +10886,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
--
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
---- origsrc/gcc-5.4.0/libjava/configure 2016-06-03 03:45:07.000000000 -0500
-+++ src/gcc-5.4.0/libjava/configure 2016-06-24 15:32:11.579170800 -0500
-@@ -6142,7 +6142,7 @@ cygwin* | mingw* | pw32*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
-- sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
-+ sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
- ;;
- mingw*)
- # MinGW DLLs use traditional 'lib' prefix
-@@ -12296,6 +12296,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -12464,8 +12471,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
--
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
---- origsrc/gcc-5.4.0/libmpx/configure 2015-04-28 04:40:18.000000000 -0500
-+++ src/gcc-5.4.0/libmpx/configure 2016-06-24 15:18:53.265683600 -0500
-@@ -10176,6 +10176,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -10344,8 +10351,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
--
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
---- origsrc/gcc-5.4.0/libobjc/configure 2016-06-03 03:45:07.000000000 -0500
-+++ src/gcc-5.4.0/libobjc/configure 2016-06-24 15:18:53.308088200 -0500
-@@ -9509,6 +9509,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -9677,8 +9684,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
--
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
---- origsrc/gcc-5.4.0/liboffloadmic/configure 2014-11-13 08:05:49.000000000 -0600
-+++ src/gcc-5.4.0/liboffloadmic/configure 2016-06-24 15:18:53.352990300 -0500
-@@ -10026,6 +10026,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -10194,8 +10201,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
--
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
---- origsrc/gcc-5.4.0/libquadmath/configure 2016-06-03 03:45:07.000000000 -0500
-+++ src/gcc-5.4.0/libquadmath/configure 2016-06-24 15:18:53.398266400 -0500
-@@ -9473,6 +9473,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -9641,8 +9648,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
--
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
---- origsrc/gcc-5.4.0/libsanitizer/configure 2016-06-03 03:45:07.000000000 -0500
-+++ src/gcc-5.4.0/libsanitizer/configure 2016-06-24 15:18:53.428584100 -0500
-@@ -10948,6 +10948,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -11116,8 +11123,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
--
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
---- origsrc/gcc-5.4.0/libssp/configure 2014-11-21 10:49:17.000000000 -0600
-+++ src/gcc-5.4.0/libssp/configure 2016-06-24 15:18:53.473504400 -0500
-@@ -9572,6 +9572,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -9740,8 +9747,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
--
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
---- origsrc/gcc-5.4.0/libstdc++-v3/configure 2016-06-23 18:10:35.338123500 -0500
-+++ src/gcc-5.4.0/libstdc++-v3/configure 2016-06-24 15:18:53.561782800 -0500
-@@ -10506,6 +10506,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -10674,8 +10681,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
--
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
---- origsrc/gcc-5.4.0/libtool.m4 2015-11-26 07:36:26.000000000 -0600
-+++ src/gcc-5.4.0/libtool.m4 2016-06-24 13:17:37.339301600 -0500
-@@ -2064,6 +2064,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -2232,8 +2239,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
--m4_if([$1], [],[
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
---- origsrc/gcc-5.4.0/libvtv/configure 2015-02-09 05:41:22.000000000 -0600
-+++ src/gcc-5.4.0/libvtv/configure 2016-06-24 13:19:04.464784500 -0500
-@@ -11056,6 +11056,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -11224,8 +11231,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
--
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
---- origsrc/gcc-5.4.0/lto-plugin/configure 2014-11-21 10:49:17.000000000 -0600
-+++ src/gcc-5.4.0/lto-plugin/configure 2016-06-24 15:18:55.745825000 -0500
-@@ -9545,6 +9545,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -9713,8 +9720,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
--
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
---- origsrc/gcc-5.4.0/zlib/configure 2016-06-03 03:45:07.000000000 -0500
-+++ src/gcc-5.4.0/zlib/configure 2016-06-24 15:18:55.791367000 -0500
-@@ -9311,6 +9311,13 @@ if test "$GCC" = yes; then
- test -d "$lt_sys_path" && \
- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
- fi
-+ case $host_os in
-+ cygwin*)
-+ if test -d "$lt_sys_path/w32api"; then
-+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api"
-+ fi
-+ ;;
-+ esac
- done
- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-@@ -9479,8 +9486,6 @@ cygwin* | mingw* | pw32* | cegcc*)
- cygwin*)
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
--
-- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
- ;;
- mingw* | cegcc*)
- # MinGW DLLs use traditional 'lib' prefix
diff --git a/0029-gcc-specs.patch b/0029-gcc-specs.patch
deleted file mode 100644
index b4dd973..0000000
--- a/0029-gcc-specs.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Mistakenly added in r227962 (6.1), reverted in r237276 (7.1).
-
---- origsrc/gcc-6.4.0/gcc/config/i386/cygwin.h 2017-11-03 00:47:46.634665300 -0500
-+++ src/gcc-6.4.0/gcc/config/i386/cygwin.h 2017-11-06 22:32:13.599397100 -0600
-@@ -39,7 +39,6 @@
-
- #undef STARTFILE_SPEC
- #define STARTFILE_SPEC "\
-- -L%R/usr/lib/w32api \
- %{!shared: %{!mdll: crt0%O%s \
- %{pg:gcrt0%O%s}}}\
- %{shared:crtbeginS.o%s;:crtbegin.o%s} \
diff --git a/cygwin-gcc.spec b/cygwin-gcc.spec
index 093271c..400c3c8 100644
--- a/cygwin-gcc.spec
+++ b/cygwin-gcc.spec
@@ -1,12 +1,11 @@
%global __os_install_post /usr/lib/rpm/brp-compress %{nil}
-%global gcc_version 6.4.0
+%global gcc_version 7.3.0
# Note, gcc_release must be integer, if you want to add suffixes to
# %%{release}, append them after %%{gcc_release} on Release: line.
-%global gcc_release 2
+%global gcc_release 1
%global build_ada 0
-%global build_cilk 0
%global build_objc 0
%global build_vtv 0
@@ -55,28 +54,24 @@ Patch1: 0001-share-mingw-fset-stack-executable-with-cygwin.patch
#Patch4: 0004-Cygwin-ioctl-may-emit-EINVAL.patch
#Patch5: 0005-use-avoid-version-if-not-tracking-SO-version.patch
#Patch6: 0006-cygwin-uses-cyg-library-prefix.patch
-#Patch7: 0007-Avoid-installing-libffi.patch
+Patch7: 0007-Avoid-installing-libffi-V2.patch
#Patch8: 0008-libitm-libtool-fixes-for-Cygwin.patch
-Patch9: 0009-Cygwin-uses-sysv-ABI-on-x86_64.patch
+Patch9: 0009-Cygwin-uses-sysv-ABI-on-x86_64-V2.patch
Patch10: 0010-Do-not-version-lto-plugin-on-cygwin-mingw.patch
Patch11: 0011-add-dummy-pthread-tsaware-and-large-address-aware-fo.patch
-Patch12: 0012-handle-dllimport-properly-in-medium-model.patch
+Patch12: 0012-handle-dllimport-properly-in-medium-model-V2.patch
Patch13: 0013-skip-test-for-cygwin-mingw.patch
Patch14: 0014-64bit-Cygwin-uses-SEH.patch
Patch15: 0015-define-RTS_CONTROL_ENABLE-and-DTR_CONTROL_ENABLE-for.patch
Patch16: 0016-fix-some-implicit-declaration-warnings.patch
Patch17: 0017-__cxa-atexit-for-Cygwin.patch
Patch18: 0018-prevent-modules-from-being-unloaded-before-their-dto.patch
-Patch19: 0019-Cygwin-doesn-t-do-text-mode-translations-for-file-ha.patch
-Patch20: 0020-cygwin-uses-cyg-lib-prefix.patch
+Patch20: 0020-cygwin-uses-cyg-lib-prefix-v3.patch
Patch22: 0022-libgomp-soname-cygwin-mingw.patch
#Patch23: 0023-glibcxx-use-c99.patch
Patch24: 0024-libitm-weak-symbols.patch
-Patch25: 0025-enable-libcilkrts.patch
#Patch26: 0026-g++-gnu-source.patch
-Patch27: 0027-libtool-w32api.patch
Patch28: 0028-g++-time.patch
-Patch29: 0029-gcc-specs.patch
Patch30: 0030-newlib-ftm.patch
Patch31: 0031-define_std-unix.patch
@@ -108,9 +103,6 @@ Requires: cygwin32-cpp = %{version}-%{release}
# We don't run the automatic dependency scripts which would
# normally detect and provide the following DLL:
Provides: cygwin32(cygatomic-1.dll)
-%if %{build_cilk}
-Provides: cygwin32(cygcilkrts-5.dll)
-%endif
Provides: cygwin32(cyggcc_s-1.dll)
Provides: cygwin32(cyggomp-1.dll)
Provides: cygwin32(cygquadmath-0.dll)
@@ -183,7 +175,7 @@ Group: Development/Languages
Requires: cygwin32-gcc = %{version}-%{release}
# We don't run the automatic dependency scripts which would
# normally detect and provide the following DLL:
-Provides: cygwin32(cyggfortran-3.dll)
+Provides: cygwin32(cyggfortran-4.dll)
%description -n cygwin32-gcc-gfortran
Cygwin cross-compiler for FORTRAN.
@@ -196,8 +188,8 @@ Requires: cygwin32-gcc = %{version}-%{release}
# We don't run the automatic dependency scripts which would
# normally detect and provide the following DLL:
# (shared libgnat doesn't work quite right, nor does it cross-build
-#Provides: cygwin32(cyggnat-6.dll)
-#Provides: cygwin32(cyggnarl-6.dll)
+#Provides: cygwin32(cyggnat-7.dll)
+#Provides: cygwin32(cyggnarl-7.dll)
%description -n cygwin32-gcc-gnat
Cygwin cross-compiler for Ada.
@@ -215,9 +207,6 @@ Requires: cygwin64-cpp = %{version}-%{release}
# We don't run the automatic dependency scripts which would
# normally detect and provide the following DLLs:
Provides: cygwin64(cygatomic-1.dll)
-%if %{build_cilk}
-Provides: cygwin64(cygcilkrts-5.dll)
-%endif
Provides: cygwin64(cyggcc_s-seh-1.dll)
Provides: cygwin64(cyggomp-1.dll)
Provides: cygwin64(cygquadmath-0.dll)
@@ -287,7 +276,7 @@ Group: Development/Languages
Requires: cygwin64-gcc = %{version}-%{release}
# We don't run the automatic dependency scripts which would
# normally detect and provide the following DLL:
-Provides: cygwin64(cyggfortran-3.dll)
+Provides: cygwin64(cyggfortran-4.dll)
%description -n cygwin64-gcc-gfortran
Cygwin x86_64 cross-compiler for FORTRAN.
@@ -300,8 +289,8 @@ Requires: cygwin64-gcc = %{version}-%{release}
# We don't run the automatic dependency scripts which would
# normally detect and provide the following DLL:
# (shared libgnat doesn't work quite right, nor does it cross-build
-#Provides: cygwin64(cyggnat-6.dll)
-#Provides: cygwin64(cyggnarl-6.dll)
+#Provides: cygwin64(cyggnat-7.dll)
+#Provides: cygwin64(cyggnarl-7.dll)
%description -n cygwin64-gcc-gnat
Cygwin x86_64 cross-compiler for Ada.
@@ -315,7 +304,7 @@ Cygwin x86_64 cross-compiler for Ada.
#patch4 -p1
#patch5 -p1
#patch6 -p1
-#patch7 -p1
+%patch7 -p1
#patch8 -p1
%patch9 -p1
%patch10 -p1
@@ -327,18 +316,12 @@ Cygwin x86_64 cross-compiler for Ada.
%patch16 -p1
%patch17 -p1
%patch18 -p1
-%patch19 -p1
%patch20 -p1
%patch22 -p1
#patch23 -p2
%patch24 -p1
-%if %{build_cilk}
-%patch25 -p2
-%endif
#patch26 -p2
-%patch27 -p2
%patch28 -p2
-%patch29 -p2
%patch30 -p2
%patch31 -p2
@@ -395,13 +378,11 @@ CC="%{__cc} ${RPM_OPT_FLAGS}" \
--enable-lto \
--disable-symvers \
--enable-libatomic \
-%if %{build_cilk}
- --enable-libcilkrts \
-%endif
--enable-libgomp \
--enable-libitm \
--disable-libssp \
--enable-libquadmath --enable-libquadmath-support \
+ --enable-libstdcxx-filesystem-ts \
%if %{build_vtv}
--enable-vtable-verify \
%endif
@@ -444,13 +425,11 @@ CC="%{__cc} ${RPM_OPT_FLAGS}" \
--enable-lto \
--disable-symvers \
--enable-libatomic \
-%if %{build_cilk}
- --enable-libcilkrts \
-%endif
--enable-libgomp \
--enable-libitm \
--disable-libssp \
--enable-libquadmath --enable-libquadmath-support \
+ --enable-libstdcxx-filesystem-ts \
%if %{build_vtv}
--enable-vtable-verify \
%endif
@@ -545,11 +524,6 @@ cat cygwin-cpplib.lang >> cygwin-gcc.lang
%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/crtfastmath.o
%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/libatomic.a
%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/libatomic.dll.a
-%if %{build_cilk}
-%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/libcilkrts.a
-%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/libcilkrts.dll.a
-%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/libcilkrts.spec
-%endif
%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/libgcc.a
%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/libgcc_eh.a
%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/libgcc_s.dll.a
@@ -569,9 +543,6 @@ cat cygwin-cpplib.lang >> cygwin-gcc.lang
%endif
%dir %{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/include
%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/include/*.h
-%if %{build_cilk}
-%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/include/cilk/
-%endif
%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/install-tools/
%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/plugin/
%{_libexecdir}/gcc/%{cygwin32_target}/%{version}/install-tools/
@@ -582,9 +553,6 @@ cat cygwin-cpplib.lang >> cygwin-gcc.lang
%dir %{_datadir}/gcc-%{gcc_version}
%dir %{_datadir}/gcc-%{gcc_version}/%{cygwin32_target}
%{cygwin32_bindir}/cygatomic-1.dll
-%if %{build_cilk}
-%{cygwin32_bindir}/cygcilkrts-5.dll
-%endif
%{cygwin32_bindir}/cyggcc_s-1.dll
%{cygwin32_bindir}/cyggomp-1.dll
%{cygwin32_bindir}/cygquadmath-0.dll
@@ -613,6 +581,7 @@ cat cygwin-cpplib.lang >> cygwin-gcc.lang
%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/libstdc++.a
%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/libstdc++.dll.a
%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/libstdc++.dll.a-gdb.py
+%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/libstdc++fs.a
%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/libsupc++.a
%dir %{_datadir}/gcc-%{gcc_version}/%{cygwin32_target}/python
%{_datadir}/gcc-%{gcc_version}/%{cygwin32_target}/python/libstdcxx/
@@ -645,7 +614,7 @@ cat cygwin-cpplib.lang >> cygwin-gcc.lang
%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/finclude/ieee_*
%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/finclude/omp_lib*
%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/finclude/openacc*
-%{cygwin32_bindir}/cyggfortran-3.dll
+%{cygwin32_bindir}/cyggfortran-4.dll
%if %{build_ada}
@@ -655,8 +624,8 @@ cat cygwin-cpplib.lang >> cygwin-gcc.lang
%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/adainclude/
%{_prefix}/lib/gcc/%{cygwin32_target}/%{version}/adalib/
%{_libexecdir}/gcc/%{cygwin32_target}/%{version}/gnat1
-#%%{cygwin32_bindir}/cyggnarl-6.dll
-#%%{cygwin32_bindir}/cyggnat-6.dll
+#%%{cygwin32_bindir}/cyggnarl-7.dll
+#%%{cygwin32_bindir}/cyggnat-7.dll
%endif
%files -n cygwin64-gcc
@@ -680,11 +649,6 @@ cat cygwin-cpplib.lang >> cygwin-gcc.lang
%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/crtfastmath.o
%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/libatomic.a
%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/libatomic.dll.a
-%if %{build_cilk}
-%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/libcilkrts.a
-%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/libcilkrts.dll.a
-%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/libcilkrts.spec
-%endif
%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/libgcc.a
%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/libgcc_eh.a
%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/libgcc_s.dll.a
@@ -704,9 +668,6 @@ cat cygwin-cpplib.lang >> cygwin-gcc.lang
%endif
%dir %{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/include
%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/include/*.h
-%if %{build_cilk}
-%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/include/cilk/
-%endif
%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/install-tools/
%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/plugin/
%{_libexecdir}/gcc/%{cygwin64_target}/%{version}/install-tools/
@@ -717,9 +678,6 @@ cat cygwin-cpplib.lang >> cygwin-gcc.lang
%dir %{_datadir}/gcc-%{gcc_version}
%dir %{_datadir}/gcc-%{gcc_version}/%{cygwin64_target}
%{cygwin64_bindir}/cygatomic-1.dll
-%if %{build_cilk}
-%{cygwin64_bindir}/cygcilkrts-5.dll
-%endif
%{cygwin64_bindir}/cyggcc_s-seh-1.dll
%{cygwin64_bindir}/cyggomp-1.dll
%{cygwin64_bindir}/cygquadmath-0.dll
@@ -748,6 +706,7 @@ cat cygwin-cpplib.lang >> cygwin-gcc.lang
%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/libstdc++.a
%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/libstdc++.dll.a
%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/libstdc++.dll.a-gdb.py
+%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/libstdc++fs.a
%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/libsupc++.a
%dir %{_datadir}/gcc-%{gcc_version}/%{cygwin64_target}/python
%{_datadir}/gcc-%{gcc_version}/%{cygwin64_target}/python/libstdcxx/
@@ -780,7 +739,7 @@ cat cygwin-cpplib.lang >> cygwin-gcc.lang
%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/finclude/ieee_*
%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/finclude/omp_lib*
%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/finclude/openacc*
-%{cygwin64_bindir}/cyggfortran-3.dll
+%{cygwin64_bindir}/cyggfortran-4.dll
%if %{build_ada}
@@ -790,12 +749,16 @@ cat cygwin-cpplib.lang >> cygwin-gcc.lang
%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/adainclude/
%{_prefix}/lib/gcc/%{cygwin64_target}/%{version}/adalib/
%{_libexecdir}/gcc/%{cygwin64_target}/%{version}/gnat1
-#%%{cygwin64_bindir}/cyggnarl-5.dll
-#%%{cygwin64_bindir}/cyggnat-5.dll
+#%%{cygwin64_bindir}/cyggnarl-7.dll
+#%%{cygwin64_bindir}/cyggnat-7.dll
%endif
%changelog
+* Tue Jun 05 2018 Yaakov Selkowitz <yselkowi@redhat.com> - 7.3.0-1
+- new version
+- Enable libstdc++ Filesystem TS
+
* Tue Dec 05 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 6.4.0-2
- Use built-in SSP in Cygwin 2.10
- Fix definition of unix macro
diff --git a/sources b/sources
index 703c7e6..8891b54 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-11ba51a0cfb8471927f387c8895fe232 gcc-6.4.0.tar.xz
+be2da21680f27624f3a87055c4ba5af2 gcc-7.3.0.tar.xz