
On Thursday 30 September 2004 09:05 am, Malcolm Wallace wrote:
John Goerzen
writes: First, every test for including inttypes.h instead of stdint.h should include _AIX in the list of systems that use inttypes.h. (Look in mark.h, HsFFI.h).
Thanks, I'll add those tests to CVS.
I've got one other patch I'll send along yet once I've got everything built.
You have done a 'make clean' at some point, which has removed the .hc bootstrapping files. You'll need to unpack the tarfile again, redo any edits so far, re-configure and re-make.
Oops, yes, that was it and now I'm red-faced. Sorry. I got farther now, but: rm -f /home/jgoerzen/programs/nhc98-1.16/targets/powerpc-AIX-5.1.0.0/obj/prelude/DErrNo/*.o *.o rm -f rm -f /home/jgoerzen/programs/nhc98-1.16/script/nhc98 -cpp -c +CTS -lib -redefine -CTS +RTS -H32M -RTS -o /home/jgoerzen/programs/nhc98-1.16/targets/powerpc-AIX-5.1.0.0/obj/prelude/DErrNo/DErrNo.o DErrNo.hs /home/jgoerzen/programs/nhc98-1.16/script/nhc98[467]: 80554 Segmentation fault(coredump) /home/jgoerzen/programs/nhc98-1.16/script/nhc98[477]: 16590 Segmentation fault(coredump) Trying to get tag from unevaluated node in TABLESWITCH at 200c5e8d! Node is: 2007452b at 200e807c If I can help you with debugging, let me know. I'm decent with gdb but I have no idea what to do to debug nhc98. In this case, it was hmake-PRAGMA that died. All I got from the coredump was: goerzen@mfgpro:~/programs/nhc98-1.16/src/prelude/powerpc-AIX-5.1.0.0/NHC$ gdb . ./../../../lib/powerpc-AIX-5.1.0.0/hmake-PRAGMA core GNU gdb 5.0-aix51-020209 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-ibm-aix5.1.0.0"... Core was generated by `hmake-PRAGMA'. Program terminated with signal 11, Segmentation fault. #0 0x10000920 in run () (gdb) bt #0 0x10000920 in run () #1 0x100006c8 in text () #2 0x100006c8 in text () #3 0x100001cc in __start () I suppose hmake-PRAGMA needs to be built with debugging symbols. I'll see if I can figure out how. Thanks again. -- John
Regards, Malcolm
-- John Goerzen