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

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

bug#26638: 25.2; Fatal error 6: Abortmake[1]: *** [Makefile:737: bootstr


From: 白井彰
Subject: bug#26638: 25.2; Fatal error 6: Abortmake[1]: *** [Makefile:737: bootstrap-emacs] Abort (core dumped)
Date: Fri, 15 Sep 2017 00:11:41 +0900

> At this point I'm just trying to get Emacs working for you
Thanks, for now I can use emacs-25.2 built with Sun C 5.9 and
'./configure --with-gif=no CFLAGS="-g"' on my Solaris 10 machine
(i386-pc-solaris2.10).

> Do you have the same problem when you build it for a 64-bit
> executable? Try './configure --with-gif=no CFLAGS="-m64 -g3"'.
'./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
make[1]: *** [Makefile:596: temacs] Error 2
make[1]: Leaving directory '/tmp/emacs-25.2/src'
make: *** [Makefile:398: src] Error 2


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:

% cc -V
cc: Studio 12.6 Sun C 5.15 SunOS_i386 2017/05/30

% rm -rf emacs-25.2; (gzcat emacs-25.2.tar.gz | tar xfp -; cd emacs-25.2; ./configure --with-gif=no; make)
    :
Dumping under the name emacs
make[1]: *** [Makefile:737: bootstrap-emacs] Segmentation Fault (core dumped)
make[1]: Leaving directory '/tmp/emacs-25.2/src'
make: *** [Makefile:398: src] Error 2
% pstack /tmp/emacs-25.2/src/core > /tmp/aaa.txt

% rm -rf emacs-25.2; (gzcat emacs-25.2.tar.gz | tar xfp -; cd emacs-25.2; ./configure --with-gif=no; make)
    :
Dumping under the name emacs
make[1]: *** [Makefile:737: bootstrap-emacs] Segmentation Fault (core dumped)
make[1]: Leaving directory '/tmp/emacs-25.2/src'
make: *** [Makefile:398: src] Error 2
% pstack /tmp/emacs-25.2/src/core > /tmp/bbb.txt

% rm -rf emacs-25.2; (gzcat emacs-25.2.tar.gz | tar xfp -; cd emacs-25.2; ./configure --with-gif=no CFLAGS='-g'; make)
    :
Dumping under the name emacs
make[1]: *** [Makefile:737: bootstrap-emacs] Segmentation Fault (core dumped)
make[1]: Leaving directory '/tmp/emacs-25.2/src'
make: *** [Makefile:398: src] Error 2
% pstack /tmp/emacs-25.2/src/core > /tmp/ccc.txt

% rm -rf emacs-25.2; (gzcat emacs-25.3.tar.gz | tar xfp -; cd emacs-25.3; ./configure --with-gif=no; make)
    :
Dumping under the name emacs
make[1]: *** [Makefile:737: bootstrap-emacs] Segmentation Fault (core dumped)
make[1]: Leaving directory '/tmp/emacs-25.3/src'
make: *** [Makefile:398: src] Error 2
% pstack /tmp/emacs-25.3/src/core > /tmp/ddd.txt

% 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
 08215aa2 Fdump_emacs (8bd1b5c, 8bd19ec, 2, 82f1646) + 1c2
 082f20b3 eval_sub (8683cab, 0, 8046d68, 8216d34) + e13
 082ec2ce Fprogn   (8683c93, 8046dbc, 8046fc8, 82f1646) + 4e
 082f177b eval_sub (863827b, 8046f00, 8047008, 8216d34) + 4db
 082ec0f4 Fif      (8638293, 804705c, 8047268, 82f1646) + 74
 082f177b eval_sub (863ab4b, 0, 80473b8, 8330595) + 4db
 08330b2c readevalloop (2ca0, 8621340, 8649a74, 0, 0, 0) + a6c
 0832ea7d Fload    (86499f4, 0, 0, 0, 0, 804772c) + f9d
 082f219f eval_sub (8639b8b, 0, 8047998, 82f102b) + eff
 082f10c1 Feval    (8639b8b, 0, 865f358, 865f358) + a1
 082219e9 top_level_2 (86248b0, 0, feda0868, 865f358, 809bba0, feffb104) + 29
 082ef064 internal_condition_case (82219c0, 2208, 8221320, 888) + 64
 08221a6c top_level_1 (0, 0, 8047a68, 8216fdb) + 4c
 082ee6a1 internal_catch (5550, 8221a20, 0, 8216fdb) + 41
 082218a1 command_loop (84010c0, 8047d50, 1, 0, 8639b8b, 83f6691) + e1
 08220d46 recursive_edit_1 (86226a8, 39d8, 0, 82bbffc, 0, 8639b83) + 106
 08220fb4 Frecursive_edit (ffffffff, fee70b30, ffffffff, 1a, fffffffd, ffffffff) + 154
 0821502b main     (5, 8047ce0, 8047cf8) + 10eb
 0809ecb2 _start   (5, 8047db8, 8047dc1, 8047dc9, 8047dd0, 8047dd7) + 72

% diff /tmp/aaa.txt /tmp/bbb.txt
1c1
< core '/tmp/emacs-25.2/src/core' of 24956:     ./temacs --batch --load loadup bootstrap
---
> core '/tmp/emacs-25.2/src/core' of 27945:     ./temacs --batch --load loadup bootstrap

% diff /tmp/aaa.txt /tmp/ccc.txt
1c1
< core '/tmp/emacs-25.2/src/core' of 24956:     ./temacs --batch --load loadup bootstrap
---
> core '/tmp/emacs-25.2/src/core' of 17527:     ./temacs --batch --load loadup bootstrap
20c20
<  082218a1 command_loop (84010c0, 8047d50, 1, 0, 8639b8b, 83f6691) + e1
---
>  082218a1 command_loop (84010d0, 8047d50, 1, 0, 8639b8b, 83f66a1) + e1

% diff /tmp/aaa.txt /tmp/ddd.txt
1,6c1,6
< 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
<  08215aa2 Fdump_emacs (8bd1b5c, 8bd19ec, 2, 82f1646) + 1c2
---
> core '/tmp/emacs-25.3/src/core' of 10679:     ./temacs --batch --load loadup bootstrap
>  fe5a17ea rt_dldump (feffdd88, 8c0b180, 1000, 0) + 7a6
>  fefd9fe9 dldump_core (feffb28c, 0, 8c0b180, 1000) + 175
>  fefda036 dldump   (0, 8c0b180, 1000, 8bd1a90) + 42
>  0834b719 unexec   (8c0b180, 8c0b1b4, 8046ac8, 8215a4d) + 19
>  08215aa2 Fdump_emacs (8bd1a94, 8bd1904, 2, 82f1646) + 1c2

2017/09/14 0:26、Paul Eggert <eggert@cs.ucla.edu>のメール:

Do you have the same problem when you build it for a 64-bit executable? Try './configure --with-gif=no CFLAGS="-m64 -g3"'.  If that doesn't work, try adding -O to CFLAGS.


reply via email to

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