[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-mit-scheme] The loader doesn't like the C backend?

From: gjs
Subject: [Bug-mit-scheme] The loader doesn't like the C backend?
Date: Thu, 25 Jun 2009 15:43:37 -0400
User-agent: IMAIL/1.21; Edwin/3.116; MIT-Scheme/7.7.90.+

It seems that recompiling a source file with the C backend and then
reloading it into the same session doesn't actually update the
function definitions (on a 64-bit machine, anyway).  For example:

In foo.scm, write
(define (mumble)

Then at the repl do
(cf "foo")
(load "foo")   ; Says "Loading foo.so"
(mumble) => 3

Then edit foo.scm so it says
(define (mumble)

Back to the repl,
(cf "foo")
(load "foo")   ; Says "Initialized foo.so"
(mumble) => 3  ; Not 2 !  <-- THIS IS A BUG

Funnily enough,
(pp mumble)
(define (mumble)
which means the bci file got regenerated and reloaded correctly.

GJS, channeling axch

reply via email to

[Prev in Thread] Current Thread [Next in Thread]