> From: wllsp <wllsp@xxxxxxxxx> > > I have faced with a problem when I was porting an application from gcc 3.4.4 > to gcc 4.3.1 on HP-UX 11.23 PA RISC. Here is the backrtace. By the way the > same application compiled with gcc 4.3.1 works perfectly on HP-UX 11.31. As > you can see the problem happens when a thread is about to finish and calling > pthread_exit(). I searched for a possible solution and found that there were > complains as to this functions in gcc 4.3.0, but actually they were not > related to emutls_destroy(). Also I have to mention that gcc was downloaded > from the HP-UX site and was said to be adopted for HP-UX. Since it works on 11.31 you might want to make sure you have the latest thread related patches from HP on your 11.23 system. The most recent patch for the pthread library is PHCO_37940. Steve Ellcey sje@xxxxxxxxxx