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: libgfortran / linker script configuration question

2013-06-04 Thread Tobias Burnus
Hi Steve, Steve Ellcey wrote: I have a question about the libgfortran configure script. I am trying to build the fortran language for the mips-mti-elf target (which is built with newlib) and as part of the configure script for libgfortran it is trying to check for localtime_r and other function