[nhc-bugs] build failure

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Wed Apr 14 15:42:51 EDT 2004

Andres Loeh <andres at cs.uu.nl> writes:

> I just tried to build nhc98-1.16, with the three patches that are
> available applied, on my (Gentoo) Linux-x86 machine.
> [ segfault when calling the nhc98comp binary for the first time ]

Yes, this indicates that your compiler build is definitely broken.
Thanks for the strace output - it does not immediately seem to show
anything out of place, but I will study it more closely just in case.

> Here is which gcc and glibc I use:
> gcc-3.3.2
> glibc-2.3.2

I assume you applied the gcc3.3 patch for nhc98.  Here, on Slackware
9 Linux, with gcc-3.2.2 and glibc-2.3.1, I don't see these problems.
However, others have reported seg faults on e.g. NetBSD.  My best guess
is that this is another byte-code alignment problem of the same kind
that we have already seen a couple of times with different versions
of the gcc toolset.  Unfortunately, it would be very difficult for
me to debug this remotely.


More information about the Nhc-bugs mailing list