Re: Compiling Euphoria 3+ for non-x86 targets
- Posted by "Mark Brown" <mabrown at ihug.com.au> Mar 13, 2007
- 525 views
I wrote: > Regarding the seg fault I'm getting, I've tracked it down to symtab.e in > procedure InitSymTab(). Specifically the crash occurs at the line "while > SymTab[s][S_SAMEHASH] != 0 do" Furthur to that, I've narrowed this down to the translated C code. The segfault happens at "RefDS(_1144);" in symtab.c and doesn't seem to have anything to do with the 'while'. RefDS is in execute.h as "#define RefDS(a) ++(DBL_PTR(a)->ref)" and this is the same as 2.4. There must be a bad pointer but I can't work out why. Nothing relevent seems to have changed in the source since 2.4. Sorry for thinking out loud on this. If anyone has had a similar problem, let me know Mark