www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Bug 214] New: memory aligment issue ARM builds after 4.9.0

Date: Fri, 4 Mar 2016 01:14:36 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugzilla.gdcproject.org/
Auto-Submitted: auto-generated


            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 gdcproject.org
          Reporter: vlevenfeld gmail.com

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

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

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 t=
code from suggested a memory alignment issue, but involving the other half =
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.=
Mar 03 2016