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; Severity: minor; Reported by: Peter Dyballa <Peter_Dyballa@HIDDEN>; Keywords: wontfix; merged with #52381, #52382; Done: Stefan Kangas <stefankangas@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug closed, send any further explanations to 52455 <at> debbugs.gnu.org and Peter Dyballa <Peter_Dyballa@HIDDEN> Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Added tag(s) wontfix. Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 52455) by debbugs.gnu.org; 25 Jul 2024 13:50:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 25 09:50:34 2024
Received: from localhost ([127.0.0.1]:35830 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sWyra-0001NA-E4
	for submit <at> debbugs.gnu.org; Thu, 25 Jul 2024 09:50:34 -0400
Received: from mail-ed1-f43.google.com ([209.85.208.43]:53586)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>)
 id 1sWyrY-0001Mb-97; Thu, 25 Jul 2024 09:50:33 -0400
Received: by mail-ed1-f43.google.com with SMTP id
 4fb4d7f45d1cf-5a15c2dc569so635780a12.3; 
 Thu, 25 Jul 2024 06:50:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1721915359; x=1722520159; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=6ZbJc89gkL7hqneSe1et4lBVp5g4TnxLib0lgNIgPMk=;
 b=DLFm7yqR3/pk9esm35JxXheBnV+vVMEUkf4eOakQZZy9DZaPyS1pY5jHlVsrGjbEfR
 sCrvX9fUHykSeVxnl2yJVHBIu/cNntYMF1KBvLcYqTBLuqgYXjZD4+vltGSJloAQ09zU
 1kqDOByP2UH0U8ySXPwINx021qAnjxzac93w1g5OEZLffPPNgJ0bxBfG3OlULY74xPzG
 7PuIv6IbQWAfSDBuUypf9VIhFBVoGOEZN+LeDH6CfI1M+DMDF71vTpQvTzI5T8G9J/NB
 F87GLPOI7dqI1GsQZAXtRaHhv0iAoTW+T5+XqYC2epv/2Lb0Z7A3Yk9HWfhmPVlu0nsj
 eHmw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1721915359; x=1722520159;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=6ZbJc89gkL7hqneSe1et4lBVp5g4TnxLib0lgNIgPMk=;
 b=PrfZCNUUyn/1mPfA5VCPrNUFt6LweXBc5uIUg8NP6ehDZxpQuQ+OSTH4Q7y7P6Rhxa
 GU1y0/wVgBK2kcT/p2zgck7cRKCY3fvq31+A87I0vq3zEedM9z+cmse6ipOOPp/pG1pW
 TpDlV3oos+KbQdmo1i7wlQj01+Spgey0MEIl01NKXgbxIjUUxkhJLNPyqbTaStBtebqI
 qGB3UjyjpXFJYrEGVU6LMgFwXr5lbrcm3pbnFcmhartqutsSRo+0jtQ2U+fswEGd6TEN
 xT45iXRPTZJ83lGcUwZNbY1g9X/l5el+4J8QIOt9q52qvxAOA/B2A8+RtCx/btBw+nnn
 6JHA==
X-Forwarded-Encrypted: i=1;
 AJvYcCX1AHa/mjvBcmjfp34zqvEXonhcB/DJPi+DyjV2/DA+69vGgYzz8WQF4o5iNPZ4MD0FV2QeYK55TstB44W59VsBvLkjf5gF/1RmzEE7U1QFvjGyW9QZqvjxC81hMA==
X-Gm-Message-State: AOJu0Yx/CafrolGHqaTHATT4T0gXs7KjVKvRQojO/avuvMD04/jsl9zU
 +6H/fdp/cO8DQ0Psl5j+U/TpaMmo0hUui/wNxT4l5OyqCP2URvmg+1u6BrwaKCJccWpNjLkr1qY
 9mc87eyiPbmPQ8MgN+SV+2GudJZI=
X-Google-Smtp-Source: AGHT+IHqNc16mfxQyka5nXWe+hcZRN89Eu0n8zOPfDivmZBK6zs3L0v7ztu9PS6REyPLaqFHq1hvsA5vtq2SA0CBCDM=
X-Received: by 2002:a05:6402:51cc:b0:5a1:4f76:1a1b with SMTP id
 4fb4d7f45d1cf-5ac62524be3mr2264749a12.15.1721915358826; Thu, 25 Jul 2024
 06:49:18 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Thu, 25 Jul 2024 06:49:18 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <83o85qusbi.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 09 Dec
 2021 09:54:09 +0200")
