From unknown Mon Aug 18 19:34:02 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#70842 <70842@debbugs.gnu.org> To: bug#70842 <70842@debbugs.gnu.org> Subject: Status: 30.0.50; Native compilation and gmake in src Reply-To: bug#70842 <70842@debbugs.gnu.org> Date: Tue, 19 Aug 2025 02:34:02 +0000 retitle 70842 30.0.50; Native compilation and gmake in src reassign 70842 emacs submitter 70842 Gerd M=C3=B6llmann severity 70842 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu May 09 01:59:36 2024 Received: (at submit) by debbugs.gnu.org; 9 May 2024 05:59:36 +0000 Received: from localhost ([127.0.0.1]:53203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4woa-0003Kg-7q for submit@debbugs.gnu.org; Thu, 09 May 2024 01:59:36 -0400 Received: from lists.gnu.org ([2001:470:142::17]:56294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4woW-0003Ka-Pw for submit@debbugs.gnu.org; Thu, 09 May 2024 01:59:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s4wnv-0006r0-Sy for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 01:58:55 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s4wnu-0001jc-7x; Thu, 09 May 2024 01:58:55 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-41fd5dc04f0so669255e9.0; Wed, 08 May 2024 22:58:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715234331; x=1715839131; darn=gnu.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=A8ep/jQHAmWb2VNPFfcTsIO5bxXsfOoi3Pw3eYr0t2M=; b=d/E6qUOLdI+lKBaXDrMLArX8TFYV/u+waWHAcbc+bRhBqftYm5JcDO5eVILSE7692k 56yut5nxQhJYtuL3k6u/NjyieFLTpWryULlCiuYPCksrpmBTDnlOpLxjRcCcWN8HRsBl boPfqPnXdBCXGYrNaxyBdwPvXk0ooX6pmo7Q+O9Wq6cOKaaIAk3kO5/6ZO0Bcwm0Wx+L QeUXcDT20estEWxKnuAOhdz7VVqfukWqMCMCgY12XOmQNJ2UHWXMUGp5HowCKd5dzO+h VYZgl5RN11ExmUywJzlGQ/UQ1veQgSU2PNiI4EEoSlo86WNsuz6BjUwGug+avHnzczkr NBGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715234331; x=1715839131; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=A8ep/jQHAmWb2VNPFfcTsIO5bxXsfOoi3Pw3eYr0t2M=; b=UYwvMZz8gciI/FItimjj84tqsaOgL9r3zMv3HQdxGbEs2nz7lFvxggK8pOKl9TS6hH FR6emMMdg/JLZ3uKx521udoSGbxJ/809ZTCwNU7jkxuXppZJNbseoCCSs6aPsoc1l7dd X3TtEcnkYcGUtuZwmFkldOb13fuHa5bYZQJaC1cd1oxiZV81rEq7CBmnFkO825p8QDbr vlVjfZ+ymM0Ap84AiLEH4FzBNqkblWR/dAcu8wXlZtbbdNGBuSFUGNwsRGtoxL7l0bhe D+Nmyx8SO5YKD/rsveYBjjLeBAXDyrpmI6r0yvaHOXS9K0QUA7eRhdMD68ppOUaYDkGu km5g== X-Gm-Message-State: AOJu0Yxv9v7m+vzF/Gr/DskQNtke+Xh9xn+6Gg2wvU6V+fY740qVq3RS rkbADzlx8T1elJkn+ZF42hmP6swGFtH9QGM4HhWpXBWRj5Qcxd3R+4uxLw== X-Google-Smtp-Source: AGHT+IFZN+/urzEaXFalfQTdVlt0RZB+yRP1rKusXU0SQHm4DRi+KbBkfXxiVSmIksIhWPtMLaXkuw== X-Received: by 2002:a05:600c:450b:b0:41f:bcd7:303f with SMTP id 5b1f17b1804b1-41fbcd732e1mr16345145e9.16.1715234331397; Wed, 08 May 2024 22:58:51 -0700 (PDT) Received: from pro2.fritz.box (pd9e36021.dip0.t-ipconnect.de. [217.227.96.33]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41f42e74625sm58158325e9.0.2024.05.08.22.58.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 22:58:51 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: bug-gnu-emacs@gnu.org Subject: 30.0.50; Native compilation and gmake in src X-Debbugs-Cc: Date: Thu, 09 May 2024 07:58:49 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=gerd.moellmann@gmail.com; helo=mail-wm1-x333.google.com 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_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Andrea Corallo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) (CC'd to Andrea.) 1. Start from a clean build with native compilation 2. Modify a .c file in src to trigger a recompilation 3. gmake in src => error "trying to dump non fixed-up eln file" when dumping bootstrap-emacs.pdmp. Always. I find this very inconvenient, esp. since this never happens without native compilation. Only thing that works currently is to make in the toplevel directory. The reason for this is src/Makefile uses ELN_DESTDIR and BIN_DESTDIR in rules, but does not contain definitions for them. In a toplevel make, both are defined on the command line when invoking "gmake -C src ELN_DESTDIR=...". When making in src, ELN_DESTDIR is therefore empty, and temacs is called with with --eln-dest empty. Loadup.el then does its thing and calls load--fixup-all-elns before dumping. That function decides to not set native compilation units' file member to a cons, and "trying to dump non fixed-up eln file" is then issued when dumping such a CU. I don't know what the right fix for this is, maybe load--fixup-all-elns should work differently. As a workaround, it apparently suffices to add default values to src/Makefile like so: ELN_DESTDIR=not-set BIN_DESTDIR=not-set In GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin23.4.0, NS appkit-2487.50 Version 14.4.1 (Build 23E224)) of 2024-05-04 built on pro2.fritz.box Repository revision: fdfadd6f467063dc83032b4e0dbe4e7b96690670 Repository branch: master Windowing system distributor 'Apple', version 10.3.2487 System Description: macOS 14.4.1 Configured using: 'configure --cache-file /var/folders/1d/k_6t25f94sl83szqbf8gpkrh0000gn/T//config.cache.master --with-native-compilation CC=clang' From debbugs-submit-bounces@debbugs.gnu.org Sat May 25 03:38:15 2024 Received: (at 70842) by debbugs.gnu.org; 25 May 2024 07:38:15 +0000 Received: from localhost ([127.0.0.1]:41786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAlyp-0006oL-2k for submit@debbugs.gnu.org; Sat, 25 May 2024 03:38:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAlyn-0006oF-FH for 70842@debbugs.gnu.org; Sat, 25 May 2024 03:38:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sAlya-0005Ux-Oa; Sat, 25 May 2024 03:38:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=LpqXHy1RMjboqMFFA42x2qxSc00TF/JnJVzVkkBA4C4=; b=Y38aaa1aT9cm2E599ts9 mgiPaQqHXZVS5w9cOxBAkC9cd3Xg0Ej+cMY9PTSPEdObALG7aP3fXPL6zjAH4ZgBT3q0MSC9LXNRW fXf/PDe/nXOehuFeIRK6QfKbloL5yof+VbCKGlM5Z4fjOOn5Siq3UJHWEfUPogvFkBKuSMGEJRlN7 refuO7pJbCtBWwf80o0WWFWfzRKuW0VL2Z8PQ52GXowO7V7ArEOqRgXbI/YXEi6fj10P/+MHtxjuw NGAj65f2fFNI6E7FQs8Qw4n8/7v9imKjSKniI06YI8XRodtNrys0Q7lEfEHXRmFwffwp6vuWSOn8Q UFeQ/015Uah/NA==; Date: Sat, 25 May 2024 10:37:58 +0300 Message-Id: <86cypa1gvd.fsf@gnu.org> From: Eli Zaretskii To: Gerd =?utf-8?Q?M=C3=B6llmann?= In-Reply-To: (message from Gerd =?utf-8?Q?M=C3=B6llmann?= on Thu, 09 May 2024 07:58:49 +0200) Subject: Re: bug#70842: 30.0.50; Native compilation and gmake in src References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 70842 Cc: acorallo@gnu.org, 70842@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ping! Andrea, if you agree with Gerd's proposal, would you please install such a change? > Cc: Andrea Corallo > From: Gerd Möllmann > Date: Thu, 09 May 2024 07:58:49 +0200 > > (CC'd to Andrea.) > > 1. Start from a clean build with native compilation > > 2. Modify a .c file in src to trigger a recompilation > > 3. gmake in src > > => error "trying to dump non fixed-up eln file" when dumping > bootstrap-emacs.pdmp. Always. > > I find this very inconvenient, esp. since this never happens without > native compilation. Only thing that works currently is to make in the > toplevel directory. > > The reason for this is src/Makefile uses ELN_DESTDIR and BIN_DESTDIR in > rules, but does not contain definitions for them. In a toplevel make, > both are defined on the command line when invoking "gmake -C src > ELN_DESTDIR=...". > > When making in src, ELN_DESTDIR is therefore empty, and temacs is called > with with --eln-dest empty. Loadup.el then does its thing and calls > load--fixup-all-elns before dumping. That function decides to not set > native compilation units' file member to a cons, and "trying to dump non > fixed-up eln file" is then issued when dumping such a CU. > > I don't know what the right fix for this is, maybe load--fixup-all-elns > should work differently. As a workaround, it apparently suffices to add > default values to src/Makefile like so: > > ELN_DESTDIR=not-set > BIN_DESTDIR=not-set > > In GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin23.4.0, NS > appkit-2487.50 Version 14.4.1 (Build 23E224)) of 2024-05-04 built on > pro2.fritz.box > Repository revision: fdfadd6f467063dc83032b4e0dbe4e7b96690670 > Repository branch: master > Windowing system distributor 'Apple', version 10.3.2487 > System Description: macOS 14.4.1 > > Configured using: > 'configure --cache-file > /var/folders/1d/k_6t25f94sl83szqbf8gpkrh0000gn/T//config.cache.master > --with-native-compilation CC=clang' > > > > From debbugs-submit-bounces@debbugs.gnu.org Sat May 25 11:22:25 2024 Received: (at 70842-done) by debbugs.gnu.org; 25 May 2024 15:22:25 +0000 Received: from localhost ([127.0.0.1]:44044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAtE1-0003pA-Ae for submit@debbugs.gnu.org; Sat, 25 May 2024 11:22:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAtDy-0003oo-MZ for 70842-done@debbugs.gnu.org; Sat, 25 May 2024 11:22:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sAtDl-0000sN-CP; Sat, 25 May 2024 11:22:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=EDzXR09ayMQ/5Ad8N6FybKrsj5nUUML9NjG6tntzqjs=; b=Ifgs2z2rD09ecYRM8mpg 2wFRiGlenLMSkAlDCA7Ly7oVAVLbt+u38mNpS9ueqKuP1FnmKkWCdBtSXnjqJsUlZE811HpKFRThS 4ZIihrITRhwwU8g15cl0dA6NhGjRizl1sGwkSIjOcvrSF8bv7RDadqqg6saUqQMWFQcz4kgwb8K+i fjKedeaQfi7pGB6ajSxmcVVyoxBriQNhOSjRPxBoEjVC5rGatethQo+szFQnT6zt7Wu5mTci3wpTE mBF21SPcTzaEwIkkCO4gbl3LlBNOJdaaZd2fTZfptVP3LCMHjVeu/uukTpecCw+b8k0x3W6Kbu4NE /SwtlMgDfXWY6w==; Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1sAtDk-0002bL-AG; Sat, 25 May 2024 11:22:08 -0400 From: Andrea Corallo To: Eli Zaretskii Subject: Re: bug#70842: 30.0.50; Native compilation and gmake in src In-Reply-To: <86cypa1gvd.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 25 May 2024 10:37:58 +0300") References: <86cypa1gvd.fsf@gnu.org> Date: Sat, 25 May 2024 11:22:08 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 70842-done Cc: Gerd =?utf-8?Q?M=C3=B6llmann?= , 70842-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > Ping! Andrea, if you agree with Gerd's proposal, would you please > install such a change? Sorry missed this. Installed and closing. Thanks Andrea From unknown Mon Aug 18 19:34:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 23 Jun 2024 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator