On Mon, Jan 16, 2012 at 11:25 PM, Peter Van Eynde <pvaneynd@mailworks.org>wrote:
Hello all,
If one uses gcc-4.6 to recompile cmucl then the test defined in:
src/lisp/os-common.c: os_stack_grows_down
always returns 0, even on x86/Linux where the correct answer is 1. I'm guessing that this is due to the added smarts in gcc-4.6.
This causes the resulting lisp binary to segfault on startup, see Debian bug 483331.
I 'fixed' this by making the function always return 1 as I'm only concerned about x86/Linux :).
Interesting. I wonder if os_stack_grows_down_1 were moved to another file would fix this. I'll also look around to see if I have gcc 4.6 somewhere on my machines Thanks for the tip,
After this major hurdle expect 20c in Debian soonish...
Fantastic! Thanks, Ray