From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2629 invoked by alias); 17 Apr 2004 15:53:24 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 2613 invoked from network); 17 Apr 2004 15:53:24 -0000 Received: from unknown (HELO Cantor.suse.de) (195.135.220.2) by sources.redhat.com with SMTP; 17 Apr 2004 15:53:24 -0000 Received: from hermes.suse.de (Hermes.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id C66D8478C3F; Sat, 17 Apr 2004 17:53:23 +0200 (CEST) Received: from aj by arthur.inka.de with local (Exim 4.30) id 1BEs8A-0007et-94; Sat, 17 Apr 2004 17:53:22 +0200 To: Ulrich Drepper Cc: Jakub Jelinek , Glibc hackers Subject: Re: [PATCH] Fix POSIX timers References: <20040415144952.GE514@sunsite.ms.mff.cuni.cz> <40815170.4070201@redhat.com> From: Andreas Jaeger Date: Sat, 17 Apr 2004 15:53:00 -0000 In-Reply-To: <40815170.4070201@redhat.com> (Ulrich Drepper's message of "Sat, 17 Apr 2004 08:46:56 -0700") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-SW-Source: 2004-04/txt/msg00043.txt.bz2 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-length: 2916 Ulrich Drepper writes: > Andreas Jaeger wrote: >> tst-timer4.out fails for me now on Linux/x86-64 running a 2.6.4 kernel >> with (using nptl): >>=20 >> clock_gettime returned timespec =3D { 1082189786, 576892000 } >> clock_getres returned timespec =3D { 0, 999848 } >> timer_settime with it_value 0 it_interval invalid failed: Invalid argume= nt >> timer_settime with it_value 0 it_interval invalid failed: Invalid argume= nt > > 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=3D/builds/glibc/hammer+nptl/iconvdata LC_ALL=3DC /builds/glibc= /hammer+nptl/elf/ld-linux-x86-64.so.2 --library-path /builds/glibc/hammer+n= ptl:/builds/glibc/hammer+nptl/math:/builds/glibc/hammer+nptl/elf:/builds/gl= ibc/hammer+nptl/dlfcn:/builds/glibc/hammer+nptl/nss:/builds/glibc/hammer+np= tl/nis:/builds/glibc/hammer+nptl/rt:/builds/glibc/hammer+nptl/resolv:/build= s/glibc/hammer+nptl/crypt:/builds/glibc/hammer+nptl/nptl /builds/glibc/hamm= er+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 =3D { 1082217097, 179058000 } clock_getres returned timespec =3D { 0, 999848 } And with linuxthreads: GCONV_PATH=3D/builds/glibc/hammer+linuxthreads/iconvdata LC_ALL=3DC /buil= ds/glibc/hammer+linuxthreads/elf/ld-linux-x86-64.so.2 --library-path /build= s/glibc/hammer+linuxthreads:/builds/glibc/hammer+linuxthreads/math:/builds/= glibc/hammer+linuxthreads/elf:/builds/glibc/hammer+linuxthreads/dlfcn:/buil= ds/glibc/hammer+linuxthreads/nss:/builds/glibc/hammer+linuxthreads/nis:/bui= lds/glibc/hammer+linuxthreads/rt:/builds/glibc/hammer+linuxthreads/resolv:/= builds/glibc/hammer+linuxthreads/crypt:/builds/glibc/hammer+linuxthreads/li= nuxthreads /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 =3D { 1082217091, 948454000 } clock_getres returned timespec =3D { 0, 999848 } *** thr2 guardsize 4096 !=3D 0 *** timer_gettime timer_none returned { -1.598084000, 0.000000000 } *** thr2 guardsize 4096 !=3D 0 Andreas --=20 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SuSE Linux AG, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GPG fingerprint =3D 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 --=-=-= Content-Type: application/pgp-signature Content-length: 188 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAgVLyOJpWPMJyoSYRAjxrAJ0bQgUfT4B1OTGog9h4GD9h/brH+wCcDYU3 5rB/iAxOTlWCJhaZp5EqqZs= =6Eol -----END PGP SIGNATURE----- --=-=-=--