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: Klaus Zeitler
Subject: Re: CVS emacs crashes right after startup
Date: 12 Jan 2004 14:15:47 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

>>>>> "Eli" == Eli Zaretskii <address@hidden> writes:
    Eli> 
    Eli> Do I understand correctly that GCC 3.0.4 is used only to link
    Eli> `temacs', not to compile any of the *.c source files into *.o object
    Eli> files?

yes, I only deleted temacs and linked again

    Eli> What is the default format of debug info produced by GCC in these two
    Eli> versions?  That is, if invoked with the -g switch, what debug info
    Eli> format does each GCC generate?

info source tells for temacs and emacs
(no matter if compiled/linked with gcc 3.3.2 or 3.0.4):

Current source file is /vol/freeware/cvs/emacs/head/emacs/src/emacs.c
Compilation directory is /vol/freeware/SunOS-5.8/build/emacs-cvs/src/
Located in /vol/freeware/cvs/emacs/head/emacs/src/emacs.c
Contains 2404 lines.
Source language is c.
Compiled with stabs debugging format.
Does not include preprocessor macro info.

    Eli> Also, does `temacs' work, in both cases, if invoked like this:
    Eli> 
    Eli>       temacs -q -l loadup

yes, this works in both cases

    Eli> You should be able to see which linker is invoked if you add -v to
    Eli> the GCC switches in the link command line.

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


so I'm pretty sure it's a linker problem, though both temacs versions run.
But the crash happened in libXT and I guess this one's not called in temacs.

Klaus



-- 
 ------------------------------------------
|  Klaus Zeitler      Lucent Technologies  |
|  Email:             address@hidden  |
 ------------------------------------------
---
It is not enough to succeed.  Others must fail.  -- Gore Vidal




reply via email to

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