From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-x112b.google.com (mail-yw1-x112b.google.com [IPv6:2607:f8b0:4864:20::112b]) by sourceware.org (Postfix) with ESMTPS id A33233858417 for ; Wed, 13 Dec 2023 17:54:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A33233858417 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A33233858417 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::112b ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702490048; cv=none; b=d5pEpUkJ0hmk2OWPXnHLWNZcHtcV7SZqVU870CcFUVqxbZ+IOqdq1j7peicFrMXbOIS0cs6R1XZ3S4eUsMCphuWzQ9koHOXnAP9hms2KbjC2gE4gFMi3eEGw89u+rC2uBxVncfzEa/AastBDMCWiiFz/cf6YiFzivgyzW4gQNS0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702490048; c=relaxed/simple; bh=7r9HWZFE0oN88JpMTu4vF4mVzpfN/OEiC3A0hUic11Y=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=vNR7ejRvqXJZOk3hEEieGKpbLnWd1OzZTV0nggIPAp8S2UPwKE/n+elgsqlraIn9Ww6mECer4tsZVCLUBRdnB3xXcCbPi3mxX+fg2J4IQEc1NHvSjOfbZZ8DiRf8DFfeWLB+eexsKY2EIhkloxrJ0J3jqXmmTnzw4XZpmbQMbpo= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-5e35405c50cso1184357b3.1 for ; Wed, 13 Dec 2023 09:54:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702490045; x=1703094845; darn=gcc.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=IBydudm+PQWQyb4sBF16yY3KQBp0I0fpk0o4fcq/9P4=; b=Q36hER/R/icPbJGR9bXXhubGR+js/zybyACBet2fzVcl3/XApGsO+hCdOKasnOPfFv 0TC4HhkB3rcpkzO+t9MmhMoWa/TxYSoVX1RtvRQN7QIabNr79NjcnXJSRQVWwlWquhkC c95xkJMblJBURBLiKibnpMTdFLmW83JPzVkj8ZpeTe2/esYeMSC9NShRviza1U5KU8Oz zneKAF00jO/luQdQonlnpEFBG0r3uEbHUerrS/FHeA2aJM8Cfhl0U7jP+4hJb/XtG9ip vUX6Ev3PxAFbAMXn8KJKOJCo2vq44nV14bN+JoLITO76YrJTZdqqRGKgYU7Nv4uEKJYc I+kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702490045; x=1703094845; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IBydudm+PQWQyb4sBF16yY3KQBp0I0fpk0o4fcq/9P4=; b=bB9NcsOWCFFRjQX6NLVVvCGVQ54uFAdbycDYP3ZnDK1jj7tW/OI1E0bK+KiT/pLWZe b3ywRW5MvEmXSjBbsCvKlpv/quhyDQx/35YZAtrIXir0V2lGCF7z4HvUhH003OigeV+/ P0HzuV2ADSZcfDcfMvaeQu3ZoQ5Ur52M2/3DBYflAq+F8f9L6RYxM1/Z6PgZkva7lyE8 Gye9k28ZwVOl7LrMxkhYrjO7dE78O47ozrDbP55Mn4OcBtGiLx31kyKkdq7X2aYqbGUC 3q5vNgYe5E2KNhdOcKkg8S4S9HWEAqga5cRAivsmBfNl9KVxBju/80NUX9RcX+tG/PLJ ia2w== X-Gm-Message-State: AOJu0YysqUtFQDGi5PK6+SfnOdnQTLhbnrJuwWRcUXXcBYAYhsDFYdj0 DBObu92025Bwr6hkJ/FC2SDuephTTKQdn99TZT4= X-Google-Smtp-Source: AGHT+IGg/RiJA1Fr76FlSo8m3G4bQ8xN2fFcqZCodd0OKTKRYnI9Q1sMXsiDPb52dXE+ERydpnOb0WXgEempBG5wWE8= X-Received: by 2002:a81:8ac1:0:b0:5d3:b0e6:a1f2 with SMTP id a184-20020a818ac1000000b005d3b0e6a1f2mr7203367ywg.20.1702490045000; Wed, 13 Dec 2023 09:54:05 -0800 (PST) MIME-Version: 1.0 References: <871qbqp4of.fsf@oldenburg.str.redhat.com> In-Reply-To: <871qbqp4of.fsf@oldenburg.str.redhat.com> From: "H.J. Lu" Date: Wed, 13 Dec 2023 09:53:29 -0800 Message-ID: Subject: Re: Switching x86_64-linux-gnu to GNU2 TLS descriptors by default To: Florian Weimer Cc: gcc@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3015.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Wed, Dec 13, 2023 at 6:19=E2=80=AFAM Florian Weimer via Gcc wrote: > > I feel like I have asked this before. Currently, GCC uses calls to > __tls_get_addr to obtain the address of global-dynamic TLS variables. > On other architectures with support for GNU2 TLS descriptors, those are > used by default. > > Should we flip the default to GNU2 descriptors? Support has been > available in glibc for a long, long time. Is there any other reason for > not doing this? On the glibc side, the behavior regarding lazy > initialization and symbol binding does not change whether the old or new > interface is used. > > Thanks, > Florian > It sounds good to me. Thanks. --=20 H.J.