Unable to bootstrap GNU Emacs 21.3 (segfault)

David PONCE david.ponce at wanadoo.fr
Fri Oct 24 08:36:05 UTC 2003


Hi All,

I installed FC3 on my laptop and enjoy very much this distrib. :-)
Thanks to all the people that contributed to it!

However, on that new box bootstraping GNU Emacs 21.3.1 (official) or
21.3.50.1 (devel) constantly fails with a segfault when dumping
preloaded lisp code into the bare temacs executable :-(

Here are some (I hope) useful informations:

? uname -a Linux maunakea 2.4.22-1.2097.nptl #1 Fri Oct 17 14:49:10
EDT 2003 i686 i686 i386 GNU/Linux

? rpm -qa | grep gcc
gcc-g77-3.3.1-6
gcc-java-3.3.1-6
gcc32-3.2.3-6
libgcc-3.3.1-6
gcc-c++-3.3.1-6
gcc-3.3.1-6
gcc-gnat-3.3.1-6
compat-gcc-7.3-2.96.118

? rpm -qa | grep glibc
glibc-common-2.3.2-98
glibc-devel-2.3.2-98
glibc-kernheaders-2.4-8.24
glibc-2.3.2-98
glibc-headers-2.3.2-98

And a gdb traceback I got:

(gdb) backtrace
#0  0x007f5edc in memcpy () from /lib/tls/libc.so.6
#1  0x0815b3d2 in unexec (new_name=0xa6493a8 "/home/ponce/installs/emacs/lisp/emacs",
    old_name=0xa6493d4 "/home/ponce/installs/emacs/lisp/temacs", data_start=137866864, bss_start=0, entry_address=0) at unexelf.c:925
#2  0x080d9492 in Fdump_emacs (filename=174516796, symfile=174516780) at emacs.c:2155
#3  0x081334ae in Feval (form=135861544) at eval.c:2078
#4  0x0813101a in Fprogn (args=-1094580120) at eval.c:408
#5  0x08130f69 in Fif (args=-1440425712) at eval.c:357
#6  0x081335ff in Feval (form=-2009624484) at eval.c:2025
#7  0x08130f48 in Fif (args=-1440424832) at eval.c:356
#8  0x081335ff in Feval (form=-2009624484) at eval.c:2025
#9  0x08146b73 in readevalloop (readcharfun=705765364, stream=0xa13e820, sourcename=1779655604, evalfun=0x8133174 <Feval>, printflag=0,
    unibyte=137870080, readfun=705652836) at lread.c:1376
#10 0x08145c54 in Fload (file=1779655604, noerror=705652836, nomessage=705652836, nosuffix=705652836, must_suffix=705652836) at lread.c:914
#11 0x081334fc in Feval (form=137863376) at eval.c:2092
#12 0x080da379 in top_level_2 () at keyboard.c:1301
#13 0x0813235e in internal_condition_case (bfun=0x80da368 <top_level_2>, handlers=705746516, hfun=0x80da070 <cmd_error>) at eval.c:1333
#14 0x080da3a5 in top_level_1 () at keyboard.c:1309
#15 0x08131efd in internal_catch (tag=137870080, func=0x80da37c <top_level_1>, arg=705652836) at eval.c:1094
#16 0x080da2f7 in command_loop () at keyboard.c:1270
#17 0x080d9e4c in recursive_edit_1 () at keyboard.c:987
#18 0x080d9f5c in Frecursive_edit () at keyboard.c:1043
#19 0x080d88b9 in main (argc=5, argv=0xbff00554) at emacs.c:1666

I tried gcc32 and gcc296 and got the same error.  I also tried to
build Emacs without X toolkit without success.

Does anybody succeeded to do that?  Or have an idea on what happens?

FYI, I use RH 7.1+updates at home and never encountered any problem to
build Emacs.

Thanks in advance for any help.

Sincerely,
David





More information about the fedora-list mailing list