From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: michal panoch Newsgroups: gmane.emacs.bugs Subject: bug#45515: 28.0.50; [feature/native-comp] emacsGcc crash on Apple Silicon M1 Date: Mon, 28 Dec 2020 21:57:44 +0100 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40681"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mp@maya.cz To: 45515@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 28 22:38:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ku0DU-000AQZ-2o for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Dec 2020 22:38:12 +0100 Original-Received: from localhost ([::1]:38416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ku0DS-0005Xd-Jh for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Dec 2020 16:38:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ku0DL-0005XR-JS for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 16:38:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53790) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ku0DJ-0007JW-TV for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 16:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ku0DJ-0007Rl-Qw for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 16:38:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: michal panoch Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Dec 2020 21:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45515 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160919147428609 (code B ref -1); Mon, 28 Dec 2020 21:38:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Dec 2020 21:37:54 +0000 Original-Received: from localhost ([127.0.0.1]:37103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ku0DB-0007RM-6E for submit@debbugs.gnu.org; Mon, 28 Dec 2020 16:37:54 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:44184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktzae-0006Nn-JO for submit@debbugs.gnu.org; Mon, 28 Dec 2020 15:58:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktzae-0003e8-B2 for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 15:58:04 -0500 Original-Received: from ms1.panoch.net ([89.22.65.5]:56975) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1ktzab-0001z6-7Q for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 15:58:03 -0500 Original-Received: from [192.168.1.108] (unknown [10.19.249.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ms1.panoch.net (Postfix) with ESMTP id 908A45903D9E3; Mon, 28 Dec 2020 21:57:46 +0100 (CET) X-Mailer: Apple Mail (2.3654.40.0.2.32) Received-SPF: pass client-ip=89.22.65.5; envelope-from=michal@panoch.net; helo=ms1.panoch.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 28 Dec 2020 16:37:52 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196898 Archived-At: hi, i'm on the new Apple Silicon M1 architecture and using nix emacs-overlay = - https://github.com/nix-community/emacs-overlay/ like this: ~/.config/nixpkgs/overlays/emacs.nix import (builtins.fetchTarball { url =3D = https://github.com/nix-community/emacs-overlay/archive/master.tar.gz; }) install whith: $ nix-env -iA nixpkgs.emacsGcc it compiles no problem. it runs and bytecompiles everything no problem, = but after a while it crashes with: Assertion failed: (mach_vm_map(mach_task_self(), &address, size, 0, = VM_FLAGS_ANYWHERE | VM_MAKE_TAG(VM_MEMORY_COREGRAPHICS_BACKINGSTORES), = port, 0, false, prot, prot, VM_INHERIT_SHARE) =3D=3D KERN_SUCCESS), = function backing_map, file = /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/SkyLight/Sky= Light-569.6/SkyLight/Services/Windows/CGSBackingStore.c, line 192. Fatal = error 6: Aborted [1] 2319 abort emacs --fg-daemon any idea how to investigate? uname -a: Darwin mpm.local 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec 2 = 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101 arm64 In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin20.2.0, NS = appkit-2022.20 Version 10.16 (Build 20C69)) Repository revision: 87f6e937995c433825173fb0473a801791d5beac Repository branch: master Windowing system distributor 'Apple', version 10.3.2022 System Description: macOS 11.1 Configured using: 'configure = --prefix=3D/nix/store/9rsfjqclzwgsh63szkdb6mn2572pv9zi-emacs-gcc-20201217.= 0 --disable-build-details --with-modules --with-ns --disable-ns-self-contained --with-nativecomp CFLAGS=3D-DMAC_OS_X_VERSION_MAX_ALLOWED=3D101200' Configured features: JPEG TIFF PNG RSVG GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES NATIVE_COMP THREADS JSON PDUMPER Important settings: value of $LC_CTYPE: UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source eieio eieio-core eieio-loaddefs password-cache json map text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils comp comp-cstr warnings subr-x rx cl-extra help-mode easymenu seq cl-seq byte-opt cl-macs gv jka-compr cl-loaddefs cl-lib bytecomp byte-compile cconv iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face pcase macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue cocoa ns multi-tty make-network-process nativecomp emacs) Memory information: ((conses 16 85548 8869) (symbols 48 7929 1) (strings 32 23659 2908) (string-bytes 1 870425) (vectors 16 15702) (vector-slots 8 305764 19876) (floats 8 31 37) (intervals 56 198 0) (buffers 984 11))