Re: Crashes inside libgcc_s_dw2-1.dll

2014-07-15 Thread Nicholas Clifton
Hi Eli, Corinna has asked me to take a look at your bug report[1] on this problem (since she has now encountered it in an Cygwin environment). Unfortunately I am not an x86 expert so I am not really able to dig deeply into it. But what I would recommend is filing an official gcc bug report

Re: Crashes inside libgcc_s_dw2-1.dll

2013-06-04 Thread Ian Lance Taylor
On Tue, Jun 4, 2013 at 10:13 AM, Eli Zaretskii wrote: > My question was: is this expected? Does a program that loads the > shared libgcc in mid-flight need to be linked with -shared-libgcc > flag? Or is this some bug in libgcc? I don't think anybody knows the answer to that. I doubt the behav

Re: Crashes inside libgcc_s_dw2-1.dll

2013-06-04 Thread Eli Zaretskii
> Date: Tue, 4 Jun 2013 09:45:10 -0700 > From: Ian Lance Taylor > Cc: gcc@gcc.gnu.org > > I know very little about how these things work on Windows. However, > it is fairly likely that full support for throwing exceptions across > shared libraries on Windows does require using a shared libgcc.

Re: Crashes inside libgcc_s_dw2-1.dll

2013-06-04 Thread Ian Lance Taylor
On Tue, Jun 4, 2013 at 9:39 AM, Eli Zaretskii wrote: >> Date: Tue, 21 May 2013 21:19:24 +0300 >> From: Eli Zaretskii >> CC: gcc@gcc.gnu.org >> >> > Date: Mon, 20 May 2013 06:37:31 -0700 >> > From: Ian Lance Taylor >> > Cc: gcc@gcc.gnu.org >> > >> > On Sun, May 19, 2013 at 8:43 PM, Eli Zaretskii

Re: Crashes inside libgcc_s_dw2-1.dll

2013-06-04 Thread Eli Zaretskii
> Date: Tue, 21 May 2013 21:19:24 +0300 > From: Eli Zaretskii > CC: gcc@gcc.gnu.org > > > Date: Mon, 20 May 2013 06:37:31 -0700 > > From: Ian Lance Taylor > > Cc: gcc@gcc.gnu.org > > > > On Sun, May 19, 2013 at 8:43 PM, Eli Zaretskii wrote: > > >> I don't see any obvious bug in the code. Evid

Re: Crashes inside libgcc_s_dw2-1.dll

2013-05-21 Thread Eli Zaretskii
> Date: Mon, 20 May 2013 12:18:29 +0200 > From: Kai Tietz > Cc: Ian Lance Taylor , gcc Mailing List > > The issue is there that after an unload of libgcc on pe-coff, the > function __decregister_frame_info_bases might be not called. That's probably true (assuming that cygming-crtbegin.c decided

Re: Crashes inside libgcc_s_dw2-1.dll

2013-05-21 Thread Eli Zaretskii
> Date: Mon, 20 May 2013 06:37:31 -0700 > From: Ian Lance Taylor > Cc: gcc@gcc.gnu.org > > On Sun, May 19, 2013 at 8:43 PM, Eli Zaretskii wrote: > >> I don't see any obvious bug in the code. Evidently > >> something is going wrong, but the e-mail messages you linked to don't > >> provide enough

Re: Crashes inside libgcc_s_dw2-1.dll

2013-05-20 Thread Ian Lance Taylor
On Sun, May 19, 2013 at 8:43 PM, Eli Zaretskii wrote: >> Date: Sun, 19 May 2013 17:48:06 -0700 >> From: Ian Lance Taylor >> >> It is not a fundamental bug to depend on libgcc as a shared library. >> The libgcc code is trying to do the right thing when the library is >> unloaded. I don't see any

Re: Crashes inside libgcc_s_dw2-1.dll

2013-05-20 Thread Kai Tietz
2013/5/20 Eli Zaretskii : >> Date: Sun, 19 May 2013 17:48:06 -0700 >> From: Ian Lance Taylor >> Cc: gcc@gcc.gnu.org >> >> It is not a fundamental bug to depend on libgcc as a shared library. >> The libgcc code is trying to do the right thing when the library is >> unloaded. I don't see any obviou

Re: Crashes inside libgcc_s_dw2-1.dll

2013-05-19 Thread Eli Zaretskii
> Date: Sun, 19 May 2013 17:48:06 -0700 > From: Ian Lance Taylor > Cc: gcc@gcc.gnu.org > > It is not a fundamental bug to depend on libgcc as a shared library. > The libgcc code is trying to do the right thing when the library is > unloaded. I don't see any obvious bug in the code. Evidently >

Re: Crashes inside libgcc_s_dw2-1.dll

2013-05-19 Thread Ian Lance Taylor
On Sun, May 19, 2013 at 10:30 AM, Eli Zaretskii wrote: > > Would someone on the developers' team please comment on this problem: > > http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00413.html > > In a nutshell, loading a GnuTLS DLL by a MinGW compiled Emacs causes > libintl DLL to be lo