From: H.Merijn Brand Date: Sun, 9 Sep 2007 09:54:38 +0000 (+0000) Subject: Merged duplicate info about GDBM/threads on HP-UX 11 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1802498be6a8cb1a3af0f1fe1874ae250ed84062;p=p5sagit%2Fp5-mst-13.2.git Merged duplicate info about GDBM/threads on HP-UX 11 from INSTALL to README.hpux p4raw-id: //depot/perl@31831 --- diff --git a/INSTALL b/INSTALL index 57ac881..52ae8b6 100644 --- a/INSTALL +++ b/INSTALL @@ -1285,20 +1285,6 @@ system's peculiarities. See Porting/pumpkin.pod for more information. You'll probably also have to extensively modify the extension building mechanism. -=item HP-UX 11, pthreads, and libgdbm - -If you are running Configure with -Dusethreads in HP-UX 11, be warned -that POSIX threads and libgdbm (the GNU dbm library) compiled before -HP-UX 11 do not mix. This will cause a basic test run by Configure to -fail - -Pthread internal error: message: __libc_reinit() failed, file: ../pthreads/pthread.c, line: 1096 -Return Pointer is 0xc082bf33 -sh: 5345 Quit(coredump) - -and Configure will give up. The cure is to recompile and install -libgdbm under HP-UX 11. - =item Porting information Specific information for the OS/2, Plan 9, VMS and Win32 ports is in the diff --git a/README.hpux b/README.hpux index 4c173ab..49c4ad4 100644 --- a/README.hpux +++ b/README.hpux @@ -540,10 +540,18 @@ it is known to fail with 64-bit versions of GCC. =head2 GDBM and Threads on HP-UX -If you attempt to compile Perl with threads on an 11.X system and also -link in the GDBM library, then Perl will immediately core dump when it -starts up. The only workaround at this point is to relink the GDBM -library under 11.X, then relink it into Perl. +If you attempt to compile Perl with (POSIX) threads on an 11.X system +and also link in the GDBM library, then Perl will immediately core dump +when it starts up. The only workaround at this point is to relink the +GDBM library under 11.X, then relink it into Perl. + +the error might show something like: + +Pthread internal error: message: __libc_reinit() failed, file: ../pthreads/pthread.c, line: 1096 +Return Pointer is 0xc082bf33 +sh: 5345 Quit(coredump) + +and Configure will give up. =head2 NFS filesystems and utime(2) on HP-UX