From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 101336 invoked by alias); 9 Apr 2015 21:32:43 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 101321 invoked by uid 89); 9 Apr 2015 21:32:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.4 required=5.0 tests=AWL,BAYES_40,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 X-HELO: vms173025pub.verizon.net Received: from vms173025pub.verizon.net (HELO vms173025pub.verizon.net) (206.46.173.25) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 09 Apr 2015 21:32:41 +0000 Received: from [192.168.1.230] ([108.7.54.198]) by vms173025.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0NMK00D7D6HQSA20@vms173025.mailsrvcs.net> for cygwin@cygwin.com; Thu, 09 Apr 2015 16:32:24 -0500 (CDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=QtXpBu2Y c=1 sm=1 tr=0 a=Z9UJdt/jcW91Hd6r4aN9qw==:117 a=vP6ySPhpAh4A:10 a=N659UExz7-8A:10 a=w_pzkKWiAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=e9J7MTPGsLIA:10 a=mDV3o1hIAAAA:8 a=VoTuB6HezguHrPLwo7QA:9 a=pILNOxqGKmIA:10 Message-id: <5526EFDE.4090901@cygwin.com> Date: Thu, 09 Apr 2015 21:32:00 -0000 From: "Larry Hall (Cygwin)" Reply-to: cygwin@cygwin.com User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-version: 1.0 To: cygwin@cygwin.com Subject: Re: static vs. shared linking References: <5510A9AB.7020607@tiscali.co.uk> <5511AF73.9070607@tiscali.co.uk> <20150325090453.GB3017@calimero.vinschen.de> <551339E4.60705@tiscali.co.uk> <20150330105529.GJ29875@calimero.vinschen.de> <5519A0E1.6020707@tiscali.co.uk> <20150331090527.GB32403@calimero.vinschen.de> <551ACCE2.3000103@tiscali.co.uk> <5526351D.2000307@tiscali.co.uk> In-reply-to: <5526351D.2000307@tiscali.co.uk> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit X-SW-Source: 2015-04/txt/msg00149.txt.bz2 On 04/09/2015 04:15 AM, David Stacey wrote: > I can't believe that I'm the first person to fall foul of this - any library > that relies heavily on templates risks falling into the same trap. It's true that someone using STL strings has the potential to see this bug but I doubt there are allot of template libraries out there pulling the same memory trick or doing so with the same catastrophic results. In addition, this is not the first time this has come up as an issue (for Cygwin or other platforms) in one form or another. Here's a good reference: There they recommend the "--enable-fully-dynamic-string" flag as a solution for this particular problem but I agree if the "-frepo" will solve this as well, it's better because it manages templates better overall and aligns with Linux behavior. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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