Re: usemallocwrap problems on IRIX (was Re: Problem and question)
[email protected] (Ed Allen Smith) Sat, 30 Oct 2004 22:53:33 -0400
| Newsgroups | perl.perl5.porters,perl.daily-build |
|---|---|
| Message-ID | <[email protected]> |
On a 32-bit machine (1 IP32 R5000 Processor Revision 2.1), IRIX 6.5, current
results:
Checking status for configuration 'smoke58x_config.local' (5.8.x)
Change number 23430 started on Sat Oct 30 17:56:58 2004.
2 out of 20 configurations finished in 4 hours 17 minutes.
2 configurations showed failures (F).
0 failures in the running configuration.
18 configurations to finish, estimated completion in 1 day 14 hours 32 minutes
Average smoke duration: 2 hours 8 minutes.
Matrix, using cc -32 version MIPSpro Compilers: Version 7.3.1.3m:
23430 Configuration (common) -Dnoextensions=Encode
----------- ---------------------------------------------------------
- - F F -Duseperlio -Dcc='cc -32' -Uusemallocwrap
- - F F -Duseperlio -Dcc='cc -32' -Dusemallocwrap
| | | +----- PERLIO = perlio -DDEBUGGING
| | +------- PERLIO = stdio -DDEBUGGING
| +--------- PERLIO = perlio
+----------- PERLIO = stdio
Conclusion (confirmed via Abe's irix -32 machine): -Dusemallocwrap does not
cause errors in -32 mode, just as with -64 mode. (No data as to whether it
does any good, however.) The failures for 'cc -32' (old 32-bit aka -o32, not
-n32) were in Math::Trig at test 24 (ditto Abe's); great_circle_direction's
division (line 141) had a 0 in the denominator (I'm guessing roundoff
errors; note that the -o32 math library is known to be less accurate than
the -n32 and -64 ones; it _may_ be possible to cure this via not optimizing
at -O2 (using -O1 instead or not optimizing at all), but I suspect not from
reading over various manpages; it is possible that usage of -lm43 - only if
using -32! - instead of -lm might help).
perl-current run, on a 64-bit capable machine (2 IP30 R12000 Processors
Revision 2.3), IRIX64 6.5, current results:
Checking status for configuration 'smokecurrent_config' (5.9.x)
Change number 23436 started on Sat Oct 30 16:46:44 2004.
9 out of 144 configurations finished in 5 hours 38 minutes.
4 configurations showed failures (F).
0 failures in the running configuration.
135 configurations to finish, estimated completion in 3 days 12 hours 6 minutes
Average smoke duration: 37 minutes 33 seconds.
Matrix, using cc -n32 version MIPSpro Compilers: Version 7.3.1.3m:
23436 Configuration (common) -Accflags='-mips4 ' -DDEBUGGING -Dnoextensions=Encode
----------- ---------------------------------------------------------
- - M - -Duseperlio -Duselargefiles -Dusemallocwrap
- - O O -Duseperlio -Duselargefiles -Uusemallocwrap
- - O O -Duseperlio -Duselargefiles -Duse64bitall -Dusemallocwrap
- - O O -Duseperlio -Duselargefiles -Duse64bitall -Uusemallocwrap
- - M - -Duseperlio -Duselargefiles -Duselongdouble -Dusemallocwrap
- - O O -Duseperlio -Duselargefiles -Duselongdouble -Uusemallocwrap
- - M - -Duseperlio -Duselargefiles -Duse64bitint -Dusemallocwrap
- - O O -Duseperlio -Duselargefiles -Duse64bitint -Uusemallocwrap
- - M - -Duseperlio -Duselargefiles -Dusemorebits -Duselongdouble -Duse64bitint -Dusemallocwrap
- - ? - -Duseperlio -Duselargefiles -Dusemorebits -Duselongdouble -Duse64bitint -Uusemallocwrap
| | | +----- PERLIO = perlio -DDEBUGGING
| | +------- PERLIO = stdio -DDEBUGGING
| +--------- PERLIO = perlio
+----------- PERLIO = stdio
Conclusion: 5.9.x in -n32 mode also needs -Uusemallocwrap.
On a 32-bit machine (1 IP22 R5000 Processor Revision 1.0), IRIX 6.5, current
results:
Checking status for configuration 'smoke58x_config.local' (5.8.x)
Change number 23430 started on Sat Oct 30 17:49:03 2004.
2 out of 8 configurations finished in 3 hours 34 minutes.
1 configuration showed failures (F).
0 failures in the running configuration.
6 configurations to finish, estimated completion in 9 hours 21 minutes
Average smoke duration: 1 hour 47 minutes.
Matrix, using cc -n32 version MIPSpro Compilers: Version 7.3.1.3m:
23430 Configuration (common) -Accflags='-mips4' -Dnoextensions=Encode
----------- ---------------------------------------------------------
O O ? - -Duseperlio -Uusemallocwrap
M - - - -Duseperlio -Dusemallocwrap
| | | +----- PERLIO = perlio -DDEBUGGING
| | +------- PERLIO = stdio -DDEBUGGING
| +--------- PERLIO = perlio
+----------- PERLIO = stdio
From smoke58x.log, the tests have gotten beyond the miniperl stage without
panics.
Conclusion: -DDEBUGGING does not make a difference.
Given the above results, I will write a patch for hints/irix_6.sh (as in for
all versions of IRIX 6.2+) that will turn off usemallocwrap for -n32 but not
-32 or -64 more, nor for gcc (no idea whether it is needed for gcc or not,
however! Which malloc does Perl complied with gcc on IRIX (which has
usemymalloc='false') use?).
-Allen
P.S. On a 64-bit machine (2 IP27 R10000 Processors Revision 2.6), IRIX64 6.5,
current results:
Checking status for configuration 'smoke58x_config' (5.8.x)
Change number 23430 started on Sat Oct 30 14:32:09 2004.
10 out of 26 configurations finished in 7 hours 37 minutes.
5 configurations showed failures (F).
0 failures in the running configuration.
16 configurations to finish, estimated completion in 12 hours 10 minutes
Average smoke duration: 45 minutes 45 seconds.
Matrix, using cc -n32 version MIPSpro Compilers: Version 7.3.1.3m:
23430 Configuration (common) -Accflags='-mips4' -DDEBUGGING -Dnoextensions=Encode
----------- ---------------------------------------------------------
- - O - -Uuseperlio -Uusemallocwrap
- - M - -Uuseperlio -Dusemallocwrap
- - O O -Duseperlio -Uusemallocwrap
- - M - -Duseperlio -Dusemallocwrap
- - O O -Duseperlio -Duselongdouble -Uusemallocwrap
- - M - -Duseperlio -Duselongdouble -Dusemallocwrap
- - O O -Duseperlio -Duse64bitint -Uusemallocwrap
- - M - -Duseperlio -Duse64bitint -Dusemallocwrap
- - O O -Duseperlio -Dusemorebits -Uusemallocwrap
- - M - -Duseperlio -Dusemorebits -Dusemallocwrap
- - - - -Duseperlio -Duse64bitall -Uusemallocwrap
| | | +----- PERLIO = perlio -DDEBUGGING
| | +------- PERLIO = stdio -DDEBUGGING
| +--------- PERLIO = perlio
+----------- PERLIO = stdio
On a 32-bit machine (1 IP32 R5000 Processor Revision 10.0), IRIX 6.5,
current results:
Checking status for configuration 'smoke58x_config.local' (5.8.x)
Change number 23430 started on Fri Oct 29 18:49:46 2004.
22 out of 36 configurations finished in 1 day 3 hours 3 minutes.
11 configurations showed failures (F).
0 failures in the running configuration.
14 configurations to finish, estimated completion in 16 hours 56 minutes
Average smoke duration: 1 hour 13 minutes.
Matrix, using cc -n32 version MIPSpro Compilers: Version 7.3.1.3m:
23430 Configuration (common) -Accflags='-mips4' -DDEBUGGING
----------- ---------------------------------------------------------
- - O O -Duseperlio -Uusemallocwrap
- - M - -Duseperlio -Dusemallocwrap
- - O O -Duseperlio -A define:optimize='-O3 -OPT:space=OFF:Olimit=0' -Uusemallocwrap
- - M - -Duseperlio -A define:optimize='-O3 -OPT:space=OFF:Olimit=0' -Dusemallocwrap
- - O O -Duseperlio -Duse64bitint -Uusemallocwrap
- - M - -Duseperlio -Duse64bitint -Dusemallocwrap
- - O O -Duseperlio -Duse64bitint -A define:optimize='-O3 -OPT:space=OFF:Olimit=0' -Uusemallocwrap
- - M - -Duseperlio -Duse64bitint -A define:optimize='-O3 -OPT:space=OFF:Olimit=0' -Dusemallocwrap
- - O O -Duseperlio -Duselongdouble -Uusemallocwrap
- - M - -Duseperlio -Duselongdouble -Dusemallocwrap
- - O O -Duseperlio -Duselongdouble -A define:optimize='-O3 -OPT:space=OFF:Olimit=0' -Uusemallocwrap
- - M - -Duseperlio -Duselongdouble -A define:optimize='-O3 -OPT:space=OFF:Olimit=0' -Dusemallocwrap
- - O O -Duseperlio -Dusemorebits -Uusemallocwrap
- - M - -Duseperlio -Dusemorebits -Dusemallocwrap
- - O O -Duseperlio -Dusemorebits -A define:optimize='-O3 -OPT:space=OFF:Olimit=0' -Uusemallocwrap
- - M - -Duseperlio -Dusemorebits -A define:optimize='-O3 -OPT:space=OFF:Olimit=0' -Dusemallocwrap
- - O - -Uuseperlio -Uusemallocwrap
- - M - -Uuseperlio -Dusemallocwrap
- - O - -Uuseperlio -A define:optimize='-O3 -OPT:space=OFF:Olimit=0' -Uusemallocwrap
- - M - -Uuseperlio -A define:optimize='-O3 -OPT:space=OFF:Olimit=0' -Dusemallocwrap
- - O O -Dusethreads -Duseithreads -Duseperlio -Uusemallocwrap
- - M - -Dusethreads -Duseithreads -Duseperlio -Dusemallocwrap
- - - - -Dusethreads -Duseithreads -Duseperlio -A define:optimize='-O3 -OPT:space=OFF:Olimit=0' -Uusemallocwrap
| | | +----- PERLIO = perlio -DDEBUGGING
| | +------- PERLIO = stdio -DDEBUGGING
| +--------- PERLIO = perlio
+----------- PERLIO = stdio
--
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