[Bug 214] New: memory aligment issue ARM builds after 4.9.0

via D.gnu d.gnu at puremagic.com
Thu Mar 3 17:14:36 PST 2016


http://bugzilla.gdcproject.org/show_bug.cgi?id=214

            Bug ID: 214
           Summary: memory aligment issue ARM builds after 4.9.0
           Product: GDC
           Version: development
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: Normal
         Component: gdc
          Assignee: ibuclaw at gdcproject.org
          Reporter: vlevenfeld at gmail.com

I compile some code I found online using epoll on a Raspberry Pi. 

I use the SSCCE near the bottom of this page:
http://forum.dlang.org/post/mailman.1392.1408529293.16021.digitalmars-d@puremagic.com

When I use GDC 4.9.0 or earlier, I get the correct output:

user, 1122334455667788

When I use 4.9.2 or later, I get

user, 1122334400000000

This is due to the lower bits being zeroed out. The forum post that I got the
code from suggested a memory alignment issue, but involving the other half of
the u64 test value.

I am using the hardfloat binaries from the downloads page.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20160304/3b366150/attachment.html>


More information about the D.gnu mailing list