From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24218 invoked by alias); 12 May 2007 07:42:21 -0000 Received: (qmail 24195 invoked by uid 22791); 12 May 2007 07:42:20 -0000 X-Spam-Check-By: sourceware.org Received: from cantor.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 12 May 2007 07:42:15 +0000 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 70C4A122D5 for ; Sat, 12 May 2007 09:42:12 +0200 (CEST) Received: from aj by arthur.inka.de with local (Exim 4.63) (envelope-from ) id 1HmmF1-0002UL-Bh for libc-hacker@sources.redhat.com; Sat, 12 May 2007 09:42:11 +0200 From: Andreas Jaeger To: GNU libc hackers Subject: tst-getcpu failure OpenPGP: id=C272A126; url=http://www.suse.de/~aj/keys.txt Date: Sat, 12 May 2007 07:42:00 -0000 Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2007-05/txt/msg00009.txt.bz2 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-length: 1071 tst-getcpu fails for me on x86-64: getcpu results 14 not possible This is one a one CPU system running Linux 2.6.18. Btw. the following patch fixes a warning about a missing getpid prototype. Ok to commit? Andreas 2007-05-12 Andreas Jaeger * sysdeps/unix/sysv/linux/tst-getcpu.c: Include for getpid. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Index: sysdeps/unix/sysv/linux/tst-getcpu.c --- sysdeps/unix/sysv/linux/tst-getcpu.c 11 May 2007 06:37:33 -0000 1.1 +++ sysdeps/unix/sysv/linux/tst-getcpu.c 12 May 2007 07:38:47 -0000 @@ -1,6 +1,7 @@ #include #include #include +#include =20 =20 static int --=20 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG N=FCrnberg) 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.4.5 (GNU/Linux) iD8DBQFGRW/QOJpWPMJyoSYRAjB7AJ4oOReXjOaor7sbAc96JxA+JRdZ2QCfYfP1 7YBdAdEkrj+rNrfLMS1RoXA= =pMqZ -----END PGP SIGNATURE----- --=-=-=--