emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS emacs crashes right after startup


From: Eli Zaretskii
Subject: Re: CVS emacs crashes right after startup
Date: Sat, 17 Jan 2004 19:44:35 +0200

> From: Klaus Zeitler <address@hidden>
> Date: 12 Jan 2004 14:15:47 +0100
> 
>     Eli> Also, does `temacs' work, in both cases, if invoked like this:
>     Eli> 
>     Eli>       temacs -q -l loadup
> 
> yes, this works in both cases

In that case, my main suspect is the dumping process, whereby the
memory image of temacs is used to prepare the emacs binary.  That is
because "temacs -l loadup" exactly recreates the code loaded into
`emacs', except for the dumping (a.k.a. unexec).

> I've added "-V" to TEMACS_LDFLAGS and now I see that the new gcc is calling
> GNU ld:
> 
> gcc 3.3.2 uses GNU ld:
>  GNU ld version 2.14 20030612
>    Supported emulations:
>     elf32_sparc
>     elf64_sparc
> 
> whereas gcc 3.0.4 uses the sun linker:
>  ld: Software Generation Utilities - Solaris Link Editors: 5.8-1.283

Can you force GCC 3.2.2 to invoke the Solaris linker, and see if that
helps?

> so I'm pretty sure it's a linker problem, though both temacs versions run.

It might be still an Emacs issue: GNU ld might be doing something
that confuses the unexec code.

> But the crash happened in libXT and I guess this one's not called in temacs.

I think it is called in temacs as well.  It must be, since temacs also
uses the X toolkit for its GUI.

Thanks for working on this.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]