Re: make-thread on 64bit causes segfault
John Harper <[email protected]> Tue, 11 Jan 2005 19:32:39 -0800
| Newsgroups | gmane.lisp.librep |
|---|---|
| Message-ID | <[email protected]> |
> Maurice <[email protected]> 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 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt