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

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
(In reply to Uroš Bizjak from comment #0)
> libphobos testing on x86_64 CentOS 5.11 fails a testcase:
> 
> 
> There is the following code in time.d:
> 
>     static bool clockSupported(ClockType c)
>     {
>         version (Linux_Pre_2639) // skip CLOCK_BOOTTIME on older linux
> kernels
>             return c != ClockType.second && c != ClockType.bootTime;
>         else
>             return c != ClockType.second; // second doesn't work with
> MonoTimeImpl
> 
> but it looks that Linux_Pre_2639 is not handled correctly. Depending on
> which kernel is considered the oldest supported kernel, version should also
> check for 2.6.28, 2.6.32 and 2.6.12:
> 

Linux_Pre_2639 is not an implicit version, and requires explicit detection and
adding '-fversion=Linux_Pre_2639' to GDCFLAGSX in the configure/testsuite
scripts.

Reply via email to