Re: guile-2.0.0 fails to build without threads

2011-04-13 Thread Marco Maggi
Marco Maggi wrote: Marijn wrote: guile-2.0.0 fails to build without --disable-threads when libgc (boehm-gc in gentoo) is built without threads: I am following up here because I have a problem at the same point when building branch stable-2.0; Half of the problem is that I still had

Re: Problem with netcat

2011-04-13 Thread Detlev Zundel
Hi Mark, Andy Wingo wi...@pobox.com wrote: I pushed a (sigaction SIGPIPE SIG_IGN) to (system repl repl), which should fix the issue. Isn't this a bad idea? SIGPIPE generally indicates that something went wrong. If we ignore it, important problems may go unnoticed. To me, this seems kind

Re: guile-2.0.0 fails to build without threads

2011-04-13 Thread Marco Maggi
Marco Maggi wrote: I still get the Stack overflow problem though with the stable-2.0 branch. Snapshot guile-2.0.0.179-c89b.tar.gz builds successfully if I use the --without-threads option, but fails in the same way when I do not use the option. It looks like it is the darn

Re: guile-2.0.0 fails to build without threads

2011-04-13 Thread Andy Wingo
Hi Marco, On Tue 12 Apr 2011 08:49, Marco Maggi marco.maggi-i...@poste.it writes: I am following up here because I have a problem at the same point when building branch stable-2.0; I have just fetched from the repository, so I have the commit c89b452993... Actually, failing at that point

Re: guile-2.0.0 fails to build without threads

2011-04-13 Thread Andy Wingo
On Tue 12 Apr 2011 09:26, Marijn hk...@gentoo.org writes: (boehm-gc in gentoo) is built without threads: Interesting. Any plans to change that? CCLD guile ./.libs/libguile-2.2.so: undefined reference to `GC_register_my_thread' Fixed, I think; thanks for the full log. Cheers, Andy --

Re: shift and reset, plus while

2011-04-13 Thread Andy Wingo
Hi Wolfgang, Another in a series of asynchronous replies :) Copying guile-devel for comments on the extensions to `while'. On Mon 04 Apr 2011 15:05, Wolfgang J Moeller w...@heenes.com writes: | GNU Guile 2.0.0 | scheme@(guile-user) (display (while #f 1)) | unnamed port:0:0: In procedure

Re: guile-2.0.0 fails to build without threads

2011-04-13 Thread Andy Wingo
On Wed 13 Apr 2011 13:42, Marco Maggi marco.maggi-i...@poste.it writes: Marco Maggi wrote: I still get the Stack overflow problem though with the stable-2.0 branch. Snapshot guile-2.0.0.179-c89b.tar.gz builds successfully if I use the --without-threads option, but fails in the

Re: guile-2.0.0 fails to build without threads

2011-04-13 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/13/11 12:05, Andy Wingo wrote: On Tue 12 Apr 2011 09:26, Marijn hk...@gentoo.org writes: (boehm-gc in gentoo) is built without threads: Interesting. Any plans to change that? I said *when* libgc (boehm-gc in gentoo) is built without

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

2011-04-13 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, 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 full build log:

Re: guile-2.0.0 fails to build without threads

2011-04-13 Thread Marco Maggi
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? core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size

Re: guile-2.0.0 fails to build without threads

2011-04-13 Thread Andy Wingo
On Wed 13 Apr 2011 15:44, Marijn hk...@gentoo.org writes: CCLD guile ./.libs/libguile-2.2.so: undefined reference to `GC_register_my_thread' Fixed, I think; thanks for the full log. If you commit it, I will test it ;P I think I did? Revision 8e76ce94a28c02324aa13de835b1e55282b8b760.

Re: guile-2.0.0 fails to build without threads

2011-04-13 Thread Marco Maggi
Andy Wingo wrote: Throw without catch before boot: Throw to key stack-overflow with args (#f Stack overflow #f #f)Aborting. Can you submit a backtrace please? (gdb) run Starting program: /home/marco/src/devel/scheme/checkouts/guile/libguile/.libs/lt-guile --no-auto-compile [Thread debugging

Re: guile-2.0.0 fails to build without threads

2011-04-13 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/13/11 16:09, Andy Wingo wrote: On Wed 13 Apr 2011 15:44, Marijn hk...@gentoo.org writes: CCLD guile ./.libs/libguile-2.2.so: undefined reference to `GC_register_my_thread' Fixed, I think; thanks for the full log. If you commit it, I

Re: [shift and reset, plus] while

2011-04-13 Thread Wolfgang J Moeller
On Wed, 13 Apr 2011, Andy Wingo wrote: [...] I'd like to improve (while) as currently provided by ice-9/boot.scm (a) to always have a well-defined result This is a good idea; it allows `while' to be an expression, not just a statement. (b) to allow for (break arg ...) Also a good

Re: shift and reset, plus while

2011-04-13 Thread Mark H Weaver
Wolfgang J Moeller w...@heenes.com writes: (d) to correct a buglet that currently transforms the non-operator `continue' into a function of arbitrarily many (as opposed to zero) arguments. I fixed this on the stable-2.0 branch a while back, in commit

Re: [shift and reset, plus] while

2011-04-13 Thread Andy Wingo
On Wed 13 Apr 2011 16:56, Wolfgang J Moeller w...@heenes.com writes: On Wed, 13 Apr 2011, Andy Wingo wrote: [...] I'd like to improve (while) as currently provided by ice-9/boot.scm (a) to always have a well-defined result This is a good idea; it allows `while' to be an expression, not

Re: [shift and reset, plus] while

2011-04-13 Thread Wolfgang J Moeller
On Wed, 13 Apr 2011, Andy Wingo wrote: [...] From Guile 1.6: [...] It did indeed happen to return #t on a normal termination, and have (break ARG). It has lots of other bugs though. I would prefer (break) to return zero values, and (while #f 1) as well, but that is incompatible with 2.0.

Documentation of reduce in guile manual

2011-04-13 Thread David Kastrup
In the guile manual (listed as ii guile-1.6-doc 1.6.8-10build1 Reference and tutorial documentation for Guile 1.6 on my system) in node (info (guile) SRFI-1 Fold and Map) I read -- Scheme Procedure: reduce f ridentity lst

Gnucash won't start due to libguile-srfi-srfi-13-14-v-1

2011-04-13 Thread Cyril Arnaud
I'm using gnucash really often. I'm using Ubuntu 10.10 Today gnucash refused toto start. When launched from the terminal I got the error : ERROR: file: libguile-srfi-srfi-13-14-v-1, message:file not found To make sure that gnucash has all its dependencies installed i reinstalled it : nothing

Re: guile-2.0.0 fails to build without threads

2011-04-13 Thread Ludovic Courtès
Hi, Marco Maggi marco.maggi-i...@poste.it writes: CC posix.lo posix.c:1910:1: error: unknown type name 'cpu_set_t' This file lacks #include sched.h. Can you check whether it solves the problem? Thanks, Ludo’.