March 04, 2016 [Bug 214] New: memory aligment issue ARM builds after 4.9.0 | ||||
---|---|---|---|---|
| ||||
Attachments:
| 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@gdcproject.org Reporter: vlevenfeld@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. |
Copyright © 1999-2021 by the D Language Foundation