GNU bug report logs - #26638
25.2; Fatal error 6: Abortmake[1]: *** [Makefile:737: bootstrap-emacs] Abort (core dumped)

Previous Next

Package: emacs;

Reported by: 白井彰 <okshirai <at> gmail.com>

Date: Mon, 24 Apr 2017 14:22:01 UTC

Severity: important

Tags: moreinfo

Found in version 25.2

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #43 received at 26638 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 白井彰 <okshirai <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 26638 <at> debbugs.gnu.org
Subject: Re: 25.2; Fatal error 6: Abortmake[1]: *** [Makefile:737:
 bootstrap-emacs] Abort (core dumped)
Date: Thu, 14 Sep 2017 12:14:49 -0700
白井彰 wrote:

> './configure --with-gif=no CFLAGS="-m64 -g3"' with Sun C 5.15,
> 'CCLD temacs' failed on my site:
> 
> make[2]: Leaving directory '/tmp/emacs-25.2/admin/unidata'
>    CCLD     temacs
> ld: fatal: file /usr/sfw/lib/libfreetype.so: wrong ELF class: ELFCLASS32
> ld: fatal: file /usr/sfw/lib/libXrender.so: wrong ELF class: ELFCLASS32
> ld: fatal: file /usr/sfw/lib/libfreetype.so: wrong ELF class: ELFCLASS32
> ld: fatal: File processing errors. No output written to temacs

You'd need to link to 64-bit libraries. If you can't find them, then please 
disable the the troublesome 32-bitlibraries. E.g.,

./configure --with-gif=no --with-xft=no CFLAGS="-m64 -g3"

should build without the abovementioned libraries.

> Now I can recreate the segmentation fault of temacs every time with
> Sun C 5.15 on my site, and the backtrace of temacs seems very alike
> for each build of emacs-25.2:

That's "encouraging", in some sense. At least you can reproduce the bug.

> % cat /tmp/aaa.txt
> core '/tmp/emacs-25.2/src/core' of 24956:     ./temacs --batch --load loadup bootstrap
>   fe5a17ea rt_dldump (feffdd88, 8c0c21c, 1000, 0) + 7a6
>   fefd9fe9 dldump_core (feffb28c, 0, 8c0c21c, 1000) + 175
>   fefda036 dldump   (0, 8c0c21c, 1000, 8bd1b58) + 42
>   0834b719 unexec   (8c0c21c, 8c0c250, 8046ac8, 8215a4d) + 19

This sounds promising. Can you use a debugger to find out what is going wrong 
inside rt_dldump?




This bug report was last modified 7 years and 235 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.