2013/10/9 vo.x (Vit Ondruch) <v.ondruch / tiscali.cz>:
> Bug #9008: TestProcess#test_clock_getres_constants and  TestProcess#test_clock_gettime_constants fails on ARM
> https://bugs.ruby-lang.org/issues/9008

> I observe following two errors on ARM Building Ruby for Fedora Rawhide. It seems that (({:CLOCK_REALTIME_ALARM})) and (({:CLOCK_BOOTTIME_ALARM})) are not supported there. The error message is confusing, though :/

>  Errno::E524: Unknown error 524 - clock_gettime

This means clock_gettime() causes an error and errno is 524.

Why clock_gettime on Fedora Rawhide (ARM) doesn't cause EINVAL for
such constants?

http://pubs.opengroup.org/onlinepubs/9699919799/functions/clock_getres.html
|
|    [EINVAL]
|        The clock_id argument does not specify a known clock.
-- 
Tanaka Akira