Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#4255 closed defect (fixed)

aarch64 GCC alignment bug

Reported by: Kinsey Moore Owned by: Kinsey Moore <kinsey.moore@…>
Priority: normal Milestone:
Component: admin Version: 6
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

This issue exists to track <gcc bug will be added when I can submit it>. GCC generates bad alignments for sections with elements smaller than 8 bytes on AArch64.

This was previously worked around by using SUBALIGN() in the linker script, but this causes other problems when larger elements are stored in linker sections.

Change History (2)

comment:1 Changed on 03/02/21 at 14:09:12 by Kinsey Moore

I can't edit the ticket description. Here is the link to the GCC bug:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99143

According to the commentary on the bug, these alignments are not guaranteed and a patch to address them is currently up for review on the mailing list.

comment:2 Changed on 03/05/21 at 14:43:38 by Kinsey Moore <kinsey.moore@…>

Owner: set to Kinsey Moore <kinsey.moore@…>
Resolution: fixed
Status: newclosed

In [changeset:"bbc9974a2450e7599cf9c08dbfd394b523bf6c51/rtems" bbc9974a/rtems]:

Error: Processor CommitTicketReference failed
/data/trac/repo/rtems.git does not appear to be a Git repository.
Note: See TracTickets for help on using tickets.