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 1335925 - glibc: Fix aarch64 ABI issues
Summary: glibc: Fix aarch64 ABI issues
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: glibc
Version: 7.3
Hardware: aarch64
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Florian Weimer
QA Contact: Arjun Shankar
URL:
Whiteboard:
Depends On: 1335629 1346397
Blocks: 1277314
TreeView+ depends on / blocked
 
Reported: 2016-05-13 14:32 UTC by Florian Weimer
Modified: 2016-11-03 08:32 UTC (History)
7 users (show)

Fixed In Version: glibc-2.17-135.el7
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2016-11-03 08:32:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2573 0 normal SHIPPED_LIVE Low: glibc security, bug fix, and enhancement update 2016-11-03 12:05:56 UTC
Sourceware 18400 0 None None None 2016-05-13 14:33:50 UTC
Sourceware 18648 0 None None None 2016-05-13 14:32:53 UTC

Description Florian Weimer 2016-05-13 14:32:54 UTC
We need to backport several patches from glibc upstream to maintain ABI compatibility with upstream.

The patches identified so far are (the first one is minor):

commit 5c40c3bab2fddaca8cfe12d75944d1fef8adf1a4
Author: Alan Hayward <alan.hayward>
Date:   Tue Nov 11 16:32:34 2014 +0000

     [AArch64] Add ipc.h.

     Adding ipc.h for AArch64 adjusted to behave correctly on big endian
     targets.

commit 14d623bcd178d336b47fdb4f0c973720d56d907c
Author: Szabolcs Nagy <nsz>
Date:   Thu Jul 9 09:39:51 2015 +0100

     [AArch64][BZ 18400] fix elf_prpsinfo in procfs.h

     Kernel uses int pr_uid, pr_gid, but glibc used unsigned short.

     This is an ABI breaking change, but the size and alignment of
     the struct and the layout of other members is not changed and
     there is no known usage of pr_uid and pr_gid so it is expected
     to be safe.

         [BZ #18400]
         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
         Fix pr_uid and pr_gid members.

commit b8528e771c0f31ebb8ac2470e2cf7ee9a50693e2
Author: Szabolcs Nagy <nsz>
Date:   Thu Jul 9 09:53:30 2015 +0100

     [AArch64][BZ 18648] change greg_t definition in ucontext.h

     This is an ABI breaking change, but

         typedef int greg_t;

     is not a useful definition on aarch64.

     greg_t is usually used for defining gregset_t which is used
     in mcontext_t.  The general registers in mcontext_t can only
     be accessed by target specific code and on aarch64 greg_t
     is not needed for that so this change is not supposed to break
     existing code, just fix the definition.

         [BZ #18648]
         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
         definition to elf_greg_t.

     (Added another BZ entry that was missed in the previous commit).


This seems to be also worth having (the ABI impact is very indirect, though):

commit 2b1d7148e3664eeb177ae2fc91bf282d75da7623
Author: Szabolcs Nagy <nsz>
Date:   Mon Jul 6 12:46:43 2015 +0100

     [AArch64] make setcontext etc functions consistent with the kernel

Comment 2 Yaakov Selkowitz 2016-05-17 21:29:43 UTC
Can bug 1221046 be fixed as well?

Comment 6 errata-xmlrpc 2016-11-03 08:32:06 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, 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://rhn.redhat.com/errata/RHSA-2016-2573.html


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