emacs-devel
[Top][All Lists]
Advanced

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

Re: My Emacs unicode 2 crash again when I do some *Replace String (M-%)*


From: Nick Roberts
Subject: Re: My Emacs unicode 2 crash again when I do some *Replace String (M-%)*, I give the debug informations under gdb in the attachments.
Date: Wed, 7 Mar 2007 17:01:28 +1300

 > >  > % cd EMACS_BUILD_TREE/src
 > >  > % rm xdisp.o
 > >  > % make CFLAGS='-g -fno-crossjumping'
 > > 
 > > Evidently cross-jumping is only enabled with -O2 or higher so
 > > 
 > > make CFLAGS=-g
 > > 
 > > should work.  The current default for Emacs is "-g -O2".  I think it should
 > > be "-g" for CVS Emacs, but I think that we might have had this discussion
 > > on the mailing list before.
 > 
 > But, both of the settings with CFLAGS on my case cann't work, please see 
 > the debug errors for detail.

This will probably work:

make distclean
configure CFLAGS=-g
make

but it seems excessive as you probably only need -fno-crossjumping in xdisp.o.
You could try

rm xdisp.o
make

Do ^C after the compile string is printed e.g

gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. 
-I/home/nickrob/emacs/src -D_BSD_SOURCE -I/usr/include/alsa -g -O2 xdisp.c
                                            ^^^^^^
edit it like this:

gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. 
-I/home/nickrob/emacs/src -D_BSD_SOURCE -I/usr/include/alsa -g xdisp.c
                                            ^^
to compile for xdisp.o, then do `make' to get your executable


-- 
Nick                                           http://www.inet.net.nz/~nickrob




reply via email to

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