From: H.Merijn Brand Date: Wed, 27 Feb 2002 16:48:35 +0000 (+0100) Subject: Re: Smoke 14870 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fa01be49af406aae8c7c0a811e7f6c827fed47df;p=p5sagit%2Fp5-mst-13.2.git Re: Smoke 14870 From: "H.Merijn Brand" Message-Id: <20020227163729.1D2B.H.M.BRAND@hccnet.nl> (with some additional garnish) p4raw-id: //depot/perl@14895 --- diff --git a/README.hpux b/README.hpux index dd11e49..d6dd71b 100644 --- a/README.hpux +++ b/README.hpux @@ -309,6 +309,31 @@ April 1999 (B3920-13941)" or the Freely available PTH package, available though worldwide HP-UX mirrors of precompiled packages (e.g. http://hpux.tn.tudelft.nl/hppd/hpux/) +If you are going to use the HP DCE package, the library used for threading +is /usr/lib/libcma.sl, but there have been multiple updates of that +library over time. Perl will build with the first version, but it +will not pass the test suite. Older Oracle versions might be a compelling +reason, not to update that library, otherwise please find a newer version +in one of the following patches: PHSS_19739, PHSS_20608, or PHSS_23672 + +reformatted output: + + d3:/usr/lib 106 > what libcma-*.1 + libcma-00000.1: + HP DCE/9000 1.5 Module: libcma.sl (Export) + Date: Apr 29 1996 22:11:24 + libcma-19739.1: + HP DCE/9000 1.5 PHSS_19739-40 Module: libcma.sl (Export) + Date: Sep 4 1999 01:59:07 + libcma-20608.1: + HP DCE/9000 1.5 PHSS_20608 Module: libcma.1 (Export) + Date: Dec 8 1999 18:41:23 + libcma-23672.1: + HP DCE/9000 1.5 PHSS_23672 Module: libcma.1 (Export) + Date: Apr 9 2001 10:01:06 + d3:/usr/lib 107 > + + =head2 64-bit Perl on HP-UX Beginning with HP-UX 11.00, programs compiled under HP-UX can take @@ -419,11 +444,12 @@ the same bug affects also Solaris. =head1 AUTHOR Jeff Okamoto +H.Merijn Brand With much assistance regarding shared libraries from Marc Sabatella. =head1 DATE -Version 0.6.4: 2001-10-09 +Version 0.6.5: 2002-02-27 =cut diff --git a/hints/hpux.sh b/hints/hpux.sh index 9e4a01f..f7660e3 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -409,6 +409,27 @@ EOM if [ -f /usr/lib/libcma.sl ]; then # DCE (from Core OS CD) is installed + # Check if it is pristine, or patched + cmavsn=`what /usr/lib/libcma.sl 2>&1 | grep 1996` + if [ ! -z "$cmavsn" ]; then + cat <&4 + +*************************************************************************** + +Perl will support threading through /usr/lib/libcma.sl from +the HP DCE package, but the version found is too old to be +reliable. + +If you are not depending on this specific version of the library, +consider to upgrade using patch PHSS_23672 (read README.hpux) + +*************************************************************************** + +(sleeping for 10 seconds...) +EOM + sleep 10 + fi + # It needs # libcma and OLD_PTHREADS_API. Also # needs to be #included before any # other includes (in perl.h)