GNU bug report logs - #52455
28.0.90; on macOS High Sierra, Version 10.13.6, and macOS Monterey, Version 12.0.1, unexec fails

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Peter Dyballa <Peter_Dyballa@HIDDEN>; merged with #52381, #52382; dated Sun, 12 Dec 2021 18:35:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Merged 52381 52382 52455. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Dec 2021 18:34:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 12 13:34:35 2021
Received: from localhost ([127.0.0.1]:53088 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mwTgB-0003lf-9d
	for submit <at> debbugs.gnu.org; Sun, 12 Dec 2021 13:34:35 -0500
Received: from lists.gnu.org ([209.51.188.17]:50508)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Peter_Dyballa@HIDDEN>) id 1mwTgA-0003lY-0O
 for submit <at> debbugs.gnu.org; Sun, 12 Dec 2021 13:34:34 -0500
Received: from eggs.gnu.org ([209.51.188.92]:57340)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Peter_Dyballa@HIDDEN>)
 id 1mwTg9-0004Dn-O6
 for bug-gnu-emacs@HIDDEN; Sun, 12 Dec 2021 13:34:33 -0500
Received: from mout.web.de ([212.227.17.11]:49473)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Peter_Dyballa@HIDDEN>)
 id 1mwTg7-0000sE-TT
 for bug-gnu-emacs@HIDDEN; Sun, 12 Dec 2021 13:34:33 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1639334068;
 bh=sIzhvGpppR9ko4NO4lPqRojQkZSYSQ7PHRpulVucejg=;
 h=X-UI-Sender-Class:From:Subject:Date:To;
 b=Dpaa6rF0wXqdvXKkB1ArnZ7ZDTReuS/bGzHUe/sORfoCO+yvooToTPwizfZ8+i9+S
 hl/8jnhXg3ERGG+7/WHVISCuu8dXi+LYoRZRPg6rBCPJsaNwKryaE5RyxhYD7kjuWW
 wQiLtrI5+KJBQF+vbOmONJevipFcqX1tANQ2aIP8=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from smtpclient.apple ([176.199.137.124]) by smtp.web.de (mrweb106
 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MBjMM-1mopEO1tgi-00CF0p for
 <bug-gnu-emacs@HIDDEN>; Sun, 12 Dec 2021 19:34:28 +0100
From: Peter Dyballa <Peter_Dyballa@HIDDEN>
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\))
Subject: 28.0.90; on macOS High Sierra, Version 10.13.6, and macOS Monterey,
 Version 12.0.1, unexec fails
Message-Id: <F2C7FF2E-646B-4B12-87E3-8D00DFEA1872@HIDDEN>
Date: Sun, 12 Dec 2021 19:34:27 +0100
To: bug-gnu-emacs@HIDDEN
X-Mailer: Apple Mail (2.3693.20.0.1.32)
X-Provags-ID: V03:K1:RFlpDXC2QtWWU8q6paLurIboaQqoDe7wumxYlZKNNQSwzkKGkl+
 pdVxpVtpBW/CqjrqztyjlkqVahrddYTFYoqeQfGQ4WEpp14rmIsaIf5ANbQruUUwYpXETFk
 s4eVFbB50J+IRC8LAfHt9aJeRjEZo7cIKdY2ykVMEGKBjR7GQatuYcYSMDDCsP2N/uDhU7v
 swcdn3fOQ/CzqrMbHz2Cw==
X-Spam-Flag: NO
X-UI-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O37EYaNhjlAA1Wz4G2/aF7
 SN4kIKEw8u+Y3y+W+CBfk4Bvica7BkbpMhQSr9Uu6OtAh6Z4hhBqOcyZwB8wOY9dSyPui51JF
 XWE3IOvhRYERpE=
Received-SPF: pass client-ip=212.227.17.11; envelope-from=Peter_Dyballa@HIDDEN;
 helo=mout.web.de
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

Hello!

Configuring GNU Emacs 28.0.90 on both Macs =C3=A0 la

	env LANG=3DC =
PATH=3D/usr/bin:/opt/local/bin:/bin:/usr/local/texlive/2021/bin/universal-=
darwin:/usr/local/gnupg-2.2/bin:/usr/local/bin:/sbin:/usr/sbin:/opt/local/=
sbin:/usr/local/sbin:/opt/local/Library/Frameworks/Python.framework/Versio=
ns/3.8/bin:/opt/X11/bin ./configure --without-libsystemd --without-pop =
--without-sound --without-gpm --without-dbus --without-selinux =
--without-imagemagick --without-ns --with-x --with-dumping=3Dunexec =
--disable-ns-self-contained --with-x-toolkit=3Dathena =
--x-libraries=3D/opt/X11/lib --x-includes=3D/opt/local/include =
--enable-locallisppath=3D/Library/Application\ =
Support/Emacs/calendar28:/Library/Application\ Support/Emacs =
--with-file-notification=3Dyes CPPFLAGS=3D-I/opt/local/include =
CFLAGS=3D"-g -H -pipe -fPIC -fno-common -Os -arch x86_64 =
-fomit-frame-pointer" LDFLAGS=3D"-v -arch x86_64 -Wl,-bind_at_load =
-Wl,-t -L /opt/local/lib" =
PKG_CONFIG_PATH=3D/opt/local/libexec/openssl3/lib/pkgconfig:/opt/local/lib=
/pkgconfig:/opt/local/share/pkgconfig:/opt/X11/lib/pkgconfig:/usr/local/li=
b/pkgconfig:/usr/lib/pkgconfig CC=3Dclang CXX=3Dclang++

