On 3/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
These values are declared in the library (alef/lib/386/run.h) source code:/* Runtime data structures */ enum { Ptab = 0x7fff5000, /* Private stack */ Execstk = 0x7f001000, /* Exec stack linkage area */ }; The runtime fails: 8.sieve 6302: suicide: sys: trap: fault write addr=0x7fff5000 pc=0x00001c2d so I presume that new values and hopefully not major surgery, are called for. Can anyone help? Also, are there analogous values in the other platforms (power, sparc, mips) that require attention?
the pc address space got bigger in 2005 so that programs could use more than 2gb of memory. the top of the stack is now 0xdffff000 instead of 0x7ffff000, so if you s/0x7/0xd/ you will probably be okay. it would be even better if _main looked at its stack pointer and anded off some bits, so that those weren't hard-coded. power didn't move, and mips and sparc aren't in the main tree anymore. russ
