This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] Updated: stable compiler package gcc4-4.5.3-2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]