X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=wWFTbhL0t5ziZ7eX 31m4ywLtd6AN8+aOLhh5dksLTfImnTtlFZuzbqxQBhslCdEPs18kNlkxQS1FAAWC yws/GypXCgr73YbkDJQ55JiO5HuXT4EjRuNP2akIvCrkamib6xuT/tVyYkroRXk2 HrFf5cIjJ7UMrPQDlpB4/iNkSPE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=Pspg+IShHKovNovzTXTrdU gx6LY=; b=SDUvgHvlgxS/xFJFKYP+o++bb+QU9rwX+OZmpHqXMH/GdhPXcb/Lsp NU/7y0z5/Dx2dAuGC4T678oekgNLE4IHYSUyt4jSs3C88z+HtrCsNkPMIJt/sDMW aWf1poSMhXAA7J/sjVeMcdPaCAmSSAEuMK22s1gSVzO+1xxcp50No= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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 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 17:32:14 -0400 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: static vs. shared linking References: <5510A9AB DOT 7020607 AT tiscali DOT co DOT uk> <5511AF73 DOT 9070607 AT tiscali DOT co DOT uk> <20150325090453 DOT GB3017 AT calimero DOT vinschen DOT de> <551339E4 DOT 60705 AT tiscali DOT co DOT uk> <20150330105529 DOT GJ29875 AT calimero DOT vinschen DOT de> <5519A0E1 DOT 6020707 AT tiscali DOT co DOT uk> <20150331090527 DOT GB32403 AT calimero DOT vinschen DOT de> <551ACCE2 DOT 3000103 AT tiscali DOT co DOT uk> <5526351D DOT 2000307 AT tiscali DOT co DOT uk> In-reply-to: <5526351D.2000307@tiscali.co.uk> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit 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