Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [hwloc-devel] -lpthread in LIBS and REQUIRES?
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2011-08-04 12:14:29


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.

Samuel