[Bug 214] memory aligment issue ARM builds after 4.9.0

via D.gnu d.gnu at puremagic.com
Fri Mar 4 02:08:05 PST 2016


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

Johannes Pfau <johannespfau at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |johannespfau at gmail.com
             Status|NEW                         |ASSIGNED

--- Comment #3 from Johannes Pfau <johannespfau at gmail.com> ---
I guess the library changed, as that old forum thread mentioned in 2014 there
was no align(1) in epoll.d which was wrong on X86.

Whether the struct is packed depends on the target architecture. On ARM the
struct is not packed. The ARM version should just use standard alignment (no
explicit align(8)), the align(1) version should be restricted to X86/(64) and
an additional else static assert(false) should be added. Needs to go into
upstream druntime as well.

(grep __EPOLL_PACKED in glibc). Actually, AFAICS X86 ist the only architecture
using a packed struct.

-- 
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/a1a2b540/attachment.html>


More information about the D.gnu mailing list