From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Error after dump complete when compile on Windows 10 Date: Thu, 31 Jan 2019 19:05:15 +0200 Message-ID: <83imy4zrjo.fsf@gnu.org> References: Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="195743"; mail-complaints-to="usenet@blaine.gmane.org" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 31 18:06:59 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gpFnm-000ohY-Rb for geh-help-gnu-emacs@m.gmane.org; Thu, 31 Jan 2019 18:06:58 +0100 Original-Received: from localhost ([127.0.0.1]:57732 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpFnl-0002VA-Rk for geh-help-gnu-emacs@m.gmane.org; Thu, 31 Jan 2019 12:06:57 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpFmD-0001l2-Ez for help-gnu-emacs@gnu.org; Thu, 31 Jan 2019 12:05:22 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35075) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpFmD-0004KM-0H for help-gnu-emacs@gnu.org; Thu, 31 Jan 2019 12:05:21 -0500 Original-Received: from [176.228.60.248] (port=1850 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gpFmC-0001rS-9U for help-gnu-emacs@gnu.org; Thu, 31 Jan 2019 12:05:20 -0500 In-reply-to: (shuguang79@qq.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:119183 Archived-At: [This is not the right place to report build problems and crashes, certainly not in the development version. Please submit a bug report with all the details instead, using "M-x report-emacs-bug".] > From: "Shuguang Sun" > Date: Fri, 1 Feb 2019 00:23:18 +0800 > Feedback-ID: webmail:qq.com:bgweb:bgweb115 > > I'm try to build emacs on Windows 10 using msys2/mingw64, and git emacs source. However, it raises error after dump complete. Does any one compile it successfully on Windows 10? I see no reason why Windows 10 would be special. > With configure: > PKG_CONFIG_PATH=/mingw64/lib/pkgconfig ./configure --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 Why do you specify host, target, and build explicitly? Also, when did you last check out from Git? And what are your GCC and Binutils versions? > Dump complete > Byte counts: header=80 hot=13293288 discardable=127776 cold=9178020 > Reloc counts: hot=920625 discardable=4848 > make -C ../lisp compile-first EMACS="../src/bootstrap-emacs.exe" > make[2]: Entering directory '/c/Users/username/gitemacs/emacs/lisp' > ELC emacs-lisp/macroexp.elc > ELC emacs-lisp/cconv.elc > ELC emacs-lisp/byte-opt.elc > /bin/sh: line 1: 195564 Segmentation fault EMACSLOADPATH= '../src/bootstrap-emacs.exe' -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile emacs-lisp/cconv.el > make[2]: *** [Makefile:301: emacs-lisp/cconv.elc] Error 139 What happens if you configure with --with-dumping=unexec option, does it succeed to build then?