X-Recipient: archive-cygwin@delorie.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: <4E7EC532.9020306@gmail.com>
Date: Sun, 25 Sep 2011 07:07:46 +0100
From: Dave Korn <dave.korn.cygwin@gmail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: rebaseall and cygstdc++-6.dll
References: <4E6AC3F4.1090401@gmail.com>
In-Reply-To: <4E6AC3F4.1090401@gmail.com>
Content-Type: multipart/mixed; boundary="------------010503020902090506010807"
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

--------------010503020902090506010807
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

On 10/09/2011 02:57, Chris Sutcliffe wrote:
> Hi All,
> 
> Just a heads up around an issue I encountered with rtorrent after
> executing rebaseall. I ran in to some forking issues so I executed
> rebaseall after which rtorrent started to crash constantly during
> various operations.  Through trial and error I narrowed it down to
> cygstdc++-6.dll being rebased.  As a result I updated rebaseall to
> exclude cygstdc++ (at line 110) by adding "-e '/cygstdc++-6.dll$/d'".
> 
> I'm not sure what the issue is with rebasing cygstdc++-6.dll, but I
> figured I should share my findings in case someone else runs in to a
> similar issue.

  I finally nailed this one down.  Stray base relocs against references to
symbols in discarded COMDAT sections remaining in the .eh_frame data cause the
stack unwind lookup to get lost.  Sourceware CVS is down right now but I'll be
sending the attached to binutils when it's working again, and I've started
building a 4.5.3-3 release.

    cheers,
      DaveK


--------------010503020902090506010807
Content-Type: text/x-c;
 name="no-base-relocs-against-discarded-sections-patch.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename*0="no-base-relocs-against-discarded-sections-patch.diff"



--------------010503020902090506010807
Content-Type: text/plain; charset=us-ascii

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