Re: guile-2.0.0 fails to build without threads

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

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 ch

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 `reduc

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

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

2011-04-13 Thread Andy Wingo
On Wed 13 Apr 2011 16:56, Wolfgang J Moeller 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, n

Re: guile-2.0.0 fails to build without threads

2011-04-13 Thread Andy Wingo
On Wed 13 Apr 2011 16:27, Marijn writes: > On 04/13/11 16:09, Andy Wingo wrote: >> On Wed 13 Apr 2011 15:44, Marijn 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 com

Re: shift and reset, plus "while"

2011-04-13 Thread Mark H Weaver
Wolfgang J Moeller 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 ddf134cfec0d82ea9f39ddd69948c08feecb9576. Mark

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 ...) >

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 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

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 deb

Re: guile-2.0.0 fails to build without threads

2011-04-13 Thread Andy Wingo
On Wed 13 Apr 2011 15:44, Marijn 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. Chee

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

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: http

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 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 threads". T

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 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 >> same way when

Re: guile-2.0.0 fails to build without threads

2011-04-13 Thread Andy Wingo
On Tue 12 Apr 2011 09:26, Marijn 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 -- http://wing

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 writes: > | GNU Guile 2.0.0 > | scheme@(guile-user)> (display (while #f 1)) > | :0:0: In procedure #:1:0 > ()>: > | :0:0: Thr

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 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 is quite common: it's t

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 dar

Re: Problem with netcat

2011-04-13 Thread Detlev Zundel
Hi Mark, > Andy Wingo 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 of lik

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