From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22540 invoked by alias); 8 Mar 2004 09:46:33 -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 22524 invoked from network); 8 Mar 2004 09:46:32 -0000 Received: from unknown (HELO Cantor.suse.de) (195.135.220.2) by sources.redhat.com with SMTP; 8 Mar 2004 09:46:32 -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 DFDB02B3AE5 for ; Mon, 8 Mar 2004 10:46:31 +0100 (CET) To: GNU libc hackers Subject: Fix i686 build with linuxthreads/tls From: Andreas Jaeger Date: Mon, 08 Mar 2004 09:46:00 -0000 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Rational FORTRAN, linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-SW-Source: 2004-03/txt/msg00019.txt.bz2 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-length: 1137 I need the appended patch to compile on i686 with linuxthreads/tls. Ok to commit? Andreas 2004-03-08 Andreas Jaeger * sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT_KERNEL_CHECK): dl_osversion is readonly. =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: linuxthreads/sysdeps/i386/tls.h --- linuxthreads/sysdeps/i386/tls.h 7 Mar 2004 22:13:42 -0000 1.34 +++ linuxthreads/sysdeps/i386/tls.h 8 Mar 2004 09:45:12 -0000 @@ -118,7 +118,7 @@ typedef struct # else # include "useldt.h" /* For the structure. */ # define TLS_DO_MODIFY_LDT_KERNEL_CHECK(doit) \ - (__builtin_expect (GL(dl_osversion) < 131939, 0) \ + (__builtin_expect (GLRO(dl_osversion) < 131939, 0) \ ? "kernel too old for thread-local storage support\n" \ : (doit)) # endif --=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.2 (GNU/Linux) iD8DBQBATED3OJpWPMJyoSYRAnjmAJoCUKBzITZ73kmdG0KaUkTy6Du+OgCfZmal RhGpgpUGNfbLEi40UiZO1kQ= =/Snm -----END PGP SIGNATURE----- --=-=-=--