From unknown Thu Sep 11 03:25:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49495: 27.2; portable dumper incompatible with 64K pages on aarch64 Resent-From: Dan =?UTF-8?Q?=C4=8Cerm=C3=A1k?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Jul 2021 16:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49495 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 49495@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162584870218391 (code B ref -1); Fri, 09 Jul 2021 16:39:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jul 2021 16:38:22 +0000 Received: from localhost ([127.0.0.1]:59615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tWA-0004mZ-Cm for submit@debbugs.gnu.org; Fri, 09 Jul 2021 12:38:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:35808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tW6-0004mN-Sx for submit@debbugs.gnu.org; Fri, 09 Jul 2021 12:38:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1tW6-0007rx-CT for bug-gnu-emacs@gnu.org; Fri, 09 Jul 2021 12:38:18 -0400 Received: from cgc-instruments.com ([83.169.1.125]:48758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1tW4-0005Y1-7o for bug-gnu-emacs@gnu.org; Fri, 09 Jul 2021 12:38:17 -0400 Received: from localhost (dynamic-2a00-1028-83c4-2a2a-f45e-2085-22a5-ce14.ipv6.broadband.iol.cz [IPv6:2a00:1028:83c4:2a2a:f45e:2085:22a5:ce14]) by cgc-instruments.com (Postfix) with ESMTPSA id C3A5DA1245 for ; Fri, 9 Jul 2021 18:38:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cgc-instruments.com; s=default; t=1625848691; bh=9VqrqKrtTWae1YZN1MUiNaG6sxolKRt/yGthFyuJUFs=; l=1282; h=From:To:Subject; b=hU7BLdTnopz1A6MwzW42WTtkQesK+L0tX3keV5iZoOW6O/EKRzl1rhbK3H0xmVlC7 Sx8eofUthO9jEm8fleBEylIWayxrriMXrrz96PwedvcE0IiUC3eliPTUojQ8siFvd4 xsPzV1AakvsRnaIKeze4KHQbtf1RV8TKsblnSWLA= Authentication-Results: cgc-instruments.com; spf=pass (sender IP is 2a00:1028:83c4:2a2a:f45e:2085:22a5:ce14) smtp.mailfrom=dan.cermak@cgc-instruments.com smtp.helo=localhost Received-SPF: pass (cgc-instruments.com: connection is authenticated) From: Dan =?UTF-8?Q?=C4=8Cerm=C3=A1k?= Date: Fri, 09 Jul 2021 18:38:10 +0200 Message-ID: <87tul3sarx.fsf@cgc-instruments.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=83.169.1.125; envelope-from=dan.cermak@cgc-instruments.com; helo=cgc-instruments.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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) I am forwarding a bugreport from Fedora, about the portable dumper causing issues when launching Emacs in a RHEL 8 chroot on aarch64: (from https://bugzilla.redhat.com/show_bug.cgi?id=1974244) --8<---------------cut here---------------start------------->8--- The emacs binary from emacs-nox-27.2-2.fc33.aarch64 cannot start in a chroot on Red Hat Enterprise Linux 8 because it assumes 4K pages: openat(AT_FDCWD, "/usr/bin/emacs-27.2-nox.pdmp", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=10124128, ...}) = 0 read(3, "DUMPEDGNUEMACS\0\0(\304wp;D\330G%\f\265\337\214\264VO"..., 80) = 80 mmap(NULL, 10124128, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xffff92240000 mmap(0xffff92240000, 6946816, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xffff92240000 mmap(0xffff928e0000, 90112, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6a0000) = 0xffff928e0000 mmap(0xffff928f6000, 3087200, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6b6000) = -1 EINVAL (Invalid argument) Map offsets and addresses must be a multiple of the page size. --8<---------------cut here---------------end--------------->8--- Unfortunately, I am not really familiar with Emacs' internals to know how to handle this bug report. Cheers, Dan From unknown Thu Sep 11 03:25:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49495: 27.2; portable dumper incompatible with 64K pages on aarch64 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Jul 2021 18:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49495 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dan =?UTF-8?Q?=C4=8Cerm=C3=A1k?= , Daniel Colascione Cc: 49495@debbugs.gnu.org Received: via spool by 49495-submit@debbugs.gnu.org id=B49495.162585413728034 (code B ref 49495); Fri, 09 Jul 2021 18:09:02 +0000 Received: (at 49495) by debbugs.gnu.org; 9 Jul 2021 18:08:57 +0000 Received: from localhost ([127.0.0.1]:59662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1uvo-0007I6-SL for submit@debbugs.gnu.org; Fri, 09 Jul 2021 14:08:57 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1uvm-0007Hs-Kl for 49495@debbugs.gnu.org; Fri, 09 Jul 2021 14:08:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59782) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1uvg-0006yo-G6; Fri, 09 Jul 2021 14:08:48 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3297 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1uve-0006sB-LM; Fri, 09 Jul 2021 14:08:48 -0400 Date: Fri, 09 Jul 2021 21:08:34 +0300 Message-Id: <83eec7cqcd.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87tul3sarx.fsf@cgc-instruments.com> (message from Dan =?UTF-8?Q?=C4=8Cerm=C3=A1k?= on Fri, 09 Jul 2021 18:38:10 +0200) References: <87tul3sarx.fsf@cgc-instruments.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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 (---) > From: Dan Čermák > Date: Fri, 09 Jul 2021 18:38:10 +0200 > > I am forwarding a bugreport from Fedora, about the portable dumper > causing issues when launching Emacs in a RHEL 8 chroot on aarch64: > (from https://bugzilla.redhat.com/show_bug.cgi?id=1974244) > > --8<---------------cut here---------------start------------->8--- > The emacs binary from emacs-nox-27.2-2.fc33.aarch64 cannot start in a chroot on Red Hat Enterprise Linux 8 because it assumes 4K pages: > > openat(AT_FDCWD, "/usr/bin/emacs-27.2-nox.pdmp", O_RDONLY|O_CLOEXEC) = 3 > fstat(3, {st_mode=S_IFREG|0644, st_size=10124128, ...}) = 0 > read(3, "DUMPEDGNUEMACS\0\0(\304wp;D\330G%\f\265\337\214\264VO"..., 80) = 80 > mmap(NULL, 10124128, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xffff92240000 > mmap(0xffff92240000, 6946816, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xffff92240000 > mmap(0xffff928e0000, 90112, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6a0000) = 0xffff928e0000 > mmap(0xffff928f6000, 3087200, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6b6000) = -1 EINVAL (Invalid argument) > > Map offsets and addresses must be a multiple of the page size. > --8<---------------cut here---------------end--------------->8--- > > > Unfortunately, I am not really familiar with Emacs' internals to know > how to handle this bug report. Thanks. Can you try the latest master branch and see if this problem still happens there? Daniel, could you please look into this? From unknown Thu Sep 11 03:25:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49495: 27.2; portable dumper incompatible with 64K pages on aarch64 Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Jul 2021 16:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49495 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Dan =?UTF-8?Q?=C4=8Cerm=C3=A1k?= , 49495@debbugs.gnu.org, Daniel Colascione Received: via spool by 49495-submit@debbugs.gnu.org id=B49495.162593484229738 (code B ref 49495); Sat, 10 Jul 2021 16:35:01 +0000 Received: (at 49495) by debbugs.gnu.org; 10 Jul 2021 16:34:02 +0000 Received: from localhost ([127.0.0.1]:33313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2FvW-0007ja-MW for submit@debbugs.gnu.org; Sat, 10 Jul 2021 12:34:02 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2FvV-0007ip-6P for 49495@debbugs.gnu.org; Sat, 10 Jul 2021 12:34:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=dr4pveqwPlDQd78jlWLxzA8STMuCe3ojKGAeDKQWG9o=; b=iSZ6GB7V1VdUkEnd/aYz4QFvZA PBagVvyVKYDjZQW9qHhkgsjVHDlHGqGCE0Mv23s42HUOahoIgqQu2KmZTkplBUnJ7o68Kzq8ZCVuB QcLEPo97DInPm2IBRwnspXRliyR80/zZMkyG5gOIurr+gwaKjkpDrgoARz6MWjsRn9CQ=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m2FvB-0005gj-B1; Sat, 10 Jul 2021 18:33:43 +0200 From: Lars Ingebrigtsen References: <87tul3sarx.fsf@cgc-instruments.com> <83eec7cqcd.fsf@gnu.org> X-Now-Playing: Tears For Fears's _Songs From The Big Chair_: "The Big Chair" Date: Sat, 10 Jul 2021 18:33:40 +0200 In-Reply-To: <83eec7cqcd.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 09 Jul 2021 21:08:34 +0300") Message-ID: <87o8bann6j.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > Thanks. Can you try the latest master branch and see if this problem > still happens there? This was changed in Emacs 28 a couple months ago: Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: > Thanks. Can you try the latest master branch and see if this problem > still happens there? This was changed in Emacs 28 a couple months ago: commit 216c65b135c2b0be7e048cdc6683873b03b99b9a Author: Lars Ingebrigtsen AuthorDate: Sun Mar 28 19:13:00 2021 +0200 Use a 64KB page size for pdump * src/pdumper.c (dump_get_page_size): Use a 64KB page size on all architectures, as this many vary between systems (bug#47125). So I think the problem should be fixed now, but it'd be good to get it confirmed. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 12 08:22:50 2021 Received: (at control) by debbugs.gnu.org; 12 Jul 2021 12:22:51 +0000 Received: from localhost ([127.0.0.1]:36709 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2uxW-0007Nw-Q5 for submit@debbugs.gnu.org; Mon, 12 Jul 2021 08:22:50 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2uxU-0007Nf-Od for control@debbugs.gnu.org; Mon, 12 Jul 2021 08:22:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZyUDPS80xg9IyIc2ifghsMBRSeTPB4IMc8prepvbM8Y=; b=t3Hd6ghmitBEu062OfxHuvGZLM pt83STpkoNK8CPlArj7ElAd7uVmq7hesmeu53PMwlIoGof7JhBJSTzgpHJEJ8BIzfRH/g7I1Ckl7J zabAqG64QtSG+UCma7C1toWaRsrGmE/pc1mUr6yGBtZkZ2kewdDwfN6FN70oFp71T+Eg=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m2uxM-00061w-Tp for control@debbugs.gnu.org; Mon, 12 Jul 2021 14:22:42 +0200 Date: Mon, 12 Jul 2021 14:22:40 +0200 Message-Id: <874kczu3fz.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #49495 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 49495 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) tags 49495 + moreinfo quit From unknown Thu Sep 11 03:25:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49495: 27.2; portable dumper incompatible with 64K pages on aarch64 Resent-From: Dan =?UTF-8?Q?=C4=8Cerm=C3=A1k?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Jul 2021 09:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49495 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen , Eli Zaretskii Cc: 49495@debbugs.gnu.org, Daniel Colascione Received: via spool by 49495-submit@debbugs.gnu.org id=B49495.162651515329500 (code B ref 49495); Sat, 17 Jul 2021 09:46:02 +0000 Received: (at 49495) by debbugs.gnu.org; 17 Jul 2021 09:45:53 +0000 Received: from localhost ([127.0.0.1]:52858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4gtN-0007fk-8R for submit@debbugs.gnu.org; Sat, 17 Jul 2021 05:45:53 -0400 Received: from cgc-instruments.com ([83.169.1.125]:58674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4gtK-0007fY-Tc for 49495@debbugs.gnu.org; Sat, 17 Jul 2021 05:45:52 -0400 Received: from localhost (ip4d17fc76.dynamic.kabel-deutschland.de [77.23.252.118]) by cgc-instruments.com (Postfix) with ESMTPSA id 95AD0A011E; Sat, 17 Jul 2021 11:45:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cgc-instruments.com; s=default; t=1626515149; bh=WK8178zY2xZgwgmao3zDjMrlfzi4XDef4m8LeL1q1yk=; l=697; h=From:To:Subject; b=HjLIJnGnqn9he9GviPSI2RFngGC/9uCQkE9NEZe3pyZ1uyMWJ0B11UQ7eDMF3ZMYS UmPuq1b1h1jk9sJmdKgedjDNk2YvJv1sSsVtFPM/1JGdjYdpTdDeyWZLs2WXw31c3J R4TKi6UC1pqH1yTQX0Hg91n+P2uHctb7agL0PcJM= Authentication-Results: cgc-instruments.com; spf=pass (sender IP is 77.23.252.118) smtp.mailfrom=dan.cermak@cgc-instruments.com smtp.helo=localhost Received-SPF: pass (cgc-instruments.com: connection is authenticated) From: Dan =?UTF-8?Q?=C4=8Cerm=C3=A1k?= In-Reply-To: <87o8bann6j.fsf@gnus.org> References: <87tul3sarx.fsf@cgc-instruments.com> <83eec7cqcd.fsf@gnu.org> <87o8bann6j.fsf@gnus.org> Date: Sat, 17 Jul 2021 11:45:46 +0200 Message-ID: <877dhps27p.fsf@cgc-instruments.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) 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: -1.0 (-) Lars Ingebrigtsen writes: > Eli Zaretskii writes: > >> Thanks. Can you try the latest master branch and see if this problem >> still happens there? > > This was changed in Emacs 28 a couple months ago: > > commit 216c65b135c2b0be7e048cdc6683873b03b99b9a > Author: Lars Ingebrigtsen > AuthorDate: Sun Mar 28 19:13:00 2021 +0200 > > Use a 64KB page size for pdump > > * src/pdumper.c (dump_get_page_size): Use a 64KB page size on all > architectures, as this many vary between systems (bug#47125). > > So I think the problem should be fixed now, but it'd be good to get it > confirmed. This appears to fix this issue. Thanks! From unknown Thu Sep 11 03:25:22 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Dan =?UTF-8?Q?=C4=8Cerm=C3=A1k?= Subject: bug#49495: closed (Re: bug#49495: 27.2; portable dumper incompatible with 64K pages on aarch64) Message-ID: References: <83fswd45se.fsf@gnu.org> <87tul3sarx.fsf@cgc-instruments.com> X-Gnu-PR-Message: they-closed 49495 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: moreinfo Reply-To: 49495@debbugs.gnu.org Date: Sat, 17 Jul 2021 10:03:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1626516181-31013-1" This is a multi-part message in MIME format... ------------=_1626516181-31013-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #49495: 27.2; portable dumper incompatible with 64K pages on aarch64 which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 49495@debbugs.gnu.org. --=20 49495: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D49495 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1626516181-31013-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 49495-done) by debbugs.gnu.org; 17 Jul 2021 10:02:48 +0000 Received: from localhost ([127.0.0.1]:52866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4h9j-00083n-UY for submit@debbugs.gnu.org; Sat, 17 Jul 2021 06:02:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4h9g-00083Z-IY for 49495-done@debbugs.gnu.org; Sat, 17 Jul 2021 06:02:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39684) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4h9Z-0002b1-Va; Sat, 17 Jul 2021 06:02:37 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2397 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4h9Z-00039n-Aj; Sat, 17 Jul 2021 06:02:37 -0400 Date: Sat, 17 Jul 2021 13:02:25 +0300 Message-Id: <83fswd45se.fsf@gnu.org> From: Eli Zaretskii To: Dan =?utf-8?B?xIxlcm3DoWs=?= In-Reply-To: <877dhps27p.fsf@cgc-instruments.com> (message from Dan =?utf-8?B?xIxlcm3DoWs=?= on Sat, 17 Jul 2021 11:45:46 +0200) Subject: Re: bug#49495: 27.2; portable dumper incompatible with 64K pages on aarch64 References: <87tul3sarx.fsf@cgc-instruments.com> <83eec7cqcd.fsf@gnu.org> <87o8bann6j.fsf@gnus.org> <877dhps27p.fsf@cgc-instruments.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49495-done Cc: larsi@gnus.org, dancol@dancol.org, 49495-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 (---) > From: Dan Čermák > Cc: Daniel Colascione , 49495@debbugs.gnu.org > Date: Sat, 17 Jul 2021 11:45:46 +0200 > > > commit 216c65b135c2b0be7e048cdc6683873b03b99b9a > > Author: Lars Ingebrigtsen > > AuthorDate: Sun Mar 28 19:13:00 2021 +0200 > > > > Use a 64KB page size for pdump > > > > * src/pdumper.c (dump_get_page_size): Use a 64KB page size on all > > architectures, as this many vary between systems (bug#47125). > > > > So I think the problem should be fixed now, but it'd be good to get it > > confirmed. > > This appears to fix this issue. Thanks! Thanks, so I'm closing this bug report. ------------=_1626516181-31013-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Jul 2021 16:38:22 +0000 Received: from localhost ([127.0.0.1]:59615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tWA-0004mZ-Cm for submit@debbugs.gnu.org; Fri, 09 Jul 2021 12:38:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:35808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tW6-0004mN-Sx for submit@debbugs.gnu.org; Fri, 09 Jul 2021 12:38:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1tW6-0007rx-CT for bug-gnu-emacs@gnu.org; Fri, 09 Jul 2021 12:38:18 -0400 Received: from cgc-instruments.com ([83.169.1.125]:48758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1tW4-0005Y1-7o for bug-gnu-emacs@gnu.org; Fri, 09 Jul 2021 12:38:17 -0400 Received: from localhost (dynamic-2a00-1028-83c4-2a2a-f45e-2085-22a5-ce14.ipv6.broadband.iol.cz [IPv6:2a00:1028:83c4:2a2a:f45e:2085:22a5:ce14]) by cgc-instruments.com (Postfix) with ESMTPSA id C3A5DA1245 for ; Fri, 9 Jul 2021 18:38:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cgc-instruments.com; s=default; t=1625848691; bh=9VqrqKrtTWae1YZN1MUiNaG6sxolKRt/yGthFyuJUFs=; l=1282; h=From:To:Subject; b=hU7BLdTnopz1A6MwzW42WTtkQesK+L0tX3keV5iZoOW6O/EKRzl1rhbK3H0xmVlC7 Sx8eofUthO9jEm8fleBEylIWayxrriMXrrz96PwedvcE0IiUC3eliPTUojQ8siFvd4 xsPzV1AakvsRnaIKeze4KHQbtf1RV8TKsblnSWLA= Authentication-Results: cgc-instruments.com; spf=pass (sender IP is 2a00:1028:83c4:2a2a:f45e:2085:22a5:ce14) smtp.mailfrom=dan.cermak@cgc-instruments.com smtp.helo=localhost Received-SPF: pass (cgc-instruments.com: connection is authenticated) From: Dan =?utf-8?B?xIxlcm3DoWs=?= To: bug-gnu-emacs@gnu.org Subject: 27.2; portable dumper incompatible with 64K pages on aarch64 Date: Fri, 09 Jul 2021 18:38:10 +0200 Message-ID: <87tul3sarx.fsf@cgc-instruments.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=83.169.1.125; envelope-from=dan.cermak@cgc-instruments.com; helo=cgc-instruments.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, SPF_HELO_PASS=-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@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: -2.4 (--) I am forwarding a bugreport from Fedora, about the portable dumper causing issues when launching Emacs in a RHEL 8 chroot on aarch64: (from https://bugzilla.redhat.com/show_bug.cgi?id=1974244) --8<---------------cut here---------------start------------->8--- The emacs binary from emacs-nox-27.2-2.fc33.aarch64 cannot start in a chroot on Red Hat Enterprise Linux 8 because it assumes 4K pages: openat(AT_FDCWD, "/usr/bin/emacs-27.2-nox.pdmp", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=10124128, ...}) = 0 read(3, "DUMPEDGNUEMACS\0\0(\304wp;D\330G%\f\265\337\214\264VO"..., 80) = 80 mmap(NULL, 10124128, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xffff92240000 mmap(0xffff92240000, 6946816, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xffff92240000 mmap(0xffff928e0000, 90112, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6a0000) = 0xffff928e0000 mmap(0xffff928f6000, 3087200, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6b6000) = -1 EINVAL (Invalid argument) Map offsets and addresses must be a multiple of the page size. --8<---------------cut here---------------end--------------->8--- Unfortunately, I am not really familiar with Emacs' internals to know how to handle this bug report. Cheers, Dan ------------=_1626516181-31013-1--