Thread overview
[Bug 93] Build fails on ARM with static assert 8u == 4u
Feb 02, 2014
Iain Buclaw
Feb 03, 2014
Iain Buclaw
Feb 13, 2014
Johannes Pfau
February 02, 2014
http://bugzilla.gdcproject.org/show_bug.cgi?id=93

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #1 from Iain Buclaw <ibuclaw@gdcproject.org> 2014-02-02 15:38:13 GMT ---
I've got a fix locally for this, somewhere in the realm of:

---
-  // To place 'obj' behing unwindHeader.
-  enum UNWIND_PAD = (Phase1Info.sizeof + Object.sizeof)
-    % _Unwind_Exception.alignof;
+  // The object being thrown.  Like GCJ, the compiled code expects this to
+  // be immediately before the generic exception header.
+  enum UNWIND_PAD = (Object.alignof < _Unwind_Exception.alignof)
+    ? _Unwind_Exception.alignof - Object.alignof : 0;

-  static if (UNWIND_PAD > 0)
-    byte[UNWIND_PAD] _pad;
+  ubyte[UNWIND_PAD] pad;
---

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
February 03, 2014
http://bugzilla.gdcproject.org/show_bug.cgi?id=93

--- Comment #2 from Iain Buclaw <ibuclaw@gdcproject.org> 2014-02-03 00:23:36 GMT ---
https://github.com/D-Programming-GDC/GDC/commit/9cafc0646fde296db5d96c8d3383cf7be58e068e

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
February 13, 2014
http://bugzilla.gdcproject.org/show_bug.cgi?id=93

Johannes Pfau <johannespfau@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |johannespfau@gmail.com
         Resolution|                            |FIXED

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