This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: Strange linking problem (MIPS, n32): wrong version node for libpthread!
- From: Thiemo Seufer <ths at networkno dot de>
- To: Kaz Kylheku <kaz at zeugmasystems dot com>
- Cc: libc-ports at sourceware dot org
- Date: Thu, 27 Dec 2007 13:50:16 +0000
- Subject: Re: Strange linking problem (MIPS, n32): wrong version node for libpthread!
- References: <2FC5F7EA6AB640D99D0A495285741ACB@rocktron>
Kaz Kylheku wrote:
> Hi Everyone,
>
> I've discovered a silly problem on (MIPS, n32 ABI, gcc 4.1.1, glibc 2.5,
> binutils 2.17, ...).
>
> I have a shared library which calls pthread functions. It is linked with
> -pthread. However, this -pthread is not enough to actually link it to
> libpthread.so. If you run ``ldd'' on the library image, libpthread is not
> mentioned anywhere!
This was a bug in the gcc driver which is fixed in latest gcc HEAD.
Thiemo