guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Startup failure


From: Klaus Schilling
Subject: Re: Startup failure
Date: Sat, 02 Jun 2012 16:28:47 +0200 (CEST)

From: address@hidden (Ludovic Courtès)
Subject: Re: Startup failure
Date: Sat, 02 Jun 2012 14:40:46 +0200

Hi Ludovic,

> Hi Klaus,
> 
> 
> This one?
> 
> > ERROR: In procedure system*:
> > ERROR: Stack overflow
> 
> Could it be that Guile was compiled with -O0?  It should be compiled
> with -O2.
> 
> Thanks,
> Ludo’.

The Makefile says 
CFLAGS = -g -O2

Is there a way for gcc to mess this up and compile without
optimisation as a fallback? It's easy to miss out on some warnings
during the compilation.

Other procedures from that fail in a similar manner are sigaction with some
signalnumbers (I had to fumble with top-repl.scm in order to make the
repla start up, it contains a sigaction for SIGINT, so disabled the
check (provided? 'posix) and continued automatically with the non
posix version which does not manipulate and restore signal handlers
within a dynamic-wind).  The same problem was already in 2.0.0. In
1.8.8, system* and sigaction work flawlessly. Also, system without a
star works well even with 2.0.5. So the problem rests with some, but
not all posix procedures.

Klaus Schilling

reply via email to

[Prev in Thread] Current Thread [Next in Thread]