]> granicus.if.org Git - postgresql/commit
MinGW: Use -static-libgcc when linking a DLL.
authorNoah Misch <noah@leadboat.com>
Wed, 22 Oct 2014 02:55:47 +0000 (22:55 -0400)
committerNoah Misch <noah@leadboat.com>
Wed, 22 Oct 2014 02:56:42 +0000 (22:56 -0400)
commit2f51f424bb362dadeb4fabf03845961e563da4ba
tree5a8d17b543986f93815b0bf2fb3269fea9e11cef
parent9e02e20ab6df093e1ab751157dfb5c51a420187b
MinGW: Use -static-libgcc when linking a DLL.

When commit 846e91e0223cf9f2821c3ad4dfffffbb929cb027 switched the linker
driver from dlltool/dllwrap to gcc, it became possible for linking to
choose shared libgcc.  Backends having loaded a module dynamically
linked to libgcc can exit abnormally, which the postmaster treats like a
crash.  Resume use of static libgcc exclusively, like 9.3 and earlier.
Back-patch to 9.4.
src/Makefile.shlib
src/makefiles/Makefile.win32