
On Fedora Linux, I fetched nhc98-1.18.tar.gz (Linux executable). Got some relatively innocuous diagnostics from configure and make install, but one stood out: ./configure: line 594: src/runtime/nhc98heap.c: No such file or directory Bulling through anyway, I did an installation. and compiled a hello world program. The result appears to be related to the configure trouble: OS allocated a heap in high memory (>0x80000000) which breaks this program's run-time system. hpStart=0xb7d96008, hpEnd=0xb7e0b308

[ original message delayed through spam filtering ]
Doug McIlroy
On Fedora Linux, I fetched nhc98-1.18.tar.gz (Linux executable).
Got some relatively innocuous diagnostics from configure and make install, but one stood out:
./configure: line 594: src/runtime/nhc98heap.c: No such file or directory
In the binary tarball, the directory src/runtime does not exist, so writing a file into it fails. However, line 594 of the configure script is protected by a test on the existence of directory src/, so I'm a little unsure why it even got there.
Bulling through anyway, I did an installation. and compiled a hello world program. The result appears to be related to the configure trouble:
It is not related, no.
OS allocated a heap in high memory (>0x80000000) which breaks this program's run-time system. hpStart=0xb7d96008, hpEnd=0xb7e0b308
This is a known bug, triggered by more recent versions of Linux. I attach a source patch which is claimed to work around the problem (tested on a Fedora system). It isn't a full fix, but should avoid high-memory allocation in many circumstances. Regards, Malcolm
participants (2)
-
Doug McIlroy
-
Malcolm Wallace