This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: pthread_once on HP problems
- To: Patrick Edward Hill <hillp at cae dot wisc dot edu>
- Subject: Re: pthread_once on HP problems
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 30 Jun 1999 02:29:06 -0600
- cc: egcs-bugs at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <Pine.HPX.4.10.9906291552250.13270-100000@kriek.cae.wisc.edu>you w
rite:
> I am having a problem with what I assume to
> be implicit calls from certain libraries (STL)
> I can compile a program fine, but then at runtime
> it claims to have a Unresolved symbol: pthread_once (code)
> from libstdc++.sl
-lpthread will fix this problem.
> When doesn't directly use threads, but the libraries
> might...which is strange 'cause why did it compile at all?
Internal libraries will have references to the thread code because the
EH support needs to be aware of and communicate with your thread package.
jeff