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]

pthread problems on HP-UX 11.00 - more information


I have attached two files, one C and one C++ source code.
These files, compiled with 'gcc thrTest.c -o thrTestC -lpthread'
resp. 'gcc thrTest.cpp -o thrTestCPP -lpthread', are quite similar.

The main difference is that the C program runs until it ends (quite
a long time) while the C++ program somewhen dumps a core.
Suspecting gcc/g++ or libstdc++ was not correct since a test of the
same source code compiled with aC++ (done by a HP support woman)
resulted in a core dump, too.

Then this woman has given me a hint to a pthread patch PHCO_19666 for
HP-UX 11.00. This patch needs the kernel patch PHKL_18543 preinstalled
which itself needs some SAM patch PHCO_17792.

This mail is thought to be an information source for others working (or
trying
to work) with pthreads on HP-UX 11.00.

--
Heiko Nardmann (Dipl.-Ing.), h.nardmann@secunet.de, Software Development

secunet Security Networks AG - Sicherheit in Netzwerken
(www.secunet.de),
Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax  : +49 271 48950-50

thrTest.c

thrTest.cpp


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