ld segfaults with -flto after upgrading to gcc 4.8.3-3 (64-bit)

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Aug 22 12:43:00 GMT 2014


On Aug 22 19:55, JonY wrote:
> On 8/22/2014 08:20, Christoph H. Hochstaetter wrote:
> > Hi,
> > 
> > I just upgraded gcc from 4.8.3-2 to 4.8.3-3. ld segfaults if gcc (and thus
> > ld) is used with link time optimization (-flto).
> 
> Looks like it is crashing at exit(), not sure how that happens, Corinna,
> help? :)

It's a crash in

  /usr/lib/gcc/x86_64-pc-cygwin/4.8.3/cyglto_plugin.dll

in the function

  __gcc_deregister_frame

So this points to a bug in the __gcc_deregister_frame function.  I'm not
overly familiar with it, but is it possible that not all of DJ's and
Yaakov's changes in this area are in gcc-4.8.3-3?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140822/401dda78/attachment.sig>


More information about the Cygwin mailing list