Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!samsung!cs.utexas.edu!rice!sun-spots-request From: gandalf@csli.stanford.edu (Juergen Wagner) Newsgroups: comp.sys.sun Subject: Re: ld.so dirties user stack Keywords: Miscellaneous Message-ID: <4892@brazos.Rice.edu> Date: 9 Feb 90 12:04:46 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 14 Approved: Sun-Spots@rice.edu X-Refs: Original: v9n36 X-Sun-Spots-Digest: Volume 9, Issue 40, message 1 Hmmm... Don't rely on such things as local variables being zero-initialized. Otherwise, you'll wind up with mysterious errors on some machines. As for shared libraries, the only problem I encountered is with programs like TeX/LaTeX or GNUEmacs, which dump a core image to be read in again later when the actual program is started. I also encountered some strange "Segmentation faults" with some of my (dynamically linked) programs, which go away if I use -Bstatic. However, I am not sure whether these bugs are due to bugs in the libraries or the library handling, or whether the bugs are in my programs... Juergen Wagner gandalf@csli.stanford.edu