https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89432

--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> ---
Created attachment 46182
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46182&action=edit
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.

Reply via email to