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

[perl #117331] Time::HiRes::clock_gettime not implemented on Linux (regression?)

Thread Next
From:
Darin McBride
Date:
March 25, 2013 05:27
Subject:
[perl #117331] Time::HiRes::clock_gettime not implemented on Linux (regression?)
Message ID:
rt-3.6.HEAD-28177-1364189208-790.117331-75-0@perl.org
# 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.

This is, I think, the root cause of the failure:

http://www.cpantesters.org/cpan/report/fb45c356-93f5-11e2-8b69-0a4fc51cef80

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=library
    severity=high
    module=Time::HiRes
---
Site configuration information for perl 5.17.10:

Configured by root at Sun Mar 24 22:48:40 MDT 2013.

Summary of my perl5 (revision 5 version 17 subversion 10) configuration:
   
  Platform:
    osname=linux, osvers=3.7.10-gentoo, archname=x86_64-linux-thread-multi
    uname='linux naboo 3.7.10-gentoo #1 smp sat mar 2 07:34:20 mst 2013 x86_64 intel(r) core(tm) i7 cpu 930 @ 2.80ghz genuineintel gnulinux '
    config_args='-desr -Duse64bitall -Duselongdoubles -Dusethreads -Dusedevel -Dperladmin=dmcbride@cpan.org -Dprefix=/opt/myperl/5.17.10'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector'
    ccversion='', gccversion='4.6.3', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib/../lib64 /usr/lib/../lib64 /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.15.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.15'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'

Locally applied patches:
    

---
@INC for perl 5.17.10:
    /opt/myperl/5.17.10/lib/site_perl/5.17.10/x86_64-linux-thread-multi
    /opt/myperl/5.17.10/lib/site_perl/5.17.10
    /opt/myperl/5.17.10/lib/5.17.10/x86_64-linux-thread-multi
    /opt/myperl/5.17.10/lib/5.17.10
    .

---
Environment for perl 5.17.10:
    HOME=/home/dmcbride
    LANG=en_US.utf8
    LANGUAGE=
    LC_ALL=en_US.utf8
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/home/dmcbride/bin:/usr/lib/distcc/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3:/usr/x86_64-pc-linux-gnu/i686-pc-linux-gnu/gcc-bin/4.6.3:/opt/android-sdk-update-manager/tools:/opt/android-sdk-update-manager/platform-tools:/opt/nvidia-cg-toolkit/bin:/share/cvs/bin:/usr/local/bin:/usr/games/bin:/share/bin:/share/darin/bin
    PERL_BADLANG (unset)
    SHELL=/bin/bash


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