Change 31831 by [EMAIL PROTECTED] on 2007/09/09 09:54:38 Merged duplicate info about GDBM/threads on HP-UX 11 from INSTALL to README.hpux
Affected files ... ... //depot/perl/INSTALL#176 edit ... //depot/perl/README.hpux#57 edit Differences ... ==== //depot/perl/INSTALL#176 (text) ==== Index: perl/INSTALL --- perl/INSTALL#175~31828~ 2007-09-09 02:18:12.000000000 -0700 +++ perl/INSTALL 2007-09-09 02:54:38.000000000 -0700 @@ -1285,20 +1285,6 @@ 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 ==== //depot/perl/README.hpux#57 (text) ==== Index: perl/README.hpux --- perl/README.hpux#56~30770~ 2007-03-26 23:15:21.000000000 -0700 +++ perl/README.hpux 2007-09-09 02:54:38.000000000 -0700 @@ -540,10 +540,18 @@ =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 End of Patch.