Thread overview
[Issue 5483] New: Missing mcontext_t for X86_64
Jan 25, 2011
dawg@dawgfoto.de
Jan 25, 2011
Sean Kelly
Feb 01, 2011
Sohgo Takeuchi
Feb 01, 2011
Brad Roberts
Feb 01, 2011
Brad Roberts
Feb 01, 2011
Sohgo Takeuchi
Feb 01, 2011
Sohgo Takeuchi
January 25, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5483

           Summary: Missing mcontext_t for X86_64
           Product: D
           Version: unspecified
          Platform: x86_64
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: nobody@puremagic.com
        ReportedBy: dawg@dawgfoto.de


--- Comment #0 from dawg@dawgfoto.de 2011-01-25 10:40:40 PST ---
Created an attachment (id=876)
git format-patch

I have added the missing mcontext_t for FreeBSD version X86_64.
This was taken from my 8.0-FreeBSD machine/ucontext.h header.
I've tested that by comparing offsets of members with the c version and using
swapcontext.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 25, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5483


Sean Kelly <sean@invisibleduck.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |sean@invisibleduck.org


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 01, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5483


Sohgo Takeuchi <sohgo@sohgo.dyndns.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sohgo@sohgo.dyndns.org
           Severity|normal                      |critical


--- Comment #1 from Sohgo Takeuchi <sohgo@sohgo.dyndns.org> 2011-01-31 19:50:24 PST ---
I will vote this issue.
I could not compile druntime without this patch.

Thank you.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 01, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5483


Brad Roberts <braddr@puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
    Attachment #876|application/octet-stream    |text/plain
          mime type|                            |
 Attachment #876 is|0                           |1
              patch|                            |


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 01, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5483


Brad Roberts <braddr@puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |braddr@puremagic.com
         Resolution|                            |FIXED


--- Comment #2 from Brad Roberts <braddr@puremagic.com> 2011-01-31 20:11:35 PST ---
Applied in change:

https://github.com/D-Programming-Language/druntime/commit/d82f6516bcf59117252e392c2b43868f8f61c2b8

I dropped the type asserts since D defines those integral types to be fixed sizes regardless of the architecture.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 01, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5483



--- Comment #3 from Sohgo Takeuchi <sohgo@sohgo.dyndns.org> 2011-02-01 03:05:31 PST ---
I will vote this issue.
I could not compile druntime without this patch.

Thank you.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 01, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5483



--- Comment #4 from Sohgo Takeuchi <sohgo@sohgo.dyndns.org> 2011-02-01 03:17:54 PST ---
Oops, sorry, Please ignore the Comment #3. I have reposted the same message.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------