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: 08 Jan 2004 12:35:25 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "Eli" == Eli Zaretskii <address@hidden> writes:
    Eli> 
    Eli> It looks like the crash is when Emacs tries to create the initial
    Eli> frame.  Can you verify this with "xbacktrace"?

(gdb) xbacktrace
"x-create-frame"
"x-create-frame-with-faces"
"make-frame"
"frame-initialize"
"command-line"
"normal-top-level"

    Eli> Please tell more about the build: the precise way in which you
    Eli> invoked the configure script, which toolkit was used, which version
    Eli> of what compiler was used, etc.

In GNU Emacs 21.3.50.18 (sparc-sun-solaris2.8, Motif Version 2.1.0)
 of 2004-01-08 on sfsws4
configured using `configure '--with-gcc' 
'--prefix=/vol/freeware/SunOS-5.8/emacs/cvs' 
'--sharedstatedir=/vol/freeware/SunOS-5.8/emacs/cvs/share' 
'--with-x-toolkit=motif' 
'--x-includes=/usr/openwin/include:/usr/local/gnu/include' 
'--x-libraries=/usr/openwin/lib:/usr/local/gnu/lib' '--with-pop' 'CC=gcc''




I figured out what had changed since my last CVS build (some time in October).
In November they installed gcc 3.3.2 on our system, before we used gcc 3.0.4.
When I change gcc to 3.0.4, delete temacs and run make, emacs runs fine.
So I think it must have something to do with the final link.
Size of temacs generated with 3.0.4: 12164024
Size of temacs generated with 3.3.2:  6521914

I never quite understood how this works with gcc and the linker. But AFAIK
we've been using the Solaris linker with all our gcc versions.


And here's the call for the final link of temacs:

cd ../lwlib/; make  CC='gcc' CFLAGS='-g -O2' MAKE='make' 
"C_SWITCH_X_SITE=-I/usr/openwin/include -I/usr/local/gnu/include" 
"C_SWITCH_X_MACHINE=" "C_SWITCH_X_SYSTEM=-I/usr/dt/include" "C_SWITCH_SITE=" 
"C_SWITCH_MACHINE=" "C_SWITCH_SYSTEM="
make[1]: Entering directory `/vol/freeware/SunOS-5.8/build/emacs-cvs/lwlib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/vol/freeware/SunOS-5.8/build/emacs-cvs/lwlib'
gcc  -L/usr/ccs/lib `./prefix-args -Xlinker -R/usr/openwin/lib 
-R/usr/local/gnu/lib` `{ set x ; test "$2" = "USE_MOTIF"; } || echo ' 
-R/usr/dt/lib -L/usr/dt/lib'` -L/usr/openwin/lib -L/usr/local/gnu/lib -o temacs 
 dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o charset.o coding.o 
category.o ccl.o cm.o term.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o 
xsmfns.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o 
insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o 
casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o 
callint.o eval.o floatfns.o fns.o print.o lread.o abbrev.o syntax.o unexelf.o 
bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o 
strftime.o intervals.o textprop.o composite.o md5.o   terminfo.o lastfile.o 
gmalloc.o ralloc.o vm-limit.o  widget.o mktime.o   ../lwlib/liblw.a 
-L/usr/openwin/lib -L/usr/local/gnu/lib -lXm -lgen -lXp -lXmu -lXt -lSM -lICE 
-lXext -ljpeg -lpng -lz -l!
 m -lXpm -lX11  -lsocket -lnsl -lkstat -lcurses -lkstat  -lm 
LC_ALL=C ./temacs -batch -l loadup dump


-- 
 ------------------------------------------
|  Klaus Zeitler      Lucent Technologies  |
|  Email:             address@hidden  |
 ------------------------------------------
---
Why was I born with such contemporaries? -- Oscar Wilde




reply via email to

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