Helmut Grohne <[email protected]> writes: > On Wed, Oct 11, 2017 at 03:24:50PM +0200, Ferenc Wágner wrote: > >> #hurd confirmed that this is a Hurd bug in glibc, and promised a fix it >> in the next upload. So I guess an unconditional check for >> _POSIX_MONOTONIC_CLOCK being positive would be a good general solution. >> Do you agree? > > I do agree that hurd should fix this. Yet, it may not be the thing to > rely on here.
It was the explicit recommendation I got on #hurd: "just use the POSIX interface." If that breaks on Hurd right now, that's fine. The bug will be fixed shortly. > Testing for a working CLOCK_MONOTONIC is something that many projects > do. Aren't these all manifestations of the same misguided attempt to work around the above bug in Hurd? In what other cases is this check necessary? > So a good thing to do here would be to make the check cacheable > (AC_CACHE_CHECK). How does that help cross-compilation, where the check can't run at all? -- Thanks, Feri

