public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Core dump on 32-bit Cygwin if program calls dlopen
Date: Thu, 17 Jul 2014 18:24:00 -0000	[thread overview]
Message-ID: <20140717182429.GS15332@calimero.vinschen.de> (raw)
In-Reply-To: <53C7EC48.5060903@dronecode.org.uk>

[-- Attachment #1: Type: text/plain, Size: 2602 bytes --]

On Jul 17 16:31, Jon TURNEY wrote:
> On 17/07/2014 08:37, Corinna Vinschen wrote:
> >On Jul 17 06:02, JonY wrote:
> >>On 7/16/2014 15:02, Corinna Vinschen wrote:
> >>>On Jul 15 16:39, Corinna Vinschen wrote:
> >>>>On Jul 15 21:55, JonY wrote:
> >>>>>On 7/15/2014 21:08, Corinna Vinschen wrote:
> >>>>>>>
> >>>>>>>FWIW, the problem disappears if I revert gcc-core and libgcc1 to 4.8.2-2.
> >>>>>>
> >>>>>>JonY, do you have a chance to have a look into this issue?
> >>>>>
> >>>>>Sorry, I have been busy these few weeks, but I am well aware that there
> >>>>>is a problem with one of the libgcc changes, but has yet to investigate it.
> >>>>>
> >>>>>I believe Jon Turney has looked into it somewhat.
> 
> I think this is the same or a similar problem to the one I reported at [1].
> I also created a gcc bug [2], with a suggested patch.
> 
> >>>>Sounds good.  Thanks in advance.
> >>>
> >>>Yesterday I asked my collegues to take a stab at the issue and one of
> >>>them, DJ Delorie, came up with a libgcc patch already.  It hasn't been
> >>>sent upstream yet.  Can we give it a try, perhaps by creating a new
> >>>libgcc DLL, please?
> >>
> >>Thanks, I'll get to it this weekend, should I make the new gcc an
> >>experimental version? Or is just the libgcc binary required?
> >
> >It's the libgcc DLL which gives us grief, so a new libgcc package is
> >sufficent, afaics.  We should check if this DLL fixes the problem and
> >then make it "curr" soon, I think.
> 
> I briefly tested this other patch with my test case from the mail above, and
> it doesn't seem to help.
> 
> On 15/07/2014 15:45, Jan Nijtmans wrote:
> > Is this essentially the same problem as described here?
> >
> >      <http://gcc.gnu.org/ml/gcc/2013-05/msg00180.html>
> 
> No, I think it is an unforeseen consequence of the patch [3] to fix that bug
> [4], which I believe is present in 4.8.3-1, introducing a new problem when
> an executable which doesn't depend on libgcc dlopen()s a dll which does.
> 
> [1] https://cygwin.com/ml/cygwin/2014-07/msg00083.html
> [2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61752
> [3] https://sourceware.org/ml/cygwin/2013-07/msg00528.html
> [4] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57982

I asked DJ to take another look, but I guess ultimately we need the
attention of one of the GCC Windows maintainers.  Kai Tietz seems to be
unavailable right now, unfortunately.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2014-07-17 18:24 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-14 23:42 Ken Brown
2014-07-15  9:03 ` Corinna Vinschen
2014-07-15 11:45   ` Ken Brown
2014-07-15 13:08     ` Corinna Vinschen
2014-07-15 13:56       ` JonY
2014-07-15 14:39         ` Corinna Vinschen
2014-07-16  7:02           ` Corinna Vinschen
2014-07-16 22:03             ` JonY
2014-07-17  7:37               ` Corinna Vinschen
2014-07-17 15:31                 ` Jon TURNEY
2014-07-17 18:24                   ` Corinna Vinschen [this message]
2014-07-20 22:02                     ` JonY
2014-07-22  8:27                     ` Corinna Vinschen
2014-07-22 13:00                       ` Jon TURNEY
2014-07-22 13:20                         ` Corinna Vinschen
2014-07-24 13:08                           ` Kai Tietz
2014-07-24 13:45                             ` Corinna Vinschen
2014-07-24 22:15                               ` JonY
2014-07-25 12:37                                 ` Corinna Vinschen
2014-07-15 13:34 Houder
2014-07-15 14:45 Jan Nijtmans
2014-07-15 15:29 ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140717182429.GS15332@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).