public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Andreas Jaeger <aj@suse.de>
To: Ulrich Drepper <drepper@redhat.com>
Cc: Jakub Jelinek <jakub@redhat.com>,
	Glibc hackers <libc-hacker@sources.redhat.com>
Subject: Re: [PATCH] Fix POSIX timers
Date: Sat, 17 Apr 2004 15:53:00 -0000	[thread overview]
Message-ID: <m3r7um4n4f.fsf@gromit.moeb> (raw)
In-Reply-To: <40815170.4070201@redhat.com> (Ulrich Drepper's message of "Sat, 17 Apr 2004 08:46:56 -0700")

[-- Attachment #1: Type: text/plain, Size: 2902 bytes --]

Ulrich Drepper <drepper@redhat.com> writes:

> Andreas Jaeger wrote:
>> tst-timer4.out fails for me now on Linux/x86-64 running a 2.6.4 kernel
>> with (using nptl):
>> 
>> clock_gettime returned timespec = { 1082189786, 576892000 }
>> clock_getres returned timespec = { 0, 999848 }
>> timer_settime with it_value 0 it_interval invalid failed: Invalid argument
>> timer_settime with it_value 0 it_interval invalid failed: Invalid argument
>
> And what is the exit status of the test program?  It's zero, meaning the

It was non-zero.

> test does not fail.  I've made some changes to disable some tests which
> are really undefined and marked the real bugs more clearly.

Ok, I've just tried your changed version and get:

With nptl:
GCONV_PATH=/builds/glibc/hammer+nptl/iconvdata LC_ALL=C   /builds/glibc/hammer+nptl/elf/ld-linux-x86-64.so.2 --library-path /builds/glibc/hammer+nptl:/builds/glibc/hammer+nptl/math:/builds/glibc/hammer+nptl/elf:/builds/glibc/hammer+nptl/dlfcn:/builds/glibc/hammer+nptl/nss:/builds/glibc/hammer+nptl/nis:/builds/glibc/hammer+nptl/rt:/builds/glibc/hammer+nptl/resolv:/builds/glibc/hammer+nptl/crypt:/builds/glibc/hammer+nptl/nptl /builds/glibc/hammer+nptl/rt/tst-timer4  > /builds/glibc/hammer+nptl/rt/tst-timer4.out
Timed out: killed the child process
make[2]: *** [/builds/glibc/hammer+nptl/rt/tst-timer4.out] Error 1

$ cat rt/tst-timer4.out
clock_gettime returned timespec = { 1082217097, 179058000 }
clock_getres returned timespec = { 0, 999848 }


And with linuxthreads:
GCONV_PATH=/builds/glibc/hammer+linuxthreads/iconvdata LC_ALL=C   /builds/glibc/hammer+linuxthreads/elf/ld-linux-x86-64.so.2 --library-path /builds/glibc/hammer+linuxthreads:/builds/glibc/hammer+linuxthreads/math:/builds/glibc/hammer+linuxthreads/elf:/builds/glibc/hammer+linuxthreads/dlfcn:/builds/glibc/hammer+linuxthreads/nss:/builds/glibc/hammer+linuxthreads/nis:/builds/glibc/hammer+linuxthreads/rt:/builds/glibc/hammer+linuxthreads/resolv:/builds/glibc/hammer+linuxthreads/crypt:/builds/glibc/hammer+linuxthreads/linuxthreads /builds/glibc/hammer+linuxthreads/rt/tst-timer4  > /builds/glibc/hammer+linuxthreads/rt/tst-timer4.out
make[2]: *** [/builds/glibc/hammer+linuxthreads/rt/tst-timer4.out] Error 1
make[2]: Leaving directory `/cvs/libc/rt'
make[1]: *** [rt/tests] Error 2
make[1]: Leaving directory `/cvs/libc'
make: *** [check] Error 2
gromit:/builds/glibc/hammer+linuxthreads:[2]$ cat rt/tst-timer4.out
clock_gettime returned timespec = { 1082217091, 948454000 }
clock_getres returned timespec = { 0, 999848 }
*** thr2 guardsize 4096 != 0
*** timer_gettime timer_none returned { -1.598084000, 0.000000000 }
*** thr2 guardsize 4096 != 0


Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]

  reply	other threads:[~2004-04-17 15:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-16  2:02 Jakub Jelinek
2004-04-16 20:00 ` Ulrich Drepper
2004-04-17  8:56 ` Andreas Jaeger
2004-04-17 13:23   ` Andreas Jaeger
2004-04-17 15:47   ` Ulrich Drepper
2004-04-17 15:53     ` Andreas Jaeger [this message]
2004-04-17 15:57       ` Ulrich Drepper
2004-04-17 16:03         ` Andreas Jaeger
2004-04-18  2:02   ` Jakub Jelinek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3r7um4n4f.fsf@gromit.moeb \
    --to=aj@suse.de \
    --cc=drepper@redhat.com \
    --cc=jakub@redhat.com \
    --cc=libc-hacker@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).