Multi-thread applications can not be debugged with GDB due to a real-time SIG32 appearing whenever a new thread is generated through pthread_create() function. Moreover, when the application is stopped, threads info can not be displayed and switch to another thread is not possible. This is due to stripping the symbols from the libpthread.so library during compiling time and was reported in Mandrake 9.0, see page http://www.rawbw.com/~marka/geek/gdb-mdk9.html Solution is to put in the glic*.ebuild file the following line RESTRICT="nostrip" (see page http://reviewed.homelinux.org/man/ebuild/ for details).
other devs... How do you feel about this? glibc is a rather hefty library I'd rather see it stripped by default. However I can live with only libpthread not being stripped, but the whole pkg.. Maybe we could/should add a really ugly hack to prepstrip something like
if [ -z "${f/*SB shared object*/}" ]; then [ -x /bin/basename -a "$(basename ${x})" == "libpthread-0.10.so" ] && x="-V"
*** This bug has been marked as a duplicate of 46186 ***