bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/6431] ld says: invalid version 3 (max 0)


From: niki dot waibel at gmx dot net
Subject: [Bug ld/6431] ld says: invalid version 3 (max 0)
Date: 17 Jul 2008 14:29:06 -0000

------- 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]