Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] -lpthread in LIBS and REQUIRES?
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2011-08-04 12:20:52


Le 04/08/2011 18:14, Samuel Thibault a écrit :
> Brice Goglin, le Thu 04 Aug 2011 18:06:24 +0200, a écrit :
>> Le 04/08/2011 17:48, Samuel Thibault a écrit :
>>> Brice Goglin, le Thu 04 Aug 2011 17:47:17 +0200, a écrit :
>>>> /home/bgoglin/SOFT/hwloc/branch-1.2/build/src/.libs/libhwloc.a(topology-linux.o):
>>>> In function `hwloc_linux_set_thread_cpubind':
>>>> topology-linux.c:(.text+0x1070): undefined reference to `pthread_self'
>>> Odd. This should be in libc.so.6... Doesn't libc provide it on that machine?
>> It's in libc.so.6 but not in libc.a
>>
>> objdump -t /usr/lib/x86_64-linux-gnu/libc.a | grep pthread_self => nothing
> Hum, that's poor support for pthread stubs in glibc then. I've
> committed an additional check for a weak pthread_self reference.

Works fine, thanks.

Brice