summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-08-24 10:00:59 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-08-24 10:00:59 +0000
commit641ea34509d056562619331a992674963cdc137c (patch)
treed0f19a17ae609b023f053b769046f4fc79026ddb
parenta5523c5b64e93879bbacdeec5a11f3570e31e160 (diff)
downloadperl-641ea34509d056562619331a992674963cdc137c.tar.gz
IRIX 5.3 is 99.90% okay.
p4raw-id: //depot/perl@20866
-rw-r--r--README.irix31
-rw-r--r--hints/irix_5.sh14
2 files changed, 33 insertions, 12 deletions
diff --git a/README.irix b/README.irix
index ca6ec2c747..911a2514b3 100644
--- a/README.irix
+++ b/README.irix
@@ -94,21 +94,40 @@ and later are okay.
=head2 Irix 5.3
+While running Configure and when building, you are likely to get
+quite a few of these warnings:
+
+ ld:
+ The shared object /usr/lib/libm.so did not resolve any symbols.
+ You may want to remove it from your link line.
+
+Ignore them: in IRIX 5.3 there is no way to quieten ld about this.
+
+During compilation you will see this warning from toke.c:
+
+ uopt: Warning: Perl_yylex: this procedure not optimized because it
+ exceeds size threshold; to optimize this procedure, use -Olimit option
+ with value >= 4252.
+
+Ignore the warning.
+
In IRIX 5.3 and with Perl 5.8.1 (Perl 5.8.0 didn't compile in IRIX 5.3)
the following failures are known.
Failed Test Stat Wstat Total Fail Failed List of Failed
--------------------------------------------------------------------------
../ext/List/Util/t/shuffle.t 0 139 ?? ?? % ??
+ ../lib/Math/Trig.t 255 65280 29 12 41.38% 24-29
../lib/sort.t 0 138 119 72 60.50% 48-119
- 54 tests and 430 subtests skipped.
- Failed 2/767 test scripts, 99.74% okay. 72/70246 subtests failed, 99.90% okay.
+ 56 tests and 474 subtests skipped.
+ Failed 3/811 test scripts, 99.63% okay. 78/75813 subtests failed, 99.90% okay.
-They are suspected to be compiler errors (at least the shuffle.t failure is
-known from some IRIX 6 setups), but since IRIX 5 is long since end-of-lifed,
-fixes for the IRIX compiler are unlikely. If you can get gcc for 5.3,
+They are suspected to be compiler errors (at least the shuffle.t
+failure is known from some IRIX 6 setups) and math library errors
+(the Trig.t failure), but since IRIX 5 is long since end-of-lifed,
+further fixes for the IRIX are unlikely. If you can get gcc for 5.3,
you could try that, too, since gcc in IRIX 6 is a known workaround for
-these failures.
+at least the shuffle.t and sort.t failures.
=head1 AUTHOR
diff --git a/hints/irix_5.sh b/hints/irix_5.sh
index d0449cc407..025596d863 100644
--- a/hints/irix_5.sh
+++ b/hints/irix_5.sh
@@ -17,8 +17,9 @@ case "$cc" in
# 608: Undefined the ANSI standard library defined macro stderr (nostdio.h)
# 658: bit-field 'th_off' type required to be int, unsigned int, or signed int. <netinet/tcp.h>
# 734: enum declaration must contain enum literals <sys/vnode.h>
- ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 4000 -woff 608,658,734"
-# Otherwise the cc thinks that a struct timeval * is not equivalent to
+ # 799: 'long long' is not standard ANSI.
+ ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 4000 -woff 608,658,734,799"
+# Without this the cc thinks that a struct timeval * is not equivalent to
# a struct timeval *. Yeah, you read that right.
pp_sys_cflags='ccflags="$ccflags -DPERL_IRIX5_SELECT_TIMEVAL_VOID_CAST"'
;;
@@ -31,11 +32,12 @@ set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ nsl / /' -e 's/ dl / /'
shift
libswanted="$*"
+# IRIX 5.x does not have -woff for ld.
# Don't groan about unused libraries.
-case "$ldflags" in
- *-Wl,-woff,84*) ;;
- *) ldflags="$ldflags -Wl,-woff,84" ;;
-esac
+# case "$ldflags" in
+# *-Wl,-woff,84*) ;;
+# *) ldflags="$ldflags -Wl,-woff,84" ;;
+# esac
# Date: Fri, 22 Dec 1995 11:49:17 -0800
# From: Matthew Black <black@csulb.edu>