|
From: | Test User |
Subject: | bug#19813: 24.4; emacs crashes on exit |
Date: | Mon, 9 Feb 2015 11:29:04 -0500 |
> Date: Mon, 9 Feb 2015 04:03:24 -0500
> From: Test User <testuser448@gmail.com>
>
> The problem is not with libgcc_s_dw2-1.dll, the problem is with some
> other DLL that loads it, typically zlib1.dll or some image library.
>
> I built emacs with -shared-libgcc in LDFLAGS and the problem went away.
That is one solution, but it is not the best one, IMO. E.g., you
cannot move this binary to another machine without also copying
libgcc_s_dw2-1.dll with it.
The best solution is to replace the DLL(s) you have that depend on
libgcc_s_dw2-1.dll with DLLs that offer the same functionality, but do
not depend on libgcc_s_dw2-1.dll. See below for a specific
recommendation.
In general, no MinGW DLLs distributed as binaries should depend on
libgcc_s_dw2-1.dll, for several reasons:
You can find DLLs that are never dependent on libgcc_s_dw2-1.dll here:
http://sourceforge.net/projects/ezwinports/files/?source=navbar
That collection includes librsvg, zlib, and all the other libraries
required by Emacs. (Btw, the librsvg build there is much smaller than
the one you use, because it excludes every feature not useful on
Windows, like Fontconfig, Freetype, and Harfbuzz.)
[Prev in Thread] | Current Thread | [Next in Thread] |