Re: guile-2.0.0 fails to build without threads

2011-05-21 Thread Andy Wingo
On Fri 20 May 2011 20:41, 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 or 1 */ > >

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

2011-05-21 Thread Douglas Mencken
> Can you grep your libguile/Makefile for LIB_CLOCK_GETTIME ? There's empty definition. LIB_CLOCK_GETTIME = > Is it perhaps that clock_getcpuclockid is in -lrt but clock_gettime is > in your libc? clock_gettime is in both of them: /lib # readelf -s librt.so.0 | grep clock 42: 1cb468

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

2011-05-21 Thread Douglas Mencken
> + AC_SEARCH_LIBS([clock_getcpuclockid], [rt posix4], > + [test > "$ac_cv_search_clock_getcpuclockid" = "none required" \ > + || > LIB_CLOCK_GETTIME=$ac_cv_search_clock_getcpuclockid], > +

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

2011-05-21 Thread Hans Aberg
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 thread. > > The code in question does this: > >void >

[bug #31472] Probable psyntax bug with multiple defininitions in the macro expansion

2011-05-21 Thread Göran Weinholt
Follow-up Comment #2, bug #31472 (project guile): Hello guilers, I want to note some problems that I suspect are caused by this bug. In this example it looks like (define-foo foo1) and (define-foo foo2) use the same identifier for `t' (the latter definition overrides the first): GNU Guile 2.0.1.

Re: guile-2.0.0 fails to build without threads

2011-05-21 Thread Marco Maggi
Andy Wingo wrote: > On Fri 20 May 2011 20:41, 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_GRO

Re: guile-2.0.0 fails to build without threads

2011-05-21 Thread Neil Jerram
Marco Maggi writes: > Someone left ACTION-IF-FALSE empty This is fine, isn't it? > and also left the test > without "checking" message in this chunk of "configure.ac": Agree that that is unhelpful. > maybe the problem is that GCC 4.6.0 with -O3 optimises the > program in such a way that

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

2011-05-21 Thread Göran Weinholt
URL: Summary: Segfault with let and a case-lambda that calls another case Project: Guile Submitted by: weinholt Submitted on: Sat May 21 17:34:40 2011 Category: None Se

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

2011-05-21 Thread Hans Aberg
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 thread. > As you can see we rely on libgc here, and so this