[comp.sys.sgi] perl under Irix 3.2.2

ianh@bhpmrl.oz.au (Ian Hoyle) (07/23/90)

Are there any tricks to building Larry Wall's perl under Irix (3.2.2) ??? 
After running Configure and then a "make", "make test" fails in 2 places:

1) op.eval dumps core after 6 iterations eg.

ianh@morgana-> op.eval
1..10
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
Segmentation fault (core dumped)

2) op.s runs out of memory after 39 iterations

ok 33
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39
Out of memory!


Any clues would be much appreciated

			ian
--
                Ian Hoyle
     /\/\       Image Processing & Data Analysis Group
    / / /\      BHP Melbourne Research Laboratories
   / / /  \     245 Wellington Rd, Mulgrave, 3170
  / / / /\ \    AUSTRALIA
  \ \/ / / /
   \  / / /     Phone   :  +61-3-560-7066
    \/\/\/      FAX     :  +61-3-561-6709
                E-mail  :  ianh@bhpmrl.oz.au

meyer@gorgo.ifi.unizh.ch (Urs Meyer) (07/30/90)

In article <1587@merlin.bhpmrl.oz.au> ianh@bhpmrl.oz.au (Ian Hoyle) writes:
>Are there any tricks to building Larry Wall's perl under Irix (3.2.2) ??? 
>After running Configure and then a "make", "make test" fails in 2 places:
>
>1) op.eval dumps core after 6 iterations eg.
[...]
>ok 6
>Segmentation fault (core dumped)
>
>2) op.s runs out of memory after 39 iterations
[...]
>ok 39
>Out of memory!
>
>Any clues would be much appreciated
>
>			ian

I installed perl 3 pl 18 on a 4D/70GT with IRIX 3.2.1 and had the same
problems.  I didn't try a lot of things but the following should do it:

- compile perl with -O0 (no optimizations at all)
- use the perl supplied malloc

(I didn't try -O1 due to lack of time.)

Urs Meyer ---------- meyer@ifi.unizh.ch, {uunet,...}!mcsun!cernvax!unizh!meyer
University of Zurich, Dept of Computer Science, Multimedia Lab, CH-8057 Zurich