nhc98 1.18, gcc 3.4 and FC3

I cannot compile nhc98 1.18 on Fedora Core 3 with gcc 3.4.3. The same was the case with nhc98 1.17 and 1.16. Here is the problem: /home/gemi/Projects/fedora/BUILD/nhc98-1.18/script/nhc98 -c +CTS -lib - redefine -CTS +RTS -H32M -RTS - o /home/gemi/Projects/fedora/BUILD/nhc98-1.18/targets/ix86- Linux/obj/prelude/DErrNo/DErrNo.o DErrNo.hs OS allocated a heap in high memory (>0x80000000) which breaks this program's run-time system. hpStart=0xb7e5e008, hpEnd=0xb7ed3308 OS allocated a heap in high memory (>0x80000000) which breaks this program's run-time system. hpStart=0xb7f32008, hpEnd=0xb7fa7308 OS allocated a heap in high memory (>0x80000000) which breaks this program's run-time system. hpStart=0xb7e84008, hpEnd=0xb7ef9308 OS allocated a heap in high memory (>0x80000000) which breaks this program's run-time system. hpStart=0xb04bd008, hpEnd=0xb7ee2888 make[1]: *** [/home/gemi/Projects/fedora/BUILD/nhc98-1.18/targets/ix86- Linux/obj/prelude/DErrNo/DErrNo.o] Error 1 -- Gérard Milmeister Langackerstrasse 49 CH-8057 Zürich

Gérard Milmeister
I cannot compile nhc98 1.18 on Fedora Core 3 with gcc 3.4.3. The same was the case with nhc98 1.17 and 1.16. Here is the problem:
OS allocated a heap in high memory (>0x80000000) which breaks this program's run-time system. hpStart=0xb7e5e008, hpEnd=0xb7ed3308
Yes, we know about this bug, hence the error message. Unfortunately, it is tricky to fix, because both the runtime interpreter and the garbage collector use the highest-bit of a heap address for some internal purposes. However, we have a student who has sketched out some potential solutions to the problem, and are hopeful that it can be fixed in the next month or two. Regards, Malcolm
participants (2)
-
Gérard Milmeister
-
Malcolm Wallace