If I configure with --enable-char-size=1, I get the following error during `make check`. Happens in beta 20 and the new 22.
... cd tests && make prefix=/usr/local/Gambit-C exec_prefix=/usr/local/Gambit-C includedir=/usr/local/Gambit-C/4.0b22/include libdir=/usr/local/Gambit-C/4.0b22/lib bindir=/usr/local/Gambit-C/4.0b22/bin docdir=/usr/local/Gambit-C/4.0b22/doc infodir=/usr/local/Gambit-C/4.0b22/info emacsdir=/usr/local/Gambit-C/4.0b22/share/emacs/site-lisp check make[1]: Entering directory `/home/tj/gambc-4.0b22/tests' ------------ TEST 1 (debugging support) ../gsi/gsi -f debug.scm > test1.out diff test1.ok test1.out && rm -f test1.out ------------ TEST 2 (error handling) ../gsi/gsi -:h4000 -f error.scm < error.scm > test2.out diff test2.ok test2.out && rm -f test2.out ------------ TEST 3 (interpreter and library functions) ../gsi/gsi -:s -f -e '(begin (load "r4rstest.scm") (test-cont) (test-sc4) (test-delay) (exit))' > test3.out diff test3.ok test3.out && rm -f test3.out tmp* ------------ TEST 4 (interpreter running an application) rm -f mix.o ../gsi/gsi -f mix.scm > test4.out 5.115221999999999 secs elapsed cpu time heartbeat frequency = 883.0506281056815 Hz *** possible problem: expected heartbeat frequency = 1001.0010010010009 Hz diff test4.ok test4.out && rm -f test4.out 8450,8451c8450 < *** ERROR IN ##make-string -- Heap overflow < ok ---
(expected error)
make[1]: *** [test4] Error 1 make[1]: Leaving directory `/home/tj/gambc-4.0b22/tests' make: *** [check] Error 2
Does anyone else get this error? And what is that heartbeat thing?
TJ
Afficher les réponses par date
On Apr 6, 2007, at 2:02 AM, TJ wrote:
If I configure with --enable-char-size=1, I get the following error during `make check`. Happens in beta 20 and the new 22.
It's a problem with the test suite, not with the compiler/interpreter.
mix.scm expects the following code to error with "Heap Overflow":
(err (make-string (quotient max-size-in-bytes-plus-1 2)))
where
(define max-fixnum ##max-fixnum)
(define max-fixnum-plus-1 (let () (##declare (safe) (generic)) (+ max-fixnum 1)))
(define max-size-in-bytes-plus-1 (let () (##declare (safe) (generic)) (quotient max-fixnum-plus-1 32)))
It does if char-size is 4, but not when it's 1.
Brad
On 4/7/07, Bradley Lucier lucier@math.purdue.edu wrote:
It's a problem with the test suite, not with the compiler/interpreter.
Ah ok. Thanks mate :)
TJ
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 6-Apr-07, at 8:25 PM, Bradley Lucier wrote:
On Apr 6, 2007, at 2:02 AM, TJ wrote:
If I configure with --enable-char-size=1, I get the following error during `make check`. Happens in beta 20 and the new 22.
It's a problem with the test suite, not with the compiler/interpreter.
mix.scm expects the following code to error with "Heap Overflow":
(err (make-string (quotient max-size-in-bytes-plus-1 2)))
You are correct. I'll have to change that test.
Marc