>>>> "Gunnar" == Gunnar Evermann
<ge204(a)eng.cam.ac.uk> writes:
Gunnar> Raymond Toy <toy(a)rtp.ericsson.se> writes:
> Yes. The reason I think it's a gcc problem is that start1 is
set to
> BUF_BEGV(curent_buffer) = 1 in Fwrite_region_internal. However, at
> some later point it magically gets changed to 8388xxxx in the call to
> make_lisp_buffer_stream. A peek at the code shows that start1 is only
> set in a few places and none of them can do this.
Gunnar> In my experience you can't trust the values of variables reported by
Gunnar> gdb (incl. backtraces) unless you compiled with -g and without
Gunnar> optimisation.
Agreed. However when I say it's 8388xxxx, that's the value of the
parameter in the routine make_lisp_buffer_stream which was initialized
from start1, and that should be valid, right?
Gunnar> It's supposed to be. Ray, could you try compiling with gcc but with
Gunnar> less aggressive optimisation (say -O1 instead of -O3)?
I tried recompiling fileio (I think) without -O. I still got crashes,
but I'm not 100% sure if I was running the new version or the old.
I am pretty sure that I'm running the Sun CC version now, and that
seems stable.
I do know for a fact that 2.95.x, x < 2, was not capable of building
a temacs that could create an xemacs, so I stayed with 2.7.2.2 for a
long time.
Ray