------- Additional Comments From niki dot waibel at gmx dot net  2008-07-17 
14:29 -------
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?

-- 


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

Reply via email to