Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authenticated: #14308112
Date: Wed, 5 Oct 2005 12:04:02 +0300
From: Pavel Tsekov <ptsekov@gmx.net>
To: "James R. Phillips" <antiskid56-cygwin@yahoo.com>
cc: cygwin@cygwin.com
Subject: Re: ATTN: g++ maintainer: Using string instances to pass arguments  to dlls
In-Reply-To: <20051004201411.23476.qmail@web31503.mail.mud.yahoo.com>
Message-ID: <Pine.CYG.4.58.0510051150190.1536@mordor>
References: <20051004201411.23476.qmail@web31503.mail.mud.yahoo.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Y-GMX-Trusted: 0
X-IsSubscribed: yes

On Tue, 4 Oct 2005, James R. Phillips wrote:

> Does fixing this bug require upstream intervention, or can you just develop a
> patch, and submit it to upstream?

If it is only the std::string implementation that uses the described
optimization the problem can be worked around by just rebuilding libstdc++
with _GLIBCXX_FULLY_DYNAMIC_STRING defined. If other classes provided by
libstdc++ use similiar techniques the best solution would be to get
libstdc++ built as shared library which according to Charles Wilson is
unfortunately a "hard problem" :(

I'll try to rebuild libstdc++ now with _GLIBCXX_FULLY_DYNAMIC_STRING
defined and will report back if there is interest. I would like to help
to get this issue resolved.


--
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/