or

	env LANG=3DC =
PATH=3D/usr/bin:/opt/local/bin:/bin:/usr/local/texlive/2021/bin/universal-=
darwin:/usr/local/gnupg-2.2/bin:/usr/local/bin:/sbin:/usr/sbin:/opt/local/=
sbin:/usr/local/sbin:/opt/local/Library/Frameworks/Python.framework/Versio=
ns/3.8/bin:/opt/X11/bin ./configure --without-libsystemd --without-pop =
--without-sound --without-gpm --without-dbus --without-selinux =
--without-imagemagick --with-ns --with-dumping=3Dunexec =
--disable-ns-self-contained --with-x-toolkit=3Dathena =
--x-libraries=3D/opt/X11/lib --x-includes=3D/opt/local/include =
--enable-locallisppath=3D/Library/Application\ =
Support/Emacs/calendar28:/Library/Application\ Support/Emacs =
--with-file-notification=3Dyes CPPFLAGS=3D-I/opt/local/include =
CFLAGS=3D"-g -H -pipe -fPIC -fno-common -Os -arch x86_64 =
-fomit-frame-pointer" LDFLAGS=3D"-v -arch x86_64 -Wl,-bind_at_load =
-Wl,-t -L /opt/local/lib" =
PKG_CONFIG_PATH=3D/usr/lib/pkgconfig:/opt/local/libexec/openssl3/lib/pkgco=
nfig:/opt/local/lib/pkgconfig:/opt/local/share/pkgconfig:/opt/X11/lib/pkgc=
onfig CC=3Dclang CXX=3Dclang++

and setting CC or CXX also as gcc/g++ and rearranging PATH that =
Apple's/Xcode's Clang compiler is used, all compilations finish in a =
temacs crash =C3=A0 la:

	./temacs --batch  -l loadup --temacs=3Dbootstrap
	Loading loadup.el (source)...
	Dump mode: bootstrap
	Using load-path =
(/Users/pete/Quellen/Emacs_CVS/emacs-28.0.90/lisp =
/Users/pete/Quellen/Emacs_CVS/emacs-28.0.90/lisp/emacs-lisp =
/Users/pete/Quellen/Emacs_CVS/emacs-28.0.90/lisp/progmodes =
/Users/pete/Quellen/Emacs_CVS/emacs-28.0.90/lisp/language =
/Users/pete/Quellen/Emacs_CVS/emacs-28.0.90/lisp/international =
/Users/pete/Quellen/Emacs_CVS/emacs-28.0.90/lisp/textmodes =
/Users/pete/Quellen/Emacs_CVS/emacs-28.0.90/lisp/vc)
	Loading emacs-lisp/byte-run...
	Loading emacs-lisp/backquote...
	Loading subr...
	Loading version...
	Loading widget...
	Loading custom...
	Loading emacs-lisp/map-ynp...
	Loading international/mule...
	Loading international/mule-conf...
	temacs(39512,0x10fc71600) malloc: Non-aligned pointer =
0x1078175f8 being freed
	temacs(39512,0x10fc71600) malloc: *** set a breakpoint in =
malloc_error_break to debug
	gmake[1]: *** [Makefile:852: bootstrap-emacs] Abort trap: 6

On macOS Monterey only Apple's/Xcode Clang 13 is available (GCC10 and =
GCC11 are not yet prepared), on macOS High Sierra MacPorts compiled =
GCC9, GCC10 and GCC11 as well as Clang 11 and 13 + Apple's/Xcode's Clang =
10 are available. All these compilers fail building src/emacs when =
configured --with-dumping=3Dunexec =E2=80=93 and I need to different =
methods of dumping when I want to used X11 version and the NS variant =
with --disable-ns-self-contained.

Retrying with LDFLAGS=3D"-v -arch x86_64 -Wl,-t -L /opt/local/lib" makes =
no difference.

--
Greetings

  Pete

Remember, "Advance too fast, you catch up with death. But advance too =
slow, death catches up with *you*."





Acknowledgement sent to Peter Dyballa <Peter_Dyballa@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#52455; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Dec 2021 19:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.