This is the mail archive of the libc-help@sourceware.org mailing list for the glibc 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: linker errors when compiling and linking with a new glibc


On Wed, Mar 18, 2009 at 4:04 PM, Daniel De La Zerda
<ddelazerda007@yahoo.com> wrote:
>
> What about the error "libgcc_s.so.1 must be installed for pthread_cancel to work"? Does anyone have an idea why is this the case?
>
> Thanks for the link on the wiki.

See nptl/sysdeps/pthread/uwnind-resume.c and unwind-forcedunwind.c.

The pthread_cancel_init implementation in glibc dlopen()'s the
compiler helper routine shared library (libgcc_s.so.1) in order to access
the stack unwinding functions.

Did you install the compiler helper routine shared library on your system?

It is normally located in /lib/libgcc_s.so.1, or similar.

Cheers,
Carlos.


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