On 17 Jan 2001, Jean-Marc Lasgouttes wrote:

> Tom> When I built Lyx 1.1.6 using gcc version 2.95.2 19991024 on
> Tom> Alpha, it mostly works but I get an Illegal instruction when I
> Tom> exit (or sometimes segmentation fault) -- it turns out to be
> Tom> because of stack corruption that occurs somewhere after the
> Tom> return statement in main. There may be other places I haven't
> Tom> found in my limited testing. Compiling without -O doesn't help
> Tom> (oddly).
>
> Could you give more details? It works well here on Tru64 unix 4.0f.

Well, it was originally a RedHat 6.0 box, but I'm now running kernel
2.4.0-ac5, and I've upgraded most of the utilities to match; just about
everything is relatively new.  The C library, on the other hand, is still
glibc-2.1.1-7; I don't know if that makes a difference.  The egcs release
that doesn't have the problem is the one that came with that glibc.  I
suppose it's about time to upgrade my glibc and try again...

(2.95 also miscompiles Qt (and that's _definitely_ an optimizer bug) on
this box, and I've had other things break too.)

P.S. after more testing, the exit bug is still the only one I've found.
Except the selection color defaulted to black for some reason but that's
no biggie.  1.1.6 works pretty good.

Dr. Tom Holroyd
"I am, as I said, inspired by the biological phenomena in which
chemical forces are used in repetitious fashion to produce all
kinds of weird effects (one of which is the author)."
        -- Richard Feynman, _There's Plenty of Room at the Bottom_

Reply via email to