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

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

Re: Build Failure


From: Eli Zaretskii
Subject: Re: Build Failure
Date: Tue, 07 May 2002 19:44:13 +0300

> From: Nick Brown <address@hidden>
> Newsgroups: gnu.emacs.bug
> Date: Tue, 07 May 2002 16:06:50 +0100
> 
> How do I do that?
> I previously just did a;
> configure --prefix='/users/nicbrown/software/test' --without-x
> make
> make install
> 
> the make.log (attached to my first post) seem to show the -g option, but I 
> don't know how to make un an unstripped version.

If that's how you made Emacs, the binary in the `src' directory should
be unstripped.  Hmm, I wonder why didn't you get a backtrace then.

Maybe it's your GDB version--it sounds very old (1996 was a long time
ago, and it also complained about some part of the .gdbinit file).
What does "gdb --version" print?

Can you try to build the latest GDB and use that, or use dbx?

Another idea is to run Emacs under GDB to begin with, exactly like it
was run by Make when it crashed, and see what happens then.  Here are
the necessary steps, starting from the top-level directory where you
unpacked the Emacs sources:

    cd src
    gdb ./emacs
    (gdb) run -q -batch -f list-load-path-shadows

If all goes well, this should cause the same crash you see during the
build, but this time GDB will kick in, and you should be able to type
the "bt" (or "where") command to display the backtrace.



reply via email to

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