summaryrefslogtreecommitdiff
path: root/hints/irix_6.sh
diff options
context:
space:
mode:
authorEd Allen Smith <easmith@beatrice.rutgers.edu>2004-10-30 23:01:42 -0500
committerNicholas Clark <nick@ccl4.org>2004-10-31 08:17:57 +0000
commit49117913cae2ddc0be5964d0bd7e9a81dbd4be0b (patch)
tree24dd484f5d17ba4dacf2457177a58e51417f3f3a /hints/irix_6.sh
parentabdac9fa130ffbfb2a187768e4c7ad2ccdd97c0c (diff)
downloadperl-49117913cae2ddc0be5964d0bd7e9a81dbd4be0b.tar.gz
Temporary fix for usemallocwrap problems on IRIX (was Re: usemallocwrap problems on IRIX (was Re: Problem and question))
Message-Id: <mid+200410310901.i9V91g1Y519894@dogberry.rutgers.edu> p4raw-id: //depot/perl@23439
Diffstat (limited to 'hints/irix_6.sh')
-rw-r--r--hints/irix_6.sh15
1 files changed, 14 insertions, 1 deletions
diff --git a/hints/irix_6.sh b/hints/irix_6.sh
index ad6e7788ec..b09e34dfca 100644
--- a/hints/irix_6.sh
+++ b/hints/irix_6.sh
@@ -41,6 +41,9 @@
# The compiler bug has been reported to SGI.
# -- Allen Smith <allens@cpan.org>
+# Modified (10/30/04) to turn off usemallocwrap (PERL_MALLOC_WRAP) in -n32
+# mode - Allen.
+
case "$use64bitall" in
$define|true|[yY]*)
case "`uname -s`" in
@@ -140,7 +143,15 @@ esac'
test -z "$lddlflags" && lddlflags="-n32 -shared"
test -z "$libc" && libc='/usr/lib32/libc.so'
test -z "$plibpth" && plibpth='/usr/lib32 /lib32 /usr/ccs/lib'
- ;;
+
+ # PERL_MALLOC_WRAP gives false alarms ("panic: memory wrap") in IRIX
+ # -n32 mode, resulting in perl compiles never getting further than
+ # miniperl. I am not sure whether it actually does any good in -32 or
+ # -64 mode, especially the latter, but it does not give false
+ # alarms (in testing). -Allen
+
+ usemallocwrap=${usemallocwrap:-false}
+ ;;
*"cc -64"*)
case "`uname -s`" in
IRIX)
@@ -188,6 +199,8 @@ esac'
lddlflags="$lddlflags -mabi=64"
;;
*) ccflags="$ccflags -DIRIX32_SEMUN_BROKEN_BY_GCC"
+ # XXX Note: It is possible that turning off usemallocwrap is
+ # needed here; insufficient data! - Allen
;;
esac
;;