emacs-devel
[Top][All Lists]
Advanced

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

Re: make bootstrap croaks


From: Eli Zaretskii
Subject: Re: make bootstrap croaks
Date: Sat, 25 Feb 2006 13:47:18 +0200

> Date: Thu, 23 Feb 2006 15:35:35 +0900
> From: djh <address@hidden>
> 
> Platform: CYGWIN_NT-5.1 1.5.19(0.150/4/2)
> Underlying OS: Japanese XP
> 
> configured:
> ./configure --prefix=$INSTALL_BASE_DIR --mandir=/usr/share/man 
> --infodir=/usr/share/info --exec-prefix= --with-jpeg --with-png 
> --with-gtk  --with-gif  --without-toolkit-scroll-bars --with-xpm 
> --with-tiff  --x-includes=/usr/X11R6/include/X11 
> --x-libraries=/usr/X11R6/lib
> 
> $ make boostrap

Is this the CVS code?  If so, when did you resync with the CVS?

> ..While....
> Loading language/vietnamese (source)...
> Loading language/misc-lang (source)...
> Loading language/utf-8-lang (source)...
> Loading language/georgian (source)...
> Loading international/ucs-tables (source)...
> make[2]: *** [bootstrap-emacs.exe] Segmentation fault (core dumped)
> make[2]: Leaving directory `/cygdrive/c/emacs/cvs/emacs/src'
> make[1]: *** [bootstrap-build] Error 2
> 
> How do I attach a gdb to this?  

First, you don't necessarily need to attach GDB.  AFAIK, Cygwin has a
way of writing a core file that GDB can read and allow post-mortem
debugging.  If you don't find the core file, you may wish to ask on
the Cygwin mailing list how to produce it (I don't know the details,
sorry).

If this doesn't work somehow, you can simply run the failed command
from GDB.  The command that failed should be shown by Make; you didn't
show that part of the transcript, but my crystal ball says that the
command was:

        ./temacs -batch -l loadup bootstrap

If so, go to the src directory and type

        gdb ./temacs.exe

and then, inside GDB, type this:

        (gdb) run -batch -l loadup bootstrap

Now, when temace.exe crashes, GDB will gain control, and you can poke
around to see what went wrong.  (The file etc/DEBUG gives some
valuable advice on debugging Emacs.)




reply via email to

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