[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/6431] ld says: invalid version 3 (max 0)
From: |
andyjstormont at googlemail dot com |
Subject: |
[Bug ld/6431] ld says: invalid version 3 (max 0) |
Date: |
7 Oct 2009 07:37:06 -0000 |
------- 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug ld/6431] ld says: invalid version 3 (max 0),
andyjstormont at googlemail dot com <=