Subject: Re: bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit

From: Bill Farmer <[email-masked]>
Date: Tue, 25 Nov 2014 23:42:39 +0000

I have done a plain vanilla build of emacs 24.4 with my version of MinGW:

$ gcc -v
Using built-in specs.
COLLECT_GCC=c:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.8.1/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.8.1/configure --prefix=/mingw --host=mingw32 
--build=m
ingw32 --without-pic --enable-shared --enable-static --with-gnu-ld 
--enable-lto
--enable-libssp --disable-multilib 
--enable-languages=c,c++,fortran,objc,obj-c++
,ada --disable-sjlj-exceptions --with-dwarf2 --disable-win32-registry 
--enable-l
ibstdcxx-debug --enable-version-specific-runtime-libs 
--with-gmp=/usr/src/pkg/gm
p-5.1.2-1-mingw32-src/bld 
--with-mpc=/usr/src/pkg/mpc-1.0.1-1-mingw32-src/bld --
with-mpfr= --with-system-zlib --with-gnu-as --enable-decimal-float=yes 
--enable-
libgomp --enable-threads --with-libiconv-prefix=/mingw32 
--with-libintl-prefix=/
mingw --disable-bootstrap LDFLAGS=-s CFLAGS=-D_USE_32BIT_TIME_T
Thread model: win32
gcc version 4.8.1 (GCC)

Configured using:
  `configure --prefix=/d/c/emacs/build/usr'

I cannot reproduce the crash on exit problem with this version. It does 
not include the libXpm.dll file.

Regards
Bill Farmer

On 25/11/2014 19:11, Dani Moncayo wrote:
>> Btw, which version of GCC did you use to build this binary?
> GCC 4.7.2
>
> And FWIW:
>
> $ gcc -v
> Using built-in specs.
> COLLECT_GCC=c:\mingw\bin\gcc.exe
> COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.7.2/lto-wrapper.exe
> Target: mingw32
> Configured with: ../gcc-4.7.2/configure
> --enable-languages=c,c++,ada,fortran,objc,obj-c++
> --disable-sjlj-exceptions --with-dwarf2 --enable-shared
> --enable-libgomp --disable-win32-registry --enable-libstdcxx-debug
> --disable-build-poststage1-with-cxx
> --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw
> Thread model: win32
> gcc version 4.7.2 (GCC)
>
>