Re: [PATCH] Test for weak pairs in hash-for-each

2014-03-12 Thread Mark H Weaver
David Thompson dthomps...@worcester.edu writes: * libguile/hashtab.c (hash-for-each): Test for deleted weak pairs. Instead of (hash-for-each), it should be (scm_internal_hash_for_each_handle). I went ahead and pushed it, with that change. Thanks! Mark

Re: Memory accounting in libgc

2014-03-12 Thread Mark H Weaver
Andy Wingo wi...@pobox.com writes: How does this affect libgc? First of all, it gives an answer to the question of how much memory does an object use -- simply stop the world, mark the heap in two parts (the first time ignoring the object in question, the second time starting from the

Re: Memory accounting in libgc

2014-03-12 Thread Andrew Gaylard
On 03/12/14 08:57, Mark H Weaver wrote: Andy Wingo wi...@pobox.com writes: How does this affect libgc? First of all, it gives an answer to the question of how much memory does an object use -- simply stop the world, mark the heap in two parts (the first time ignoring the object in question,

Re: [Hydra Build Daemon] [Guile-commits] Failed with output: Hydra job gnu:guile-2-0:build.x86_64-darwin

2014-03-12 Thread Ludovic Courtès
Mark H Weaver m...@netris.org skribis: The Darwin build was broken by 8f7887d61604073528544ccb09849ca0e2f4df78 Provide glthread/lock.h implementation in terms of Guile threads. I guess that we'll need to add some of the AM_CPPFLAGS from libguile/Makefile.am to lib/Makefile.am. We'll need

Re: [PATCH] Test for weak pairs in hash-for-each

2014-03-12 Thread Thompson, David
On Wed, Mar 12, 2014 at 2:45 AM, Mark H Weaver m...@netris.org wrote: David Thompson dthomps...@worcester.edu writes: * libguile/hashtab.c (hash-for-each): Test for deleted weak pairs. Instead of (hash-for-each), it should be (scm_internal_hash_for_each_handle). I went ahead and pushed it,

Problem with removing config.h from gen-scmconfig when cross-compiling

2014-03-12 Thread Mark H Weaver
Hi Ludovic, Commit 8cb0d6d7fa9aaac316c29a64c541336b51b6f93d build: Don't include config.h in native programs when cross-compiling. apparently broke cross-compiling. Madsy on #guile, who successfully cross-compiled e1bb79f for mingw, ran into this problem with 21a7ba9: --8---cut