[Bug 1560] New: sparc64 [1/5]: _Objects_Extend_information improper alignment for 64-bit targets

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon Jun 14 21:17:59 UTC 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1560

           Summary: sparc64 [1/5]: _Objects_Extend_information improper
                    alignment for 64-bit targets
           Product: RTEMS
           Version: HEAD
          Platform: Other
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: giddyup44 at yahoo.com


Created an attachment (id=782)
 --> (http://www.rtems.org/bugzilla/attachment.cgi?id=782)
Patch to fix bug.

_Objects_Extend_information uses a sizeof(uint32_t) offset that leads to
improper alignment in case the worst-case alignment is 8 or higher.  The
attached patch replaces the offending line with sizeof(uintptr_t), which should
correct the problem. 

(Note: void* is used in the preceding line of code in that same file and
similar situation.)

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list