My guess is that you are using a buggy version of gcc. The one that comes with Mac OS X 10.4.3 (if I remember correctly) has a code generation problem. Install a newer version from Apple (available on the developer web site).
On my development machine I have
$ uname -a Darwin bergler.local 8.4.0 Darwin Kernel Version 8.4.0: Tue Jan 3 18:22:10 PST 2006; root:xnu-792.6.56.obj~1/RELEASE_PPC Power Macintosh powerpc $ gcc --version gcc (GCC) 4.0.0 (Apple Computer, Inc. build 5018) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Marc
On 21-Jan-06, at 2:17 PM, Jeremy Shute wrote:
Hi,
I'm trying to get a Gambit installation up and running under OS X.
When I `make check`, test #2 fails, issuing:
------------ TEST 2 (error handling) ../gsi/gsi -:h8000 -f error.scm < error.scm > test2.out *** FATAL ERROR -- Heap overflow make[1]: *** [test2] Error 70 make: *** [check] Error 2
I have actually modified the -:h, so I don't remember if that's the "stock size". I also tried supplanting -:h with -:m, and that fails differently:
------------ TEST 2 (error handling) ../gsi/gsi -:m8000 -f error.scm < error.scm > test2.out make[1]: *** [test2] Error 138 make: *** [check] Error 2
I've included the transcript with this email. It stops dead in the middle of printing 'member', and it does so repeatedly.
On a seperate note, after doing a `make install`, and issuing the command:
(load "~~/syntax-case")
...I consistently and repeatedly get a bus error. If, instead, I do a:
for i in 1 2 3 4 5 6 7 8 9 10; do gsi -e '(load "/usr/local/Gambit-C/syntax-case")'; done
...only two of the ten invocations fail with a bus error! What is that supposed to mean?
Jeremy <test2.out> _______________________________________________ Gambit-list mailing list Gambit-list@iro.umontreal.ca http://mailman.iro.umontreal.ca/mailman/listinfo/gambit-list