Re: make-thread on 64bit causes segfault
Brought to you by:
jsh,
nano-master
From: John H. <js...@un...> - 2005-01-12 03:32:56
|
> Maurice <mau...@gm...> wrote: > >> rep compiled for x86_64 gives me a segmentation fault when calling >> the function 'make-thread'. >> > > I figured out that this only happens when CFLAGS contains -O2 > this code can be very machine specific, it's doing weird things to the cpu stack. I may be able to get access to an x86_64 machine, but it won't be for a while, so if you can debug it, please go ahead :-) The first thing to check is if config.h has STACK_DIRECTION defined to the correct value (should be -1 I assume). If not rerun configure --with-stack-direction=-1 and see if that makes a difference John |