From: | Noah Misch <noah(at)leadboat(dot)com> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: MinGW: Use -static-libgcc when linking a DLL. |
Date: | 2014-10-22 02:59:32 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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.
Branch
------
REL9_4_STABLE
Modified Files
--------------
src/Makefile.shlib | 10 ++++++++--
src/makefiles/Makefile.win32 | 2 +-
2 files changed, 9 insertions(+), 3 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2014-10-22 13:02:43 | pgsql: Update comment. |
Previous Message | Tom Lane | 2014-10-21 22:26:09 | pgsql: Update expected/sequence_1.out. |