References: <27B53261-9336-47B2-90E8-53B03998A70A@HIDDEN>
 <83o85qusbi.fsf@HIDDEN>
MIME-Version: 1.0
Date: Thu, 25 Jul 2024 06:49:18 -0700
Message-ID: <CADwFkmkMPQHEUEeGEpL5aKzikqeaZVdx75sTHFYz8_BM3SOLoQ@HIDDEN>
Subject: Re: bug#52455: 28.0.90; on macOS High Sierra, Version 10.13.6, and
 macOS Monterey, Version 12.0.1, unexec fails
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 52455
Cc: Peter Dyballa <Peter_Dyballa@HIDDEN>, 52381 <at> debbugs.gnu.org,
 52455 <at> debbugs.gnu.org
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: -1.0 (-)

tags 52455 + wontfix
close 52455
thanks

Eli Zaretskii <eliz@HIDDEN> writes:

> In general, it is not recommended to use the unexec build as a
> starting point for any important developments, because we will remove
> the unexec support in some future version of Emacs.

Unexec build is even less relevant today than when the above was written
(in 2021).  The recommendation here is to use pdumper.

I'm therefore closing this bug report as wontfix.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#52455; Package emacs. Full text available.
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-Out-Filterresults: notjunk:1;V03:K0:mft717s/0F0=:QF+M+3DYHPmhCaDYx8qzU/
 3nvl/yY3tlcKgET8SgKkv5yra3HJoXbKHb4QeDhp768Iyg8ADmnMYzINZfVuKC/Rx6Hf70q55
 RRBTHXS+IyffO1PvRO4ffpsblkD8/yz82Ad9+5uUTLZ1N5r0mPosZ6DiHtmn3l4ONk/xXyAM+
 I8FbaMTatTV/I1nfJaBn/dqGQaiP5qeGceCZM4/v7aqInK2ys6A9ltgAm1jUSSNYPKX0UCZMH
 GOOX16F0bpGKnno4XD3utq3bvORmvVU1+a8x3FcQ+g4qWtkvJtNVzgtw8agQYJTSBFheUBXK8
 p2p1OvjbgYVB1cGEkS2FY/00kHj2/6RifI2/4zoQfpwH9wl4JxMmEqgOtOpkGXYjrCPu+1q9B
 qYAxXWQYmxc00amrhiNvq2nj0x15jALdiNO9VaRAet+uj+R9zdHLwaua5cXq57freggI0aKhi
 wgqNyGHQ2b4YcdTfzBk0eFDXGNam7F4O37jCT/UNt7Yr3cx5xIC2T4gSsJrJta4NCeInWacrd
 POVoI8rYDLhY6TsB6igLkorfkHt66rP1ncuwUjytncQksiGXF6TeYdgUDpzVx9CEsKGs0obS6
 ZY7liMxMhdrBlTu+4RTeumhctwwt/xQZ3COsjskB4NExBbVn9VXsJ+YvsBlEgTVTNvRuLkXyp
 G36eq67OnKKiBWbGAZQy17U7b56u3SWpDpr+M5z+665TYjVPFSUUO73Tw2yKnpsuyozCSgP4c
 fzYXC1LSVWmztAEpD7PpcjQ7xfE7ij0jTHaCzlbVlbsNlNvh8X8AoXx92pKCEuP13vNCrOSsT
 DyC426TzRD3GSGnxtuefEicku5MG08IvJNqWnqzO+M0Kr46Mh3w/15xEV/Zuyg7Q4yDEejZGr
 n3OTVWJ6UZ9154dlm2S1IyE6lmpJ01PJXRGwyELJaIyqD5RnSiGX74ubBfEfu1axCtw14U0gS
 PBY18vSDxaFCEvA7FEBq7D2qtE1fXrZ1kDhlkT76WCLiNTuoOoUO37EYaNhjlAA1Wz4G2/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: Thu, 25 Jul 2024 14:00:01 UTC

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