Re: [PATCH 02/28] Include pthreads in the provider libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 14, 2016 at 06:15:45PM +0300, Yishai Hadas wrote:
> On 9/6/2016 12:07 AM, Jason Gunthorpe wrote:
> >It is a mistake to not explicitly link to the libraries required.
> >Not linking causes the symbols to drop the symbol version which could
> >cause runtime problems down the road if pthreads ever goes through
> >another symbol version change.
> 
> Where in this patch the provider links explicitly with pthreads as you
> pointed that should be done ? can see only a check that pthread exists and
> has the pthread_mutex_init symbol.

AC_CHECK_LIB adds the library to the link line as well.

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux