X-Spam-Check-By: sourceware.org Subject: Re: help with dynamic linkage? From: skaller To: cygwin AT cygwin DOT com Cc: felix In-Reply-To: References: <1139634710 DOT 8498 DOT 16 DOT camel AT rosella> <1139640407 DOT 8498 DOT 67 DOT camel AT rosella> Content-Type: text/plain Date: Sun, 12 Feb 2006 15:24:24 +1100 Message-Id: <1139718264.14543.67.camel@rosella> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/