RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1979804 - emacs: portable dumper incompatible with 64K pages on aarch64
Summary: emacs: portable dumper incompatible with 64K pages on aarch64
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: emacs
Version: 9.0
Hardware: aarch64
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Jacek Migacz
QA Contact: Frantisek Sumsal
URL:
Whiteboard:
Depends On: 1974244
Blocks: 1978730 2151999
TreeView+ depends on / blocked
 
Reported: 2021-07-07 06:18 UTC by Florian Weimer
Modified: 2023-05-09 09:08 UTC (History)
4 users (show)

Fixed In Version: emacs-27.2-8.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1974244
Environment:
Last Closed: 2023-05-09 07:49:00 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:2366 0 None None None 2023-05-09 07:49:09 UTC

Description Florian Weimer 2021-07-07 06:18:52 UTC
If the aarch64 builders for CentOS 9 or Red Hat Enterprise Linux 9 switch to 4K pages, this bug will also affect the Emacs package there.

+++ This bug was initially created as a clone of Bug #1974244 +++

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.

Comment 6 Florian Weimer 2023-01-09 13:27:24 UTC
I believe this was fixed upstream with this commit:

commit 216c65b135c2b0be7e048cdc6683873b03b99b9a
Author: Lars Ingebrigtsen <larsi>
Date:   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).

Comment 12 errata-xmlrpc 2023-05-09 07:49:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: emacs security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:2366


Note You need to log in before you can comment on or make changes to this bug.