bug-libtool
[Top][All Lists]
Advanced

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

Re: Libtool on FreeBSD with pthreads (with patch)


From: Scott James Remnant
Subject: Re: Libtool on FreeBSD with pthreads (with patch)
Date: Thu, 24 Jun 2004 18:51:24 +0100

On Thu, 2004-06-24 at 23:36 +0900, Peter O'Gorman wrote:

> Bob Friesenhahn wrote:
> 
> > What version of libtool are you using?  It is my understanding that 
> > current libtool already captures these options in the .la file.
> 
> I am not sure if -pthread is broken in all 1.5.x and fixed in HEAD, is 
> broken everywhere, or is only broken in old 1.5.x releases. Scott should 
> have some kind of clue...
> 
No, it doesn't place -pthread in dependency_libs, because older versions
of Libtool break extremely heavily when found their.  It should honour
it on the command line or if found in dependency_libs though.

There's another more interesting bug caused by Libtool's use of -
nostdlib, gcc will actually fail to link -lpthread in with this flag
even if you give -pthread on the command line.

We shouldn't be using -nostdlib anyway.

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]