all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Error after dump complete when compile on Windows 10
Date: Thu, 31 Jan 2019 19:05:15 +0200	[thread overview]
Message-ID: <83imy4zrjo.fsf@gnu.org> (raw)
In-Reply-To: <tencent_559769011D19BFE379DF7A09674E96207006@qq.com> (shuguang79@qq.com)

[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" <shuguang79@qq.com>
> 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?



      reply	other threads:[~2019-01-31 17:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-31 16:23 Error after dump complete when compile on Windows 10 Shuguang Sun
2019-01-31 17:05 ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83imy4zrjo.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.