On Dec 6, 1999, Gunnar Evermann <ge204(a)eng.cam.ac.uk> wrote:
[ Alexandre, are you reading xemacs-beta?
Nope, sorry. Should I?
this crash occurs with the latest 21.1 version in CVS, i.e.
including
your patch <orbt8826hb.fsf(a)garnize.lsd.ic.unicamp.br> ]
Yep, it seems that SGI ELF is much more complicated than I expected
:-(
We should probably stick with unexelfsgi.c, at least for now. Maybe
some day I can try to port/generalize Max Matveev's change to
unexelf.c
with gcc version 2.7.2.3 linking against X11R6.4 and NOT using motif.
Too bad it won't even work with old GCCs :-(
The crash occurs in X11R6.4's XtInitializeWidgetClass() at the
following place:
Yeah, I think I've seen that before, with older versions of XEmacs.
It might even have been before I first patched it to use unexelf.c on
IRIX systems, but I may be wrong.
One potentially important difference I see between the current XEmacs
21-1 unexelf.c and the patched GNU Emacs version of unexelf.c I've
got, that works fine on all systems I've got, including IRIX 6.3 with
GCC 2.95.2, is the last hunk of the following patch:
As noted by others, `.got' doesn't need special handling on most
systems. Moreover, `.lit4' and `.lit8' do not even exist on IRIX, at
least on my build. They must be targeted at some other platform.
Please note that we have received a couple of reports of similar
crashes (i.e. same C backtrace) from people using Solaris 7.
I'm going to give it a try on IRIX and Solaris7. In fact, on all
platforms I've got. Unfortunately, this patch can't possibly make any
difference on Solaris7 :-(
BTW, which compiler is being used on Solaris7? In 32 or 64 bits mode?
--
Alexandre Oliva
http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva(a){lsd.ic.unicamp.br,guarana.{org,com}} aoliva(a){acm,computer}.org
oliva(a){gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them