From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23437 invoked by alias); 12 Feb 2006 04:24:37 -0000 Received: (qmail 23428 invoked by uid 22791); 12 Feb 2006 04:24:36 -0000 X-Spam-Check-By: sourceware.org Received: from smtp1.adl2.internode.on.net (HELO smtp1.adl2.internode.on.net) (203.16.214.181) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 12 Feb 2006 04:24:33 +0000 Received: from rosella (ppp21-250.lns2.syd7.internode.on.net [59.167.21.250]) by smtp1.adl2.internode.on.net (8.13.5/8.13.5) with ESMTP id k1C4ONdl017010; Sun, 12 Feb 2006 14:54:29 +1030 (CST) (envelope-from skaller@users.sourceforge.net) Subject: Re: help with dynamic linkage? From: skaller To: cygwin@cygwin.com Cc: felix In-Reply-To: References: <1139634710.8498.16.camel@rosella> <1139640407.8498.67.camel@rosella> Content-Type: text/plain Date: Sun, 12 Feb 2006 06:25:00 -0000 Message-Id: <1139718264.14543.67.camel@rosella> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2006-02/txt/msg00422.txt.bz2 On Sat, 2006-02-11 at 20:38 -0500, Igor Peshansky wrote: > > http://felix.sf.net/flx_1.1.2_rc1.tgz > > Well, you could have done *some* work on cutting the testcase down, I spent lots of time on it ;( That problem has been bugging me for over 6 months. > This looks to me like another instance of > (follow that thread > through -- it has a reference to another thread, too). Ah! Thank you!! That makes sense!! I had trouble with std::string before. Now why didn't I think of that .. only recently I removed the manual template instantiation forcing instantiation in the RTL (because it gave link errors on OSX 10.3) Thanks very much! Flx_dynlink_t is indeed in error!! My policy has been to force instantiation of destructors, constructors and all virtual or otherwise significant functions of constructible rtl types in the rtl, but flx_dynlink_t has a compiler generated default constructor. flx_libinit_t has the same problem (no default or copy ctors, no assignment operator). I fixed flx_dynlink_t and initialised the string 'filename' to "" and now all the non-pthread tests work! -- John Skaller Felix, successor to C++: http://felix.sf.net -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/