libgcc_s.so.1 must be installed for pthread_cancel to work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-3.3 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
gcc-4.4 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
gcc-4.6 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
pound (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
siege (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
the error:
libgcc_s.so.1 must be installed for pthread_cancel to work
is printed by applications using pthreads and calling:
set the thread to check or cancel:
thread_
and then in a tight loop try to lock a mutex and call test cancel like:
while (pthread_
if the thread is exited because the parent thread sent a pthread_exit (NULL); for instance, you will see that error.
gcc thinks that this file is in:
$> gcc --print-
/lib/..
and not /lib/libgcc_s.so.1. though the path should really point to the same file in the end.
This error is fixed by adding /lib to /etc/ld.so.conf and running ldconfig
tags: | added: patch |
I still see this bug in Ubuntu 7.10. This is critical: it breaks pound completely.