pthread_once on HP problems

Jeffrey A Law law@cygnus.com
Wed Jun 30 23:07:00 GMT 1999


  In message < Pine.SOL.4.10.9906301441110.18790-100000@penelope.cae.wisc.edu >yo
u write:
  > Unfortunately, I believe that g++ does not realize that it needs to
  > link with the options for threads.  This seems to be the real problem.
Yes.  But it's not a trivial problem to solve, believe it or not.



  > I guess my question would be: why do you need to explicitly
  > link in thread library's when there is simply a undefined 
  > symbol in one of the library's that your are using.
That's just how things work.  That's how things have worked for 25 years.

jeff




More information about the Gcc-bugs mailing list