This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: pthread_once on HP problems


  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]