unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Dan Čermák" <dan.cermak@cgc-instruments.com>
To: 49495@debbugs.gnu.org
Subject: bug#49495: 27.2; portable dumper incompatible with 64K pages on aarch64
Date: Fri, 09 Jul 2021 18:38:10 +0200	[thread overview]
Message-ID: <87tul3sarx.fsf@cgc-instruments.com> (raw)

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





             reply	other threads:[~2021-07-09 16:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-09 16:38 Dan Čermák [this message]
2021-07-09 18:08 ` bug#49495: 27.2; portable dumper incompatible with 64K pages on aarch64 Eli Zaretskii
2021-07-10 16:33   ` Lars Ingebrigtsen
2021-07-17  9:45     ` Dan Čermák
2021-07-17 10:02       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tul3sarx.fsf@cgc-instruments.com \
    --to=dan.cermak@cgc-instruments.com \
    --cc=49495@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).