[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4981) Try -lpthread before -pthread



Russ,

I believe the circumstances that caused this ITS to be opened have changed, 
is that correct?

--Quanah

--On May 24, 2007 2:37:49 AM +0000 kurt@OpenLDAP.org wrote:

>
> On May 23, 2007, at 10:16 PM, rra@stanford.edu wrote:
>> libtool does not pass -pthread through
>
> Our libtool does.  But gcc might not do the right thing with it.
> In that case, it's a gcc bug which should be reported to the gcc
> folks.
>
> I believe using -lpthread over -pthread will cause more problems
> than its worth.  That is, the problems caused by the missing link
> on some platforms is not nearly as bad as the caused by using
> -lc instead of -lc_r on other platforms.
>
> -- Kurt
>
>



--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration