[Hat] hat-trail: attempt to read beyond end of file

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Wed Oct 18 08:46:17 EDT 2006


> > I am using 64 Bit sy<stem with Suse 10.1 OSS
> 
> Hat does certainly work on my 64-bit PowerPC under MacOS X ...
> I hope to get time to test out Hat on an Athlon-64

OK, so Hat seems to work fine on our Linux 64-bit machine as well.
However, it does look like our Linux distribution of the gcc C-compiler
and libraries is building in 32-bit mode, so this is not a fair test.

It seems likely that your SuSe distribution has 64-bit mode turned on by
default.

So, one thing you could try is to switch back to 32-bit mode on your C
compiler, and see if Hat then works for you.  Here is how:

  * Add the flag "-m32" to the symbol OPT defined in Makefile.inc
  * Add the flag "-m32" to every symbol CFLAGS defined in src/hattools/Makefile
  * make clean
  * make
  * etc

Let us know how you get on.

Regards,
    Malcolm


More information about the Hat mailing list