Re: load_extension tests broken

2008-08-22 Thread Han-Wen Nienhuys
Ludovic Courtès escreveu: > I don't think there's any such problem, at least on GNU/Linux. See: > > $ ./pre-inst-guile > guile> (getenv "LTDL_LIBRARY_PATH") > > "/home/ludo/src/guile/libguile:/home/ludo/src/guile/guile-readline:/home/ludo/src/guile/srfi:" > > The first directory is the bu

Re: GUILE_MAX_HEAP_SIZE

2008-08-22 Thread Han-Wen Nienhuys
Ludovic Courtès escreveu: > I don't observe this failure on my x86 (Core(TM)2 Duo) laptop. Let me try to look at this during next week. As a kludge, you can #if 0 the asserts; although the stats will be off (as well as the allocation strategy), nothing bad should happen. -- Han-Wen Nienhuys

Re: GUILE_MAX_HEAP_SIZE

2008-08-22 Thread Ludovic Courtès
[EMAIL PROTECTED] (Ludovic Courtès) writes: > I just added `master' to the daily build on x86-64 [0] and it fails > there: > > lt-guile: gc.c:609: scm_i_gc: Assertion `scm_i_gc_sweep_stats.collected + > scm_cells_allocated == scm_i_gc_sweep_stats.swept' failed. > > http://autobuild.josefsson.

Re: further guile-vm integration

2008-08-22 Thread Ludovic Courtès
Hello! Andy Wingo <[EMAIL PROTECTED]> writes: > The `vm' branch in the guile repo is coming along nicely. It fully > self-compiles, passes test suites, has a really useful repl, etc etc. > There are some problems with call/cc that will be fixed in the future, > but it's mostly correct. Thanks fo

Re: Goops & Valgrind

2008-08-22 Thread Ludovic Courtès
Hello, Andy Wingo <[EMAIL PROTECTED]> writes: > There could be two fixes. One would be to assume that the Scheme code > that calls %fast-slot-ref et al is well-formed, and thus we need no > bounds checking. It's all in goops.scm, so this would be a decent > assumption. The other would be to use a

Re: load_extension tests broken

2008-08-22 Thread Ludovic Courtès
Hey, Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > I just debugged myself silly to find a problem in the new GC as it was > running the test suite. As it turns out, the test suite is loading > extension modules (i18n.so to be precise) from the path I supplied > in LD_LIBRARY_PATH. Since this w

Re: GUILE_MAX_HEAP_SIZE

2008-08-22 Thread Ludovic Courtès
Hi, Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > Han-Wen Nienhuys escreveu: >> Ludovic Courtès escreveu: >>> +/* >>> + Classic MIT Hack, see e.g. http://www.tekpool.com/?cat=9 >>> + */ >>> +int scm_i_uint_bit_count(unsigned int u) >>> >>> (BTW, it'd make sense to use Gnulib's `count-one-bits'

Re: GUILE_MAX_HEAP_SIZE

2008-08-22 Thread Ludovic Courtès
Hi, I just added `master' to the daily build on x86-64 [0] and it fails there: lt-guile: gc.c:609: scm_i_gc: Assertion `scm_i_gc_sweep_stats.collected + scm_cells_allocated == scm_i_gc_sweep_stats.swept' failed. http://autobuild.josefsson.org/guile/log-200808220956770665000.txt GDB forensi

Re: further guile-vm integration

2008-08-22 Thread Ludovic Courtès
Hi, Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > I'm always for faster release cycles, but wouldn't it be good to push out > 1.10 now, and merge the VM (which is a large change) afterwards? I think there are still a lot of small, incremental improvements to be made in 1.8. That is admittedly

Re: GUILE_MAX_HEAP_SIZE

2008-08-22 Thread Ludovic Courtès
Hi, Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > I did a big rewrite of the garbage collector between 1.6 and 1.8; See > > commit 06e80f59f976c8dda5161804f611f489ec2948a2 > Author: Han-Wen Nienhuys <[EMAIL PROTECTED]> > Date: Tue Dec 10 13:26:25 2002 + > > and following commits. > > This