https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89432
--- Comment #9 from Uroš Bizjak <ubizjak at gmail dot com> --- FYI, a check for a supported clock type in systemtime.d is also needed, otherwise the test tries to access unsupported ClockType.coarse: core.time.TimeException@/home/uros/git/gcc/libphobos/testsuite/../src/std/datetime/systime.d(180): Call to clock_gettime() failed ---------------- /home/uros/git/gcc/libphobos/testsuite/../src/std/datetime/systime.d:180 @property @trusted long std.datetime.systime.Clock.currStdTime!(2).currStdTime() [0x4eb028] /home/uros/git/gcc/libphobos/testsuite/../src/std/datetime/systime.d:66 @safe std.datetime.systime.SysTime std.datetime.systime.Clock.currTime!(2).currTime(immutable(std.datetime.timezone.TimeZone)) [0x4eac7d] /home/uros/git/gcc/libphobos/testsuite/../src/std/datetime/systime.d:98 @safe void std.datetime.systime.Clock.__unittestL69_2() [0x40a31f] /home/uros/gcc-build/x86_64-pc-linux-gnu/libphobos/testsuite/libphobos2/<no_file>:1 void std.datetime.systime.__modtest() [0x4ea72e] ../../../../git/gcc/libphobos/libdruntime/core/runtime.d:561 __foreachbody2 [0x632cc7] ../../../../git/gcc/libphobos/libdruntime/rt/minfo.d:777 __foreachbody2 [0x614f28] ../../../../git/gcc/libphobos/libdruntime/gcc/sections/elf_shared.d:107 int gcc.sections.elf_shared.DSO.opApply(scope int delegate(ref gcc.sections.elf_shared.DSO)) [0x6035fa] ../../../../git/gcc/libphobos/libdruntime/rt/minfo.d:770 int rt.minfo.moduleinfos_apply(scope int delegate(immutable(object.ModuleInfo*))) [0x616cdb] ../../../../git/gcc/libphobos/libdruntime/object.d:1598 int object.ModuleInfo.opApply(scope int delegate(object.ModuleInfo*)) [0x60abcb] ../../../../git/gcc/libphobos/libdruntime/core/runtime.d:551 runModuleUnitTests [0x632fc1] ../../../../git/gcc/libphobos/libdruntime/rt/dmain2.d:488 runAll [0x611bf4] ../../../../git/gcc/libphobos/libdruntime/rt/dmain2.d:464 tryExec [0x6117fd] ../../../../git/gcc/libphobos/libdruntime/rt/dmain2.d:497 _d_run_main [0x6119c4] /home/uros/git/gcc/libphobos/libdruntime/__entrypoint.di:44 main [0x4ea9e5] ??:? __libc_start_main [0x345e21d9f3] ??:? ???[0x408a60] ClockType.coarse FAIL: libphobos.phobos/std/datetime/systime.d execution test