Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Thu, 18 May 2000 17:32:26 -0400 To: cygwin-developers AT sourceware DOT cygnus DOT com Subject: Re: Can't build the latest snapshot with gcc-2.95.2-1 Message-ID: <20000518173225.A17562@cygnus.com> Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com Mail-Followup-To: cgf AT cygnus DOT com, cygwin-developers AT sourceware DOT cygnus DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.12i In-Reply-To: ; from khan@NanoTech.Wisc.EDU on Thu, May 18, 2000 at 04:16:14PM -0500 On Thu, May 18, 2000 at 04:16:14PM -0500, Mumit Khan wrote: >$ i686-pc-cygwin-gcc -g -O2 -fno-exceptions -fno-rtti -c bug.cc >$ i686-pc-cygwin-nm --dem bug.o | grep muto > U muto::~muto(void) > >Argh. > >The only solution I see now is to move the sigthread::init method to >an implementation file as an out-of-line definition instead. Ok. I've moved it out. It's no big deal since it is always called once. It almost sounds like there was a static buffer being set aside in every file including sigproc.h, which I certainly don't want. In case anyone is curious about the strange muto construction, I have to assign a static buffer because mutos are used prior to jumping into the fork magic and they get confused when the heap changes after a fork operation. One of these days DJ or I are going to clean up the winsup include file layout. It is really frustrating to deal with... Sorry about not getting the problem on the first round. I'm actually glad that I made the changes that I did to winsup, though. I think it cleaned up some include file stuff. Please let me know if the changes I have now made fix the problem. cgf