From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?=E7=99=BD=E4=BA=95=E5=BD=B0?= Newsgroups: gmane.emacs.bugs Subject: bug#26638: 25.2; Fatal error 6: Abortmake[1]: *** [Makefile:737: bootstrap-emacs] Abort (core dumped) Date: Wed, 26 Apr 2017 00:50:21 +0900 Message-ID: <18198414-5ED9-4B88-B941-A4D95A1BE54B@gmail.com> References: <59a9c203-815c-2336-d65a-463ac1316f97@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1493135478 32029 195.159.176.226 (25 Apr 2017 15:51:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 25 Apr 2017 15:51:18 +0000 (UTC) Cc: Akira Shirai , 26638@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 25 17:51:13 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d32kB-00087b-8J for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Apr 2017 17:51:11 +0200 Original-Received: from localhost ([::1]:50046 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d32kH-00012w-19 for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Apr 2017 11:51:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56754) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d32k5-00010C-JO for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 11:51:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d32k2-00080z-8g for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 11:51:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41748) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d32k2-00080o-42 for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 11:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d32k1-0001Xz-RQ for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 11:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E7=99=BD=E4=BA=95=E5=BD=B0?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Apr 2017 15:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26638 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26638-submit@debbugs.gnu.org id=B26638.14931354355909 (code B ref 26638); Tue, 25 Apr 2017 15:51:01 +0000 Original-Received: (at 26638) by debbugs.gnu.org; 25 Apr 2017 15:50:35 +0000 Original-Received: from localhost ([127.0.0.1]:39947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d32ja-0001XF-LM for submit@debbugs.gnu.org; Tue, 25 Apr 2017 11:50:34 -0400 Original-Received: from mail-pg0-f51.google.com ([74.125.83.51]:34852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d32jY-0001X0-VV for 26638@debbugs.gnu.org; Tue, 25 Apr 2017 11:50:33 -0400 Original-Received: by mail-pg0-f51.google.com with SMTP id 72so30445481pge.2 for <26638@debbugs.gnu.org>; Tue, 25 Apr 2017 08:50:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=f/6wo1gR+eb0b9WPhYmFC0vtuVPZhgX2NcJw6vm10J4=; b=vAswEm6tEyqBpWihqV/kQast5wmszp+GXTjAT+47sYMJdYj3cdgTYX0A6Vw/E3Rtkg LFFtTCSmNJ51G+LTXV4LRfhCpfPpIXuaz5x48usjtKSLHZDHYWo0JROB9lPUtV8fOXua mVFnUEDPD/JrNXXf+ulof+HGm8pBBkJBwV+jq9q03wYEMmg68KNIaq4UZW0l0Bqa3m6U +Rm2M9dWIhIBywTgZR4Zr4VWdFZ0RXc2xdepSitDKsyzaZUin7NGFRTI5+UJYmv+s48m yeCpbxLiya9lse8VjGHmkXScfv5VBTx95vkRngZ/HDzrZ+5J9g71OmNAoGLYijkvf/dB 9lRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=f/6wo1gR+eb0b9WPhYmFC0vtuVPZhgX2NcJw6vm10J4=; b=CxntgJHuFtAZZRNrK7BUMj1vu9BEFYrFapwjEe7HxayI8PP83/Ty++fNExCks1zfea jGrfzkRhhimkygIql0mwLJNUnPaSdtiaerCIwW4EoJ6tAFw9KfevBH3O96yazW/9Muj8 gJLw0j5almbuv+1BjPCH961JXmgpSGRX9X96eo+lEuia+H0ZrF5Fs6Fay5m0UQIMFFLG tZfeok8gmi4g6A6PEqZdAV1o5KKn79l522wzYrvCvpj/yKuIVYrQs6HzT8TZqUN3vUv5 RKqNSdmlc4QcIuX5lHhGMbC7rMQq5Lv4cRgVLzn0l9euwC6lbySyj7ZJVmJP6xNXok6i jhhQ== X-Gm-Message-State: AN3rC/4MW6EUg3VpbuC/phWRT3aWKsFukJ/hIaNm8SC3/MY9Odd/wtLx VN/e8lSV8mOqwA== X-Received: by 10.98.153.216 with SMTP id t85mr29653893pfk.178.1493135426737; Tue, 25 Apr 2017 08:50:26 -0700 (PDT) Original-Received: from [172.20.10.3] (pw126245009063.16.panda-world.ne.jp. [126.245.9.63]) by smtp.gmail.com with ESMTPSA id k198sm28765502pga.54.2017.04.25.08.50.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Apr 2017 08:50:25 -0700 (PDT) In-Reply-To: <59a9c203-815c-2336-d65a-463ac1316f97@cs.ucla.edu> X-Mailer: Apple Mail (2.3273) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:131964 Archived-At: Thanks for reading the report. > If you run 'make' again, on the directory where 'make' failed, does = 'make' work the second time? 'make' does not work the second time: % gzcat emacs-25.2.tar.gz | tar xfp -; cd emacs-25.2; ./configure = --with-gif=3Dno; make; make checking for xcrun... no : ./temacs --batch --load loadup bootstrap Fatal error 6: Abortmake[1]: *** [Makefile:737: bootstrap-emacs] Abort = (core dumped) make[1]: Leaving directory '/tmp/emacs-25.2/src' make: *** [Makefile:398: src] Error 2 make -C lib all : ./temacs --batch --load loadup bootstrap Fatal error 6: Abortmake[1]: *** [Makefile:737: bootstrap-emacs] Abort = (core dumped) make[1]: Leaving directory '/tmp/emacs-25.2/src' make: *** [Makefile:398: src] Error 2 > Can you reproduce the problem easily? Yes, I can reproduce the problem every time: % gzcat emacs-25.2.tar.gz | tar xfp -; cd emacs-25.2; ./configure = --with-gif=3Dno; make checking for xcrun... no : ./temacs --batch --load loadup bootstrap Fatal error 6: Abortmake[1]: *** [Makefile:737: bootstrap-emacs] Abort = (core dumped) make[1]: Leaving directory '/tmp/emacs-25.2/src' make: *** [Makefile:398: src] Error 2 % cd ..; rm -rf emacs-25.2 % gzcat emacs-25.2.tar.gz | tar xfp -; cd emacs-25.2; ./configure = --with-gif=3Dno; make checking for xcrun... no : ./temacs --batch --load loadup bootstrap Fatal error 6: Abortmake[1]: *** [Makefile:737: bootstrap-emacs] Abort = (core dumped) make[1]: Leaving directory '/tmp/emacs-25.2/src' make: *** [Makefile:398: src] Error 2 > Can you reproduce it with CFLAGS=3D'-g' instead of '-g -O'? No, I cannot reproduce it with CFLAGS=3D'-g': % gzcat emacs-25.2.tar.gz | tar xfp -; cd emacs-25.2; ./configure = --with-gif=3Dno CFLAGS=3D'-g'; make checking for xcrun... no : checking for cc -D_STDC_C99=3D option to disable position independent = executables... no Configured for 'i386-pc-solaris2.10'. Where should the build process find the source code? . What compiler should emacs be built with? cc = -D_STDC_C99=3D -g : Does Emacs support Xwidgets (requires gtk3)? no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating ./doc/man/emacs.1 : config.status: executing etc-refcards-emacsver.tex commands make -C lib all make[1]: Entering directory '/tmp/emacs-25.2/lib' GEN byteswap.h : make[2]: Leaving directory '/tmp/emacs-25.2/lisp' ./temacs --batch --load loadup bootstrap Loading loadup.el (source)... Using load-path (/tmp/emacs-25.2/lisp /tmp/emacs-25.2/lisp/emacs-lisp = /tmp/emacs-25.2/lisp/language /tmp/emacs-25.2/lisp/international = /tmp/emacs-25.2/lisp/textmodes /tmp/emacs-25.2/lisp/vc) Loading emacs-lisp/byte-run... : Loading /tmp/emacs-25.2/lisp/leim/leim-list.el (source)... Finding pointers to doc strings... Finding pointers to doc strings...done Dumping under the name emacs 44539 pure bytes used mv -f emacs bootstrap-emacs make -C ../lisp compile-first EMACS=3D"../src/bootstrap-emacs" : LC_ALL=3DC ./temacs -batch -l loadup dump Loading loadup.el (source)... Using load-path (/tmp/emacs-25.2/lisp) Loading emacs-lisp/byte-run... : Loading leim/leim-list.el (source)... Finding pointers to doc strings... Finding pointers to doc strings...done Pure-hashed: 24148 strings, 3793 vectors, 38652 conses, 3700 bytecodes, = 102 others Dumping under the name emacs 1782190 pure bytes used Adding name emacs-25.2.1 ln -f emacs bootstrap-emacs make[1]: Leaving directory '/tmp/emacs-25.2/src' make -C lisp all : make[1]: Leaving directory '/tmp/emacs-25.2' % > Can you give us a debugging backtrace with dbx and/or GDB, preferably = without -O? The debugging backtrace with pstack and GDB, with -O: % pstack /tmp/emacs-25.2/src/core core '/tmp/emacs-25.2/src/core' of 20343: ./temacs --batch --load = loadup bootstrap fe6dab25 _lwp_kill (1, 6) + 15 fe681ee3 raise (6) + 1f 081c888a terminate_due_to_signal (6, 28, 80470b8, 8294416) + a2 081f5167 emacs_abort (3240, 0, 80470e8, 81d13f5, 3240, 5298) + f 082945c8 specbind (3240, 5298, 80470e8, 81d13cd) + 1cc 081d13f5 safe_run_hooks (1cdc8) + 35 08228707 Fdo_auto_save (5298, 0, 5, 81ca48e) + c7 081ca52b shut_down_emacs (6) + eb 081c884a terminate_due_to_signal (6, 28, 8047228, 826e05d) + 62 081f5167 emacs_abort (83be594, 85cd64d, 8047228, 0, 85bbd68, 0) + f 0826e36e set_internal (1cdb0, 85d454b, 0, 0) + 3b6 0826dfa4 Fset (1cdb0, 85d454b, 2, 82cbecb) + 20 081efb4a syms_of_keymap (feffb818, 0, 1, feffdd68, 1, 0) + ae 081c957f main (5, 8047340, 8047358, feffb818) + 69f 0809b12d _start (5, 8047474, 804747d, 8047485, 804748c, 8047493) + 7d % gdb /tmp/emacs-25.2/src/temacs /tmp/emacs-25.2/src/core GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. : Loaded symbols for /lib/ld.so.1 Core was generated by `./temacs --batch --load loadup bootstrap'. Program terminated with signal 6, Aborted. #0 0xfe6dab25 in _lwp_kill () from /usr/lib/libc.so.1 Die: DW_TAG_restrict_type (abbrev =3D 52, offset =3D 2004061) has children: FALSE attributes: DW_AT_type (DW_FORM_ref4) constant ref: 2004056 = (adjusted) /tmp/emacs-25.2/src/.gdbinit:19: Error in sourced command file: Dwarf Error: Cannot find type of die [in module = /tmp/emacs-25.2/src/temacs] (gdb) backtrace #0 0xfe6dab25 in _lwp_kill () from /usr/lib/libc.so.1 #1 0xfe6d599f in thr_kill () from /usr/lib/libc.so.1 #2 0xfe681ee3 in raise () from /usr/lib/libc.so.1 Die: DW_TAG_restrict_type (abbrev =3D 52, offset =3D 2004061) has children: FALSE attributes: DW_AT_type (DW_FORM_ref4) constant ref: 2004056 = (adjusted) Dwarf Error: Cannot find type of die [in module = /tmp/emacs-25.2/src/temacs] (gdb) quit % > Also, would you please let us know the following information? > * The output of 'cc -V', 'uname -a', 'ulimit -a'. > * The values of CC and CFLAGS in src/Makefile. Please see the following information: % cc -V cc: Sun C 5.9 SunOS_i386 Patch 124868-01 2007/07/12 usage: cc [ options] files. Use 'cc -flags' for details % uname -a SunOS tokyo 5.10 Generic_141445-09 i86pc i386 i86pc % ulimit -a time(seconds) unlimited file(blocks) unlimited data(kbytes) unlimited stack(kbytes) 10240 coredump(blocks) unlimited nofiles(descriptors) 1024 vmemory(kbytes) unlimited % gzcat emacs-25.2.tar.gz | tar xfp -; cd emacs-25.2; ./configure = --with-gif=3Dno % egrep '^CC =3D|^CFLAGS =3D' /tmp/emacs-25.2/src/Makefile CC =3D cc -D_STDC_C99=3D CFLAGS =3D -g -O % cd ..; rm -rf emacs-25.2 % gzcat emacs-25.2.tar.gz | tar xfp -; cd emacs-25.2; ./configure = --with-gif=3Dno CFLAGS=3D'-g' % egrep '^CC =3D|^CFLAGS =3D' /tmp/emacs-25.2/src/Makefile CC =3D cc -D_STDC_C99=3D CFLAGS =3D -g Thanks.