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: Peter O'Gorman
Subject: Re: Libtool on FreeBSD with pthreads (with patch)
Date: Fri, 25 Jun 2004 22:19:18 +0900
User-agent: Mozilla Thunderbird 0.6 (Macintosh/20040502)

Scott James Remnant wrote:

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.

Ah, okay, I remember that now. I did just add an inherited_build_depends var to the .la in HEAD though perhaps we should put -pthread in there?


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.

I never followed that one myself.

Peter
--
Peter O'Gorman - http://www.pogma.com




reply via email to

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