X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B6746A5.3090203@gmail.com>
Date: Mon, 01 Feb 2010 21:24:53 +0000
From: Dave Korn <dave.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: dlclose not calling destructors of static variables.
References: <4B61732F.4030804@gmail.com>  <4B62DDE6.5070106@gmail.com>  <4B62F118.8010305@gmail.com>  <20100129184514.GA9550@ednor.casa.cgf.cx>  <4B66BF2F.4060802@gmail.com>  <20100201162603.GB25374@ednor.casa.cgf.cx>  <4B6710CE.40300@gmail.com>  <20100201174611.GA26080@ednor.casa.cgf.cx> <20100201175123.GB26080@ednor.casa.cgf.cx> <4B672B74.4090808@gmail.com> <4B673D5F.4050104@gmail.com>
In-Reply-To: <4B673D5F.4050104@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 01/02/2010 20:45, Andrew wrote:

> I'm not looking to submit a patch to fix this, I'll leave that up to the 
> professionals who have a better idea about the whole picture. It's just
> I've hit a brick wall with my code with this bug so I'm looking for some
> work arounds for myself.

  No, really, you've been a ton of help, thanks a million.  Try the patch I
just posted to the cygwin-patches list, on top of current CVS:

http://cygwin.com/ml/cygwin-patches/2010-q1/msg00051.html

  That should get you going with your current DLLs.

  Next step is to add the cxx abi functions.  I found an old patch lying
around, seems I started looking at this back in August and then lost track of
it somehow (probably in the rush approaching the end of gcc stage 1, I guess),
so I owe you apologies for the inconvenience.

    cheers,
      DaveK


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

