[Date Prev][Date Next]
Re: (ITS#4981) Try -lpthread before -pthread
I believe the circumstances that caused this ITS to be opened have changed,
is that correct?
--On May 24, 2007 2:37:49 AM +0000 kurt@OpenLDAP.org wrote:
> On May 23, 2007, at 10:16 PM, firstname.lastname@example.org 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
> 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
Principal Software Engineer
Zimbra :: the leader in open source messaging and collaboration