Closed p5pRT closed 21 years ago
Note that this is a 64-bit build\, which is _not_ (usually) native to this OS & hardware; Configure mistakenly calls it native (see the configuration report below) because when running cc -64 it looks to Configure as if it's native 64-bit. Patch 17807 (from myself\, Jarkko\, and Andy) fixes this and a few other IRIX things\, and hasn't coredumped _yet_ (see below)\, but still fails something like 16 tests. I've also seen some intermittent coredumps during compilation\, in rather unpredictable files; possibly the problem is that it's running -O3 on op.c and opmini.c\, due to bugs in the old hints file? I just started a smoketest on this machine\, incidentally\, and will send a copy of the results to p5p. I did not use perlbug to send this report\, incidentally\, for the simple reason that printing numbers (like the %age of tests that failed) had a problem\, so I really didn't want to trust it to run perlbug.
-Allen
P.S. The fascinating part about all this is that 64-bit with threading and long doubles runs fine (aside from the 129-130 sprintf bug) on a IP27\, R10000\, IRIX64 6.5 6.5.16m. That one has a _slightly_ later compiler version (7.3.1.3m)\, and I'll test out whether that has any effect by updating the compilers on this machine\, but I doubt that's it.
Additional information: cc -version: MIPSpro Compilers: Version 7.3.1.2m uname -R: 6.5 6.5.16m
PERL=./perl /usr/share/bin/gmake _test gmake[1]: Entering directory `/usr/share/src/perl-5.8.0' if (true \</dev/tty) >/dev/null 2>&1; then \ /usr/share/bin/gmake TEST_ARGS= TESTFILE=TEST _test_tty ; \ else \ /usr/share/bin/gmake TEST_ARGS= TESTFILE=TEST _test_notty ; \ fi gmake[2]: Entering directory `/usr/share/src/perl-5.8.0' cd t && ./perl TEST \</dev/tty /usr/share/src/perl-5.8.0/t t/base/cond..........................ok t/base/if............................ok t/base/lex...........................ok t/base/num...........................ok t/base/pat...........................ok t/base/rs............................ok t/base/term..........................ok t/comp/bproto........................ok t/comp/cmdopt........................ok t/comp/colon.........................ok t/comp/cpp...........................skipping test on this platform t/comp/decl..........................ok t/comp/hints.........................ok t/comp/multiline.....................ok t/comp/package.......................ok t/comp/proto.........................ok t/comp/redef.........................ok t/comp/require.......................ok t/comp/script........................ok t/comp/term..........................ok t/comp/use...........................syntax error at (eval 3) line 1\, at EOF
syntax error at (eval 4) line 1\, at EOF
FAILED at test 3
t/cmd/elsif..........................ok
t/cmd/for............................ok
t/cmd/mod............................ok
t/cmd/subval.........................ok
t/cmd/switch.........................ok
t/cmd/while..........................ok
t/run/exit...........................ok
t/run/fresh_perl.....................# PROG:
# This test is here instead of lib/locale.t because
# the bug depends on in the internal state of the locale
# settings and pragma/locale messes up that state pretty badly.
# We need a "fresh run".
# BEGIN {
# eval { require POSIX };
# if ($@) {
# exit(0); # running minitest?
# }
# }
# use Config;
# my $have_setlocale = $Config{d_setlocale} eq 'define';
# $have_setlocale = 0 if $@;
# Visual C's CRT goes silly on strings of the form "en_US.ISO8859-1"
# and mingw32 uses said silly CRT
# $have_setlocale = 0 if (($^O eq 'MSWin32' || $^O eq 'NetWare') && $Config{cc} =~ /^(cl|gcc)/i);
# exit(0) unless $have_setlocale;
# my @locales;
# if (-x "/usr/bin/locale" && open(LOCALES\, "/usr/bin/locale -a 2>/dev/null|")) {
# while(\
# C
# cs
# da
# de
# el
# en
# es
# fi
# fr
# hu
# is
# it
# nl
# no
# pl
# pt
# ru
# sk
# sv
# tr
# pt_BR
# de_AT
# de_CH
# en_AU
# en_CA
# en_US
# es_AR
# es_MX
# fr_BE
# fr_CA
# fr_CH
# is_IS.ISO8859-15
# it_IT.ISO8859-15
# no_NO.ISO8859-15
# nl_NL.ISO8859-15
# es_MX.ISO8859-15
# it_CH.ISO8859-15
# de_CH.ISO8859-15
# fr_CH.ISO8859-15
# en_CA.ISO8859-15
# fr_CA.ISO8859-15
# nl_BE.ISO8859-15
# fr_BE.ISO8859-15
# pt_BR.ISO8859-15
# es_AR.ISO8859-15
# en_AU.ISO8859-15
# de_AT.ISO8859-15
# en_GB.ISO8859-15
# fi_FI.ISO8859-15
# fr_FR.ISO8859-15
# es_ES.ISO8859-15
# da_DK.ISO8859-15
# de_DE.ISO8859-15
# sv_SE.ISO8859-15
# pt_PT.ISO8859-15
# en_US.ISO8859-15
# it_CH
# nl_BE
# STATUS: 0
# Failed at ./test.pl line 567
FAILED at test 68
t/run/noswitch.......................ok
t/run/runenv.........................ok
t/run/switchF........................ok
t/run/switchPx.......................skipping test on this platform
t/run/switcha........................ok
t/run/switches.......................ok
t/run/switchn........................ok
t/run/switchp........................ok
t/run/switcht........................ok
t/run/switchx........................ok
t/io/argv............................ok
t/io/binmode.........................ok
t/io/crlf............................ok
t/io/dup.............................ok
t/io/fflush..........................ok
t/io/fs..............................ok
t/io/inplace.........................ok
t/io/iprefix.........................ok
t/io/nargv...........................ok
t/io/open............................ok
t/io/openpid.........................ok
t/io/pipe............................ok
t/io/print...........................ok
t/io/read............................ok
t/io/tell............................ok
t/io/utf8............................ok
t/op/64bitint........................ok
t/op/alarm...........................ok
t/op/anonsub.........................ok
t/op/append..........................ok
t/op/args............................ok
t/op/arith...........................ok
t/op/array...........................ok
t/op/assignwarn......................ok
t/op/attrs...........................ok
t/op/auto............................ok
t/op/avhv............................ok
t/op/bless...........................ok
t/op/bop.............................ok
t/op/caller..........................ok
t/op/chars...........................ok
t/op/chdir...........................ok
t/op/chop............................ok
t/op/closure.........................ok
t/op/cmp.............................ok
t/op/concat..........................ok
t/op/cond............................ok
t/op/context.........................ok
t/op/crypt...........................ok
t/op/defins..........................ok
t/op/delete..........................ok
t/op/die.............................ok
t/op/die_exit........................ok
t/op/do..............................ok
t/op/each............................ok
t/op/eval............................ok
t/op/exec............................ok
t/op/exists_sub......................ok
t/op/exp.............................ok
t/op/fh..............................ok
t/op/filetest........................ok
t/op/flip............................ok
t/op/fork............................ok
t/op/glob............................ok
t/op/gmagic..........................ok
t/op/goto............................ok
t/op/goto_xs.........................ok
t/op/grent...........................ok
t/op/grep............................ok
t/op/groups..........................ok
t/op/gv..............................ok
t/op/hashassign......................ok
t/op/hashwarn........................ok
t/op/inc.............................ok
t/op/inccode.........................ok
t/op/index...........................ok
t/op/int.............................ok
t/op/join............................ok
t/op/lc..............................ok
t/op/length..........................ok
t/op/lex_assign......................Can't take log of at (eval 124) line 5\, \
$a = +123.45_6; print "$a\n";
$a = +123.456_; print "$a\n"; # 24
$a = -123._456; print "$a\n"; # 25
$a = -123.4_56; print "$a\n";
$a = -123.45_6; print "$a\n";
$a = -123.456_; print "$a\n"; # 28
$a = 123.456E_12; printf("%.0f\n"\, $a); # 29
$a = 123.456E1_2; printf("%.0f\n"\, $a);
$a = 123.456E12_; printf("%.0f\n"\, $a); # 31
$a = 123.456E_+12; printf("%.0f\n"\, $a); # 32
$a = 123.456E+_12; printf("%.0f\n"\, $a); # 33
$a = 123.456E+1_2; printf("%.0f\n"\, $a);
$a = 123.456E+12_; printf("%.0f\n"\, $a); # 35
$a = 123.456E_-12; print "$a\n"; # 36
$a = 123.456E-_12; print "$a\n"; # 37
$a = 123.456E-1_2; print "$a\n";
$a = 123.456E-12_; print "$a\n"; # 39
$a = 1__23; print "$a\n"; # 40
$a = 12.3__4; print "$a\n"; # 41
$a = 12.34e1__2; printf("%.0f\n"\, $a); # 42
no warnings 'syntax' ;
$a = _123; print "$a\n";
$a = 1_23; print "$a\n";
$a = 12_3; print "$a\n";
$a = 123_; print "$a\n";
$a = _+123; print "$a\n";
$a = +_123; print "$a\n";
$a = +1_23; print "$a\n";
$a = +12_3; print "$a\n";
$a = +123_; print "$a\n";
$a = _-123; print "$a\n";
$a = -_123; print "$a\n";
$a = -1_23; print "$a\n";
$a = -12_3; print "$a\n";
$a = -123_; print "$a\n";
$a = 123._456; print "$a\n";
$a = 123.4_56; print "$a\n";
$a = 123.45_6; print "$a\n";
$a = 123.456_; print "$a\n";
$a = +123._456; print "$a\n";
$a = +123.4_56; print "$a\n";
$a = +123.45_6; print "$a\n";
$a = +123.456_; print "$a\n";
$a = -123._456; print "$a\n";
$a = -123.4_56; print "$a\n";
$a = -123.45_6; print "$a\n";
$a = -123.456_; print "$a\n";
$a = 123.456E_12; printf("%.0f\n"\, $a);
$a = 123.456E1_2; printf("%.0f\n"\, $a);
$a = 123.456E12_; printf("%.0f\n"\, $a);
$a = 123.456E_+12; printf("%.0f\n"\, $a);
$a = 123.456E+_12; printf("%.0f\n"\, $a);
$a = 123.456E+1_2; printf("%.0f\n"\, $a);
$a = 123.456E+12_; printf("%.0f\n"\, $a);
$a = 123.456E_-12; print "$a\n";
$a = 123.456E-_12; print "$a\n";
$a = 123.456E-1_2; print "$a\n";
$a = 123.456E-12_; print "$a\n";
$a = 1__23; print "$a\n";
$a = 12.3__4; print "$a\n";
$a = 12.34e1__2; printf("%.0f\n"\, $a);
EXPECTED:
Misplaced _ in number at - line 6.
Misplaced _ in number at - line 11.
Misplaced _ in number at - line 16.
Misplaced _ in number at - line 17.
Misplaced _ in number at - line 20.
Misplaced _ in number at - line 21.
Misplaced _ in number at - line 24.
Misplaced _ in number at - line 25.
Misplaced _ in number at - line 28.
Misplaced _ in number at - line 29.
Misplaced _ in number at - line 31.
Misplaced _ in number at - line 32.
Misplaced _ in number at - line 33.
Misplaced _ in number at - line 35.
Misplaced _ in number at - line 36.
Misplaced _ in number at - line 37.
Misplaced _ in number at - line 39.
Misplaced _ in number at - line 40.
Misplaced _ in number at - line 41.
Misplaced _ in number at - line 42.
_123
123
123
123
123
_123
123
123
123
-123
-_123
-123
-123
-123
123.456
123.456
123.456
123.456
123.456
123.456
123.456
123.456
-123.456
-123.456
-123.456
-123.456
123456000000000
123456000000000
123456000000000
123456000000000
123456000000000
123456000000000
123456000000000
1.23456e-0?10
1.23456e-0?10
1.23456e-0?10
1.23456e-0?10
123
12.34
12340000000000
_123
123
123
123
123
_123
123
123
123
-123
-_123
-123
-123
-123
123.456
123.456
123.456
123.456
123.456
123.456
123.456
123.456
-123.456
-123.456
-123.456
-123.456
123456000000000
123456000000000
123456000000000
123456000000000
123456000000000
123456000000000
123456000000000
1.23456e-0?10
1.23456e-0?10
1.23456e-0?10
1.23456e-0?10
123
12.34
12340000000000
GOT:
Misplaced _ in number at - line 6.
Misplaced _ in number at - line 11.
Misplaced _ in number at - line 16.
Misplaced _ in number at - line 17.
Misplaced _ in number at - line 20.
Misplaced _ in number at - line 21.
Misplaced _ in number at - line 24.
Misplaced _ in number at - line 25.
Misplaced _ in number at - line 28.
Misplaced _ in number at - line 29.
Misplaced _ in number at - line 31.
Misplaced _ in number at - line 32.
Misplaced _ in number at - line 33.
Misplaced _ in number at - line 35.
Misplaced _ in number at - line 36.
Misplaced _ in number at - line 37.
Misplaced _ in number at - line 39.
Misplaced _ in number at - line 40.
Misplaced _ in number at - line 41.
Misplaced _ in number at - line 42.
_123
123
123
123
123
_123
123
123
123
-123
-_123
-123
-123
-123
123.456
123.456
123.456
123.456
123.456
123.456
123.456
123.456
-123.456
-123.456
-123.456
-123.456
1.23456e-10 1.23456e-10 1.23456e-10 1.23456e-10 123 12.34
_123 123 123 123 123 _123 123 123 123 -123 -_123 -123 -123 -123 123.456 123.456 123.456 123.456 123.456 123.456 123.456 123.456 -123.456 -123.456 -123.456 -123.456
1.23456e-10 1.23456e-10 1.23456e-10 1.23456e-10 123 12.34 FAILED at test 437 t/pod/emptycmd.......................ok t/pod/find...........................ok t/pod/for............................ok t/pod/headings.......................ok t/pod/include........................ok t/pod/included.......................ok t/pod/lref...........................ok t/pod/multiline_items................ok t/pod/nested_items...................ok t/pod/nested_seqs....................ok t/pod/oneline_cmds...................ok t/pod/plainer........................ok t/pod/pod2usage......................ok t/pod/poderrs........................ok t/pod/podselect......................ok t/pod/special_seqs...................ok t/x2p/s2p............................ok Failed 19 test scripts out of 686\, % okay. ### Since not all tests were successful\, you may want to run some of ### them individually and examine any diagnostic messages they produce. ### See the INSTALL document's section on "make test". ### You have a good chance to get more information by running ### ./perl harness ### in the 't' directory since most (>=80%) of the tests succeeded. ### You may have to set your dynamic library search path\, ### LD_LIBRARY_PATH\, to point to the build directory: ### setenv LD_LIBRARY_PATH `pwd`; cd t; ./perl harness ### LD_LIBRARY_PATH=`pwd`; export LD_LIBRARY_PATH; cd t; ./perl harness ### export LD_LIBRARY_PATH=`pwd`; cd t; ./perl harness ### for csh-style shells\, like tcsh; or for traditional/modern ### Bourne-style shells\, like bash\, ksh\, and zsh\, respectively. u= s= cu= cs= scripts=686 tests=69167 gmake[2]: *** [_test_tty] Error 1 gmake[2]: Leaving directory `/usr/share/src/perl-5.8.0' gmake[1]: *** [_test] Error 2 gmake[1]: Leaving directory `/usr/share/src/perl-5.8.0' gmake: *** [test] Error 2
Hi\, is this problem still acute? The perlbug report is kind of ... sparse.
In message \rt\-16890\-42533\.19\.6118853794736@​bugs6\.perl\.org (on 27 November 2002 05:01:55 -0000)\, perlbug@perl.org (Jarkko Hietaniemi (via RT)) wrote:
Hi\, is this problem still acute?
I don't believe so\, unless smoke tests are indicating otherwise (I have had to damp those down quite a bit due to memory space problems combined with IRIX not being very good at swapping things in and out...).
The perlbug report is kind of ... sparse.
Blink. Yes. WTH? I'm certain I submitted something with it...
-- Allen Smith http://cesario.rutgers.edu/easmith/ September 11\, 2001 A Day That Shall Live In Infamy II "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin
Since the smoke tests on IRIX seem happy nowadays\, I'm marking this problem ticket as resolved.
@jhi - Status changed from 'new' to 'resolved'
Migrated from rt.perl.org#16890 (status was 'resolved')
Searchable as RT16890$