more on z?ftape
David Mosberger-Tang (davidm@AZStarNet.com)
Sun, 19 Nov 1995 15:17:55 -0700
Well, I just figured why reading the tape killed off processes---I
forgot to specify -mno-fp-regs. This isn't the first time this bites
me. Either some day I'm gonna learn, or then I'm gonna change gcc not
to use fp regs for integer assignments (actually that would still
leave open how to deal with varargs).
In any case, I'm pretty sure just recompiling ftape with -mno-fp-regs
will make it behave much better. BTW: this also explains why no
permanent damage was done: ftape simply mangled the fp registers of
some user-level process and that poor guy then segfaulted or
something. But no kernel memory was corrupted.
--david