|
From: Keith M. <no...@so...> - 2017-03-07 22:21:28
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Repository: mingw-org-wsl".
The branch, 5.0-active has been updated
via c6d25f0ee9cf628134918f0d3a2bc82aeb09c458 (commit)
from 122714615d0f216f375443d44bbf8fb6b2cb5997 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sf.net/p/mingw/mingw-org-wsl/ci/c6d25f0ee9cf628134918f0d3a2bc82aeb09c458/
commit c6d25f0ee9cf628134918f0d3a2bc82aeb09c458
Author: Keith Marshall <kei...@us...>
Date: Tue Mar 7 22:17:57 2017 +0000
Avoid -shared-libgcc dependencies in optional DLLs.
diff --git a/mingwrt/ChangeLog b/mingwrt/ChangeLog
index ca0f260..e7dbe78 100644
--- a/mingwrt/ChangeLog
+++ b/mingwrt/ChangeLog
@@ -1,3 +1,11 @@
+2017-03-07 Keith Marshall <kei...@us...>
+
+ Avoid -shared-libgcc dependencies in optional DLLs.
+
+ * Makefile.in (dllname): Qualify it, by addition of...
+ (LIBGCC_LINK_OPTION): ...this DLL name specific linking option macro.
+ (libmingwex.dll.a): Force it to use -static-libgcc for associated DLL.
+
2017-02-27 Keith Marshall <kei...@us...>
Support optional DLL builds from static libraries.
diff --git a/mingwrt/Makefile.in b/mingwrt/Makefile.in
index 1b379a1..c6ad956 100644
--- a/mingwrt/Makefile.in
+++ b/mingwrt/Makefile.in
@@ -719,13 +719,18 @@ DLLVERSION = "0:0:0"
$(CC) $(call a2dll,tmp$<,$(call dllname,$*)) -L. -Wl,--out-implib=$@
$(RM) tmp$<
-dllname = $1-$(dllsuffix).dll
+dllname = $1-$(dllsuffix).dll $(LIBGCC_LINK_OPTION)
a2dll = -shared -o $2 -Wl,--whole-archive $1 -Wl,--no-whole-archive
dllsuffix = `echo $(DLLVERSION) | awk -F: '{printf "%d",$$1-$$3}'`
all-optional-dlls: all-mingwrt-optional-dlls
all-mingwrt-optional-dlls: libmingwex.dll.a
+# In most optional DLL build cases, we should avoid creating any
+# unnecessary dependency on (known to be broken) -shared-libgcc
+#
+libmingwex.dll.a: LIBGCC_LINK_OPTION = -static-libgcc
+
# Installation Rules
# ------------------
-----------------------------------------------------------------------
Summary of changes:
mingwrt/ChangeLog | 8 ++++++++
mingwrt/Makefile.in | 7 ++++++-
2 files changed, 14 insertions(+), 1 deletion(-)
hooks/post-receive
--
Repository: mingw-org-wsl
|