develooper Front page | perl.perl5.porters | Postings from March 2013

Re: [perl #117331] Time::HiRes::clock_gettime not implemented onLinux (regression?)

Thread Previous | Thread Next
From:
James E Keenan
Date:
March 28, 2013 01:02
Subject:
Re: [perl #117331] Time::HiRes::clock_gettime not implemented onLinux (regression?)
Message ID:
20130328010211.28646.qmail@lists-nntp.develooper.com
On 3/25/13 1:26 AM, Darin McBride wrote:
> # New Ticket Created by  Darin McBride
> # Please include the string:  [perl #117331]
> # in the subject line of all future correspondence about this issue.
> #<URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=117331>
>
>
>
> This is a bug report for perl from dmcbride@cpan.org,
> generated with the help of perlbug 1.39 running under perl 5.17.10.
>
>
> -----------------------------------------------------------------
> [Please describe your issue here]
>
> This seems to be a regression:
>
> $ perl5.16.3 -MTime::HiRes -le 'print Time::HiRes::clock_gettime (Time::HiRes::CLOCK_MONOTONIC ())'
> 1597643.86352558
> $ perl5.17.10 -MTime::HiRes -le 'print Time::HiRes::clock_gettime (Time::HiRes::CLOCK_MONOTONIC ())'
> Time::HiRes::clock_gettime(): unimplemented in this platform at -e line 1.
>

Well, FWIW, it's not implemented on this older Darwin, either:

#####
$ perl -V
Summary of my perl5 (revision 5 version 16 subversion 0) configuration:

   Platform:
     osname=darwin, osvers=8.11.0, archname=darwin-2level
     uname='darwin macintosh-8.local 8.11.0 darwin kernel version 
8.11.0: wed oct 10 18:26:00 pdt 2007; root:xnu-792.24.17~1release_ppc 
power macintosh powerpc '
...
     ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build 5250)', 
gccosandvers=''
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
     alignbytes=8, prototype=define
...

$ perl -MTime::HiRes -le 'print Time::HiRes::clock_gettime 
(Time::HiRes::CLOCK_MONOTONIC ())'
Your vendor has not defined Time::HiRes macro CLOCK_MONOTONIC, used at 
-e line 1.


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About