bug-libtool
[Top][All Lists]
Advanced

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

Re: libtool makes it hard to create multithreaded programs on HP-UX


From: Ralf Wildenhues
Subject: Re: libtool makes it hard to create multithreaded programs on HP-UX
Date: Sun, 28 Oct 2007 13:16:56 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Bruno,

* Bruno Haible wrote on Sat, Oct 27, 2007 at 04:37:20PM CEST:
> 
> A special "feature" in libtool 1.5.24 is making some multithreaded programs
> nonfunctional on HP-UX 11.00.

[... -lc before -lpthread ...]

Thank you for the bug report.  This looks like an ugly one, I haven't
looked in detail yet (not even why the reordering happens; may be a few
days).

Can you work around it by adding -Wc,-lpthread to the link command line?
It would be good to have a test to put in the Libtool testsuite, to
ensure this doesn't happen again.  Now I'm not that experienced with
pthreads, could you provide a small test program source (like a
ten-liner) that would expose this?

Thanks,
Ralf




reply via email to

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