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:05:59


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

ii libc6 2.13-10
ii libc6-dev 2.13-10

Brice