[bug #33362] Segfault with let and a case-lambda that calls another case

2011-06-17 Thread Andy Wingo
Update of bug #33362 (project guile): Status:None => Fixed Open/Closed:Open => Closed ___ Follow-up Comment #2: Thank you for the det

Re: `set!' of generated temporary in macro expansion causes warning

2011-06-17 Thread Andy Wingo
Hi, On Mon 13 Jun 2011 14:10, Andreas Rottmann writes: > From: Andreas Rottmann > Subject: Silence warnings for variables created by `generate-temporaries' Applied, also having regenerated psyntax-pp.scm. FWIW the procedure there is that, after having modified psyntax.scm, recompiled everythi

Re: r6rs define-record-type is unhygienic

2011-06-17 Thread Andy Wingo
Hi Ian, Great debugging, and great patch. On Sat 11 Jun 2011 15:36, Ian Price writes: > I have attached a patch for stable-2.0 to deal with these > issues. Keywords are now matched as syntax-case literals, and > sub-expressions are de-structured as necessary, rather than by using > syntax->datu

Re: Guile 2.0.1: scm_init_guile() broken on Mac OS X 10.6.7

2011-06-17 Thread Hans Aberg
On 17 Jun 2011, at 11:26, Andy Wingo wrote: On Mac OS X 10.6.7, compiled using Xcode Version 3.2.6 64-bit, i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1, scm_init_guile() gives the error: Failed to get stack base for current thread. >> >>> As you can see we rely on libgc her

Re: {debug,read,readline,print}-{set!,disable,enable}, etc.

2011-06-17 Thread Andy Wingo
Hi Wolfgang, On Sun 22 May 2011 13:53, Wolfgang J Moeller writes: > As regards (primitive-load) - it's only after our discussion that I realized > that without file-compilation GUILE seems to always (slowly) interprete the > LOADed code. Makes me ask for LISP's (LOAD ... :COMPILING T) [independe

Re: Guile with win32 cross compiling

2011-06-17 Thread Andy Wingo
Hi Volker, On Sat 21 May 2011 00:19, Volker Grabsch writes: > Jan Nieuwenhuizen schrieb: >> https://github.com/janneke/gub/blob/guile-2.0/gub/specs/guile.py >> https://github.com/janneke/gub/tree/guile-2.0/patches > > As far as I can see, you have patched libgc to support pthreads > unde

Re: guile-2.0.0 fails to build without threads

2011-06-17 Thread Andy Wingo
Hi Marco, On Sat 21 May 2011 15:51, Marco Maggi writes: > Andy Wingo wrote: >> Thanks. You seem to be running on system in which the >> stackgrows up.Isthat thecase?Check >> libguile/scmconfig.h and config.log. > > Yes, I have: > > #define SCM_STACK_GROWS_UP 1 /* 0 o

Re: [build error] ./.libs/libguile-2.0.so: undefined reference to `clock_getcpuclockid'

2011-06-17 Thread Andy Wingo
On Sat 21 May 2011 14:50, Douglas Mencken writes: >> + AC_SEARCH_LIBS([clock_getcpuclockid], [rt posix4], >> + [test >> "$ac_cv_search_clock_getcpuclockid" = "none required" \ >> + || >> LIB_CLOCK_GETT

bug in check for stack growth direction in _AC_LIBOBJ_ALLOCA

2011-06-17 Thread Andy Wingo
Hello, The following transcript indicates a problem with the stack growth direction check, present at functions.m4:328 in autoconf 2.68: wingo@badger:/tmp$ cat foo.c int find_stack_direction () { static char *addr = 0; auto char dummy; if (addr == 0) { addr = &d

Re: Guile 2.0.1: scm_init_guile() broken on Mac OS X 10.6.7

2011-06-17 Thread Andy Wingo
On Sat 21 May 2011 19:20, Hans Aberg writes: > On 20 May 2011, at 12:11, Andy Wingo wrote: > >>> On Mac OS X 10.6.7, compiled using Xcode Version 3.2.6 64-bit, >>> i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1, scm_init_guile() gives the >>> error: >>> >>> Failed to get stack base for current threa

Re: (+ (values 1 2)) should be 1

2011-06-17 Thread Andy Wingo
On Sun 22 May 2011 16:02, Andy Wingo writes: > But, it is 1 and 2, currently. (+ FOO) inlines just to FOO, too > optimistically. Fixed in git. (+ FOO) now inlines to (values FOO). Andy -- http://wingolog.org/

Re: guile 2.0.1 fluid *current-language* failed to initialize in multi-thread app

2011-06-17 Thread Andy Wingo
On Sun 29 May 2011 19:16, δΊšε…‰ε” writes: > I intend to use two thread eval some string in my app, but I found the > the child thread > will throw an exception when execute 'scm_eval_string' function. I believe I have fixed this in git. Thanks for the report! Andy -- http://wingolog.org/

[bug #30901] High runtime variance

2011-06-17 Thread Andy Wingo
Update of bug #30901 (project guile): Status:None => Works For Me Open/Closed:Open => Closed ___ Follow-up Comment #2: I too no longer see t

[bug #30072] rest pattern after ellipsis

2011-06-17 Thread Andy Wingo
Follow-up Comment #2, bug #30072 (project guile): Thanks for the patch Stefan, it makes sense to me. Would you like to clean it up as a git-format-patch, with a commit log? ___ Reply to this item at:

[bug #33498] Guile 2.0.1 segfaults on (begin-thread . . .

2011-06-17 Thread Andy Wingo
Follow-up Comment #2, bug #33498 (project guile): Hi Jason. What version of libgc are you using? Is it from the distro or did you compile it yourself? Also, can you try a 2.0.2 prerelease, from here: http://hydra.nixos.org/build/1123775/download/1/guile-2.0.1.132-c245.tar.gz ? Thanks, Andy

[bug #33165] `load' uses a wrong relative path

2011-06-17 Thread Andy Wingo
Follow-up Comment #1, bug #33165 (project guile): The lack of an initial / on a primitive-load-path call indicates that / was in your GUILE_LOAD_PATH at compilation time, though perhaps not at load time. Can you check that? Andy ___ Reply

[bug #30072] rest pattern after ellipsis

2011-06-17 Thread Stefan Israelsson Tampe
Follow-up Comment #3, bug #30072 (project guile): Ok the git format patch is in ellipsis.mb.diff (file #23536) ___ Additional Item Attachment: File name: ellipsis.mb.diff Size:3 KB __

Re: r6rs define-record-type is unhygienic

2011-06-17 Thread Ian Price
Andy Wingo writes: > Only a couple of nits with the patch: > >> * module/rnrs/records/syntactic.scm(define-record-type0, process-fields): > ^ a space goes here Fixed > >> + (list (wrap `(immutable ,(syntax->datum #'name))) >> (guess-accessor-name #'n