Mail Archives: cygwin/2011/09/27/11:55:13
X-Recipient: | archive-cygwin AT delorie DOT com
|
X-SWARE-Spam-Status: | No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
|
X-Spam-Check-By: | sourceware.org
|
Message-ID: | <4E81F1C4.1040100@gmail.com>
|
Date: | Tue, 27 Sep 2011 16:54:44 +0100
|
From: | Dave Korn <dave DOT korn DOT cygwin AT gmail DOT com>
|
User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914)
|
MIME-Version: | 1.0
|
To: | cygwin AT cygwin DOT com
|
Subject: | Re: rebaseall and cygstdc++-6.dll
|
References: | <4E6AC3F4 DOT 1090401 AT gmail DOT com> <4E7EC532 DOT 9020306 AT gmail DOT com> <CAGHJv4fk9m_eqg6Gv+UezzUFD5sNuw9yzu-fUNeaO9nG+9zjeA AT mail DOT gmail DOT com> <4E7FD234 DOT 70102 AT gmail DOT com> <1317006915 DOT 8692 DOT 1 DOT camel AT YAAKOV04>
|
In-Reply-To: | <1317006915.8692.1.camel@YAAKOV04>
|
X-IsSubscribed: | yes
|
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm
|
List-Id: | <cygwin.cygwin.com>
|
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com>
|
List-Archive: | <http://sourceware.org/ml/cygwin/>
|
List-Post: | <mailto:cygwin AT cygwin DOT com>
|
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
|
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 26/09/2011 04:15, Yaakov (Cygwin/X) wrote:
> On Mon, 2011-09-26 at 02:15 +0100, Dave Korn wrote:
>> The problem is in binutils, and the fact that it generates base relocs for
>> entries from EH data that should be just ignored.
>>
>> http://sourceware.org/ml/binutils/2011-09/msg00174.html
>> contains more detail, if you want to ask more let's do it on the binutils list.
>>
>> So to answer your question: the gcc language-specific runtime DLLs have to
>> be built using the patched version of binutils, otherwise they break when they
>> get rebased; that's why I'm rebuilding the gcc packages - having already
>> locally rebuilt binutils. This will only be a big issue for anyone who wants
>> to rebuild gcc from source themselves, the new packages I upload to the distro
>> will still work for everyone regardless of what binutils they have installed
>> and/or how or when or where they get rebased.
>
> Except that this issue doesn't affect only libstdc++, but any C++
> library which throws exceptions (as I have seen on my system). So we
> really do need a patched binutils ASAP.
True. And not just any library that throws exceptions, but any library that
might be in the call stack at the time an exception is thrown and through
which the libgcc eh code needs to unwind, so potentially even plain C
libraries could be affected in the presence of mixed-language callbacks.
That's a pretty rare combination fortunately, but most C++ libs that throw
exceptions should be considered at risk.
(I'm running the gcc testsuites against DLLs built with the new code, then
I'm going to rebase them all and run the tests again, so it'll be a day or two
before that's all done and I can check the fix in, but it'll be in time for
the forthcoming 2.22 release).
cheers,
DaveK
--
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
- Raw text -