diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-12-15 15:14:05 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-12-15 15:14:05 +0000 |
commit | 6823cce904df185cb0073a3e9fa7caef0401a86e (patch) | |
tree | 1f28d15c20d210bb247ebbf56a42716f0640c738 /hints | |
parent | 0257f296204adb69c838f5fbb883eb20cd264593 (diff) | |
download | perl-6823cce904df185cb0073a3e9fa7caef0401a86e.tar.gz |
A couple of SCO compilation patches
Subject: [perl #3097] Re: SCO5 XS dyn loading fails
From: "Ilya N. Golubev" <gin@mo.msk.ru>
Date: Tue, 14 Dec 2004 22:37:27 +0300
Message-ID: <028941bf40f648-gin@mo.msk.ru>
Subject: Re: [perl #3100] NaN passed to gcvt [PATCH]
From: Andy Dougherty <doughera@lafayette.edu>
Date: Wed, 15 Dec 2004 10:29:22 -0500 (EST)
Message-ID: <Pine.SOL.4.58.0412150956360.3441@maxwell.phys.lafayette.edu>
p4raw-id: //depot/perl@23655
Diffstat (limited to 'hints')
-rw-r--r-- | hints/sco.sh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/hints/sco.sh b/hints/sco.sh index 1d1d5c2788..8774aee82d 100644 --- a/hints/sco.sh +++ b/hints/sco.sh @@ -148,7 +148,7 @@ else lddlflags='-G -L/usr/local/lib' ;; *) - ccdlflags='-Bexport -L/usr/local/lib' + ccdlflags='-Wl,-Bexport -L/usr/local/lib' cccdlflags='-Kpic' lddlflags='-G -L/usr/local/lib' ;; @@ -201,6 +201,15 @@ if test -f /usr/lib/libdbm.nfs.a ; then fi ############################################################### +# At least for ORS5.0.2, prefer sprintf() over gcvt(), since gcvt() +# used to cause a SIGFPE and a core dump when passed a NaN. +# This may not be an issue in perl-5.8.x and later since we +# try to trap SIGFPE. However, preferring sprintf() should be +# safe anyway, so let's go ahead and set it. See the bugs database +# item [perl #3100]. --A.D. 12/2004. + gconvert_preference='sprintf' + +############################################################### # We disable ODBM_File if OSR5 because it's mostly broken # but keep it for ODT3 as it seems to work. if test "$scorls" = "5"; then |