https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89432
--- Comment #5 from Iain Buclaw <ibuclaw at gdcproject dot org> --- Created attachment 46240 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46240&action=edit patch for pr89432 (In reply to Uroš Bizjak from comment #4) > Created attachment 46182 [details] > Proposed patch > > Attached patch introduces DRUNTIME_OS_LINUX_PRE_2639 function that detects > linux version < 2.6.39 and sets LINUX_PRE_2639_FLAG. However, as shown in > the Comment #0, CentOS 5.11 (kernel 2.6.18) lacks several other clock types > besides CLOCK_BOOTTIME, so the patch does not fix the failure for these > older kernels. > > I doubt it is worth pushing this any further, so I'll just attach the patch > here for reference. Now that the unit-test runner has been hauled out properly into dejagnu, I was thinking of this being the better way.