Bug 12977 – lf64 definitions aren't correct on Solaris

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
x86
OS
Solaris
Creation time
2014-06-24T04:26:00Z
Last change time
2014-07-06T14:39:53Z
Keywords
pull
Assigned to
nobody
Creator
jason.brian.king
Blocks
8859

Comments

Comment #0 by jason.brian.king — 2014-06-24T04:26:26Z
In general, the Solaris large file support is implemented as: If 64 bit: define structs/functions without 64 alias (these are the actual names that are linked) alias *64 suffix to actual function names else: if USING_LARGEFILES: define *64 function/structs alias regular functions to *64 variants else define non-64 suffixed functions/structs The D definitions currently do the 32-bit large file behavior in 64-bit environments, causing it to attempt to link to the *64 suffixed function names, which fails (since they only exist in the 32-bit libc). The definitions should match what the Solaris header files do.
Comment #1 by jason.brian.king — 2014-07-05T00:37:06Z