Re: guile-2.0.0 fails to build without threads

2011-04-28 Thread Andy Wingo
Hi Marijn, Adding Ludo to the Cc: as he knows more about libgc. On Thu 14 Apr 2011 15:25, Marijn writes: > CCLD guile > GENguile-procedures.texi > 0x75b260 is not a GC visible pointer location > GC_is_visible test failed This occurs in gc.c: /* Sanity check. */ if (!GC_

Re: shift and reset, plus "while"

2011-04-28 Thread Andy Wingo
On Mon 04 Apr 2011 15:05, Wolfgang J Moeller writes: > (a) to always have a well-defined result > (b) to allow for (break arg ...) I have implemented this in stable-2.0. It did not make it into 2.0.1 however. Incidentally it should be compatible with the old 1.6 `while'. Cheers, Andy -- htt

Re: possible gc/weak hash table bug

2011-04-28 Thread Andy Wingo
Hi Michael, On Fri 25 Mar 2011 22:48, michaelawells writes: > On Fri 18 Mar 2011 12:51, address@hidden (Ludovic CourtÃs) writes: > > > michaelawells writes: > > > >>> size_t len = SCM_HASHTABLE_N_ITEMS (table); > >>> > >>> while (k--) > >>> { > >>>

Re: guile-2.0.0 fails to build without threads

2011-04-28 Thread Andy Wingo
On Wed 13 Apr 2011 15:56, Marco Maggi writes: > Andy Wingo wrote: >> Interesting. It seems that -O3 is consuming more C stack >> space than with the default -O2. What does your `ulimit >> -a' print out? > > stack size (kbytes, -s) 8192 This should be quite large enough. If you

Re: Short circuiting behaviour in type specific equality predicates

2011-04-28 Thread Andy Wingo
On Sun 03 Apr 2011 22:43, Ian Price writes: > scheme@(guile-user)> (= 9 10 "foo") > $1 = #f [...] > I was not sure whether or not to report this, as the behaviour is VERY > consistent and therefore, I thought, likely to have been a conscious > design choice. Amusingly, I don't think it was a co

Re: [shift and reset, plus] "while"

2011-04-28 Thread Andy Wingo
On Wed 13 Apr 2011 19:31, Wolfgang J Moeller writes: > Last resort: Once we do allow for argument(s) to (break), > >(while #t ... (break x) ... (break y) ...) If I understand you right, this is more like a coroutine, which could use an orthogonal form: (define-syntax with-yield (lambda (x

Re: guile-2.0.0 fails to build without threads

2011-04-28 Thread Ludovic Courtès
Hello, Andy Wingo writes: > On Thu 14 Apr 2011 15:25, Marijn writes: > >> CCLD guile >> GENguile-procedures.texi >> 0x75b260 is not a GC visible pointer location >> GC_is_visible test failed > > This occurs in gc.c: > > /* Sanity check. */ > if (!GC_is_visible (&scm_prote

Re: guile-2.0.0 fails to build without threads

2011-04-28 Thread Andy Wingo
On Thu 28 Apr 2011 15:08, l...@gnu.org (Ludovic Courtès) writes: >> /* Sanity check. */ >> if (!GC_is_visible (&scm_protects)) >> abort (); Is this even the right check to make? Shouldn't it check SCM2PTR (scm_protects) instead of &scm_protects? Andy -- http://wingolog.org

Re: shift and reset, plus "while"

2011-04-28 Thread Wolfgang J Moeller
Hi Andy, >[...] > On Mon 04 Apr 2011 15:05, Wolfgang J Moeller writes: > > > (a) to always have a well-defined result > > (b) to allow for (break arg ...) > > I have implemented this in stable-2.0. It did not make it into 2.0.1 > however. Incidentally it should be compatible with the old 1.6 `w

Re: guile-2.0.0 fails to build without threads

2011-04-28 Thread Ludovic Courtès
Andy Wingo writes: > On Thu 28 Apr 2011 15:08, l...@gnu.org (Ludovic Courtès) writes: > >>> /* Sanity check. */ >>> if (!GC_is_visible (&scm_protects)) >>> abort (); > > Is this even the right check to make? Yes: the goal is to make sure that the ‘scm_protect’ variable itsel

guile-2.0.1 on 64-bit PowerPC Gentoo Linux: one test failure

2011-04-28 Thread Nelson H. F. Beebe
I've just done two builds of guile-2.0.1 on 64-bit PowerPC Gentoo Linux with differing choices of PATH. Here are the settings for one of them: % cat /etc/gentoo-release Gentoo Base System release 1.12.14 % gcc --version gcc (Gentoo 4.4.5 p1.2, pie-0.4.5) 4.4.5

Re: More on guile-1.8.8 on Solaris SPARC

2011-04-28 Thread Ludovic Courtès
Hi Nelson, "Nelson H. F. Beebe" writes: > I forgot to mention in my last post about the successful > build of guile-1.8.8 on Solaris SPARC that there was one > test failure, but it seemed minor: > > FAIL: time.test: strftime: C99 %z format: EST+5 Yes, see .

Re: guile-1.8.8 fails socket.test when linux is built without IPv6 (Address family not supported by protocol)

2011-04-28 Thread Andy Wingo
On Wed 13 Apr 2011 15:55, Marijn writes: > another gentoo developer reports that Guile-1.8.8 fails socket.test when > linux is built without CONFIG_IPV6=y: > > Running socket.test > ERROR: In procedure socket: > ERROR: Address family not supported by protocol > FAIL: check-guile In 2.0 this shou

Re: Guile with win32 cross compiling

2011-04-28 Thread Andy Wingo
On Sun 24 Apr 2011 22:22, l...@gnu.org (Ludovic Courtès) writes: > Looks good to me. Could you factor it into an M4 macro, use > AC_CACHE_CHECK, and move that to acinclude.m4? I tried and failed, so I pushed it anyway. Would you like to do the refactoring as a separate commit? :-)) Sorry for b