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: <4E6994B8.5080600@gmail.com> Date: Fri, 09 Sep 2011 05:23:20 +0100 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] Updated: stable compiler package gcc4-4.5.3-2 References: <4E667838 DOT 4020004 AT prager DOT ws> <1315344479 DOT 3736 DOT 49 DOT camel AT YAAKOV04> <4E68EE66 DOT 9020709 AT prager DOT ws> In-Reply-To: <4E68EE66.9020709@prager.ws> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 On 08/09/2011 17:33, Bernd Prager wrote: > On 9/6/2011 5:27 PM, Yaakov (Cygwin/X) wrote: >> On Tue, 2011-09-06 at 15:44 -0400, Bernd Prager wrote: >>> I recompiled the recent boost libraries with the new gcc-4 package. >>> >>> The thread example fails with: >>> >>> $ g++ thread.cpp -L /usr/local/lib -lboost_thread >>> /tmp/cccfCagO.o:thread.cpp:(.text+0xa4): undefined reference to >>> `__Unwind_Resume' >> There will be new boost packages soon built for gcc-4.5. > Yaakov, > > Are you certain this is a boost issue? > > _Unwind_Resume resumes propagation of an existing exception object and I > think should be a part of the c++ standard library. It is part of libgcc: > $ nm /usr/lib/gcc/i686-pc-cygwin/4.5.3/libgcc_s.dll.a | grep __Unwind_Resume > 00000000 T __Unwind_Resume_or_Rethrow > 00000000 I __imp___Unwind_Resume_or_Rethrow > 00000000 T __Unwind_Resume > 00000000 I __imp___Unwind_Resume > > $ nm /usr/lib/gcc/i686-pc-cygwin/4.5.3/libgcc_eh.a | grep __Unwind_Resume > 00001f10 T __Unwind_Resume > 00001fd0 T __Unwind_Resume_or_Rethrow > > $ Adding "-v -Wl,--verbose" to the command line should give us an idea why the link is failing for you. I'm also leaving a build of boost running overnight to see if I can reproduce the problem. 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