I'll try again with a completely clean install tonight when I can use my
test machine.
On Fri, Aug 6, 2010 at 3:42 PM, David Conner <email address hidden>wrote:
> I'm running Ubuntu 10.04 with gcc 4.4.3 and I did not get the above
> error when compiling siege 2.70.
>
> --
> libgcc_s.so.1 must be installed for pthread_cancel to work
> https://bugs.launchpad.net/bugs/40285
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “gcc-3.3” package in Ubuntu: Fix Released
> Status in “gcc-4.4” package in Ubuntu: New
> Status in “pound” package in Ubuntu: Invalid
>
> 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_setcancelstate (PTHREAD_CANCEL_ENABLE, NULL);
> pthread_setcanceltype (PTHREAD_CANCEL_DEFERRED, NULL);
>
> and then in a tight loop try to lock a mutex and call test cancel like:
> while (pthread_mutex_trylock (&progress_lock) ==
> EBUSY)
> pthread_testcancel ();
>
> 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-file-name=libgcc_s.so.1
> /lib/../lib/libgcc_s.so.1
>
> 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
>
>
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/gcc-3.3/+bug/40285/+subscribe
>
I'll try again with a completely clean install tonight when I can use my
test machine.
On Fri, Aug 6, 2010 at 3:42 PM, David Conner <email address hidden>wrote:
> I'm running Ubuntu 10.04 with gcc 4.4.3 and I did not get the above /bugs.launchpad .net/bugs/ 40285 setcancelstate (PTHREAD_ CANCEL_ ENABLE, NULL); setcanceltype (PTHREAD_ CANCEL_ DEFERRED, NULL); mutex_trylock (&progress_lock) == file-name= libgcc_ s.so.1 /lib/libgcc_ s.so.1 /bugs.launchpad .net/ubuntu/ +source/ gcc-3.3/ +bug/40285/ +subscribe
> error when compiling siege 2.70.
>
> --
> libgcc_s.so.1 must be installed for pthread_cancel to work
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “gcc-3.3” package in Ubuntu: Fix Released
> Status in “gcc-4.4” package in Ubuntu: New
> Status in “pound” package in Ubuntu: Invalid
>
> 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_
> pthread_
>
> and then in a tight loop try to lock a mutex and call test cancel like:
> while (pthread_
> EBUSY)
> pthread_testcancel ();
>
> 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
>
>
>
> To unsubscribe from this bug, go to:
> https:/
>