Box             : mips-sgi-irix65
Version         : 4.08.2 Unregisterised ( using mini-interpreter)
Source File     : nfibI.hc
( compiled on a running box  i386-unknown-linux  )
                -optc-DNO_REGS -optc-DUSE_MINIINTERPRETER -fno-asm-manling
                -funregistered -fvia-C -C
Traced File     : ghc/rts/GC.c   ( Garbage collector )
References      : ghc/includes/Closures.h,ClosureTypes.h,ClosureMacros.h
                  "Implementing lazy functional Lan..." [Peyton Jones]

Session:
========
bash-2.04$ ghc -optc-DNO_REGS -optc-DUSE_MINIINTERPRETER -fno-asm-mangling
-funregistered -fvia-C nfibI.hc -o nfibI

bash-2.04$ ./nfibI              --run in irix
nfibI: fatal error: evacuate: strange closure type 4137

bash-2.04$ ./nfibI              --run in linux
2692537

Linux closure-type sequence:            Irix closure-type sequence:
============================            =================================
59 (TSO)                                59
59                                      59
59                                      59
10 (CONST_NOCAF_STATIC)                 10
10                                      10
33  (IND_STATIC)                        4137  (zzz! Max number 64 !)
17  (FUN_STATIC)
33
17
33
29

Why these special types (33,17) crash ?
Where is the info-type stored ?
Is IRIX closure representation-allignment faulty  (char vs int )?


-------------------------..........----------------...........---------
|               |                       |
| info-pointer  |       pointer-words   |       non-pointer words
|               |                       |
-------------------------..........-----------------...........---------


Any suggestions to go on hacking ....







_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to