[Ecls-list] multiple-value-bind strange behaviour

2010-07-29 Thread Stas Boukarev
Consider the following file: (defun foo ()) (defun location (function) (multiple-value-bind (file pos) (ext:compiled-function-file function) (list file pos))) Load it: > (load (compile-file "foo")) > (location #'foo) ("foo.lisp" NIL) > (ext:compiled-function-file #'foo) "foo.lisp" 0 --

[Ecls-list] compilation on cygwin

2010-07-29 Thread Louis Höfler
Someone I talked to tried to compile ecl on Cygwin. He gets this error: gcc -c -DHAVE_CONFIG_H -I. -I/cygdrive/c/Users/christoph/ecl/src/gmp/mpn -I.. -D__GMP_WITHIN_GMP -I/cygdrive/c/Users/christoph/ecl/src/gmp -DOPERATION_dive_1 -g -O2 tmp-dive_1.s -DPIC -o dive_1.o /usr/lib/gcc/i686-pc-cygwin/

Re: [Ecls-list] cl_boot crash

2010-07-29 Thread Juan Jose Garcia-Ripoll
On Thu, Jul 29, 2010 at 2:26 PM, John DeSoi wrote: > I ran it without GDB and 4D crashes (quits and the OS says that the > application crashed). Below are the details from Crash Reporter. I called > GC_init() rather than cl_boot. This is OS X 10.5.8. > This obviously points out a problem in the

Re: [Ecls-list] cl_boot crash

2010-07-29 Thread John DeSoi
On Jul 29, 2010, at 4:20 AM, Juan Jose Garcia-Ripoll wrote: > This is _not_ necessarily a crash. If this is OS X, this signal is used by > the garbage collector to detect when memory is written to, marking it for > inspection later on. What I meant is to really run a program, no GDB > involved

Re: [Ecls-list] cl_boot crash

2010-07-29 Thread Juan Jose Garcia-Ripoll
On Thu, Jul 29, 2010 at 2:34 AM, John DeSoi wrote: > > On Jul 28, 2010, at 5:36 AM, Juan Jose Garcia-Ripoll wrote: > > > There might be some incompatibility between the garbage collector and > 4D's code. To ensure this is not the case, remove the call to cl_boot() and > call instead GC_init(). If