Bug 5496 – 64bit: possible ABI issue in mars.h for D runtime.

Status
RESOLVED
Resolution
WONTFIX
Severity
normal
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
Other
OS
Linux
Creation time
2011-01-27T03:30:00Z
Last change time
2015-06-09T05:11:47Z
Assigned to
nobody
Creator
ibuclaw

Attachments

IDFilenameSummaryContent-TypeSize
885d2-interface.diffpatch mars.h for D2text/plain492
886d1-interface.diffpatch object.d and mars.h for D1text/plain1381

Comments

Comment #0 by ibuclaw — 2011-01-27T03:30:00Z
Created attachment 885 patch mars.h for D2 Should be using ptrdiff_t rather than int struct Interface.
Comment #1 by ibuclaw — 2011-01-27T03:33:51Z
Created attachment 886 patch object.d and mars.h for D1 Backport patch for D1 too.
Comment #2 by ibuclaw — 2011-01-28T04:54:50Z
Edited summary for clarity sake.
Comment #3 by braddr — 2011-02-06T16:27:40Z
Do we really need to worry about supporting objects with vtables > 32bit? I don't think so. Or is the d frontend already offset with a size_t offset and this fixes the runtime to properly deal with this?
Comment #4 by bugzilla — 2011-02-06T18:04:26Z
I agree with Brad. There's no way this will be larger than 32 bits.