https://issues.dlang.org/show_bug.cgi?id=14863
Issue ID: 14863
Summary: CLOCK_BOOTTIME should be optional to support <2.6.39
kernels
Product: D
Version: D2
Hardware: Other
OS: Linux
Status: NEW
Severity: regression
Priority: P1
Component: druntime
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Currently crashes every D binary on an older kernel.
We might reconsider to lazily initialize the resolutions.
http://forum.dlang.org/post/[email protected]
MonoTime is the replacement for TickDuration and it's initialized from the
runtime initialization function (rt_init). This is because the GC and others
may need time functionality.
Unfortunately, it looks like MonoTime does not currently support your kernel
version. It needs at least Linux 2.6.39. The reason being is that it has the
CLOCK_BOOTTIME clock which was implemented in Linux 2.6.39. Without this clock,
the minimum version would be Linux 2.6.32.
--