------- Additional Comments From andyjstormont at googlemail dot com 2009-10-07 07:37 ------- (In reply to comment #13) > found a workaround!!! ... it seems that on sol10, all pthread_XXX stuff is now > in libc.so. if you remove the -lpthread -thread options when glib compiles, > everything looks good. > > for me (not a binutils/linker expert) it looks as /lib/libpthread.so.1 on > solaris10 only contains references, but /lib/libc.so.1 contains the real code: > === > $ nm /lib/libc.so.1 | grep pthread_mutex_unlock > 000bdf98 W _pthread_mutex_unlock > 000bdf98 W pthread_mutex_unlock > === > maybe ld should just skip those > === > $ nm /lib/libpthread.so.1 | grep pthread_mutex_unlock > SunOS 5.10 sun4u sparc > 00000000 A _pthread_mutex_unlock > 00000000 A pthread_mutex_unlock > === > "empty" functions in /lib/libpthread.so.1 and check/use the other libraries > ... > > anyone out there who hack this is?
That doesn't really help if you are using glibc, in that case moving -lpthread to the front does the trick. The real problem is still there though. -- http://sourceware.org/bugzilla/show_bug.cgi?id=6431 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils