From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) by sourceware.org (Postfix) with ESMTPS id E285C393A420 for ; Thu, 20 May 2021 15:57:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E285C393A420 Received: by mail-oi1-x232.google.com with SMTP id v22so16860636oic.2 for ; Thu, 20 May 2021 08:57:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=w5k11v98xJdnWxe+gtlcT+742WpJkoBAU8VCCbfmWxk=; b=NP3rHYcqUa/FfL+6JpOOos2HhT9YYkTbRVROG7BveiVbMXq7whB1XB1QF+9GRhuuX6 Z2yrIzVlL98Iq8FqWUWd+vkqfYpS6EkkWR6lSiMqe5VRYEfU4UdDwPoANcpyfbBMejEg hUOFEOMlReAsD41Klu8NPcPxzp1PSAGYPUjC3I46esmtutSmQ05OCWcpTlSII/XbSPCC 98yC8hUMkbUP4rWFbT1G+V2arLHjvPOLuofIcXu2IDDzk9+DicDx7Sj6wEhPUDPqQeOG 0SU2zS0soVD6f+gCaQYgEKAuBToO1D89Ucu3FJ5Q0BVReOmd+xfK9sYy5m7R1kmcAlpm MLoA== X-Gm-Message-State: AOAM5327O5tg8JVlP08OhJJEiIG8HSKDqUiFn6/g9qFoS09+F4TSwbx1 P2Ysi0uKcVPQN61kPqxZcKCGogvqfMb62akx0cU= X-Google-Smtp-Source: ABdhPJy/lpydphYA51zE96/IfdWm2yAOItXNv/0FwfBomQyq5/ad9vob20IIAF1/SjmA2I/HyGiH6KdHfpT7obMtHaQ= X-Received: by 2002:aca:dd82:: with SMTP id u124mr3839125oig.35.1621526278359; Thu, 20 May 2021 08:57:58 -0700 (PDT) MIME-Version: 1.0 References: <87eee4ccpd.fsf@igel.home> <87v97g5bi9.fsf@oldenburg.str.redhat.com> <87a6oscbc0.fsf@igel.home> <87r1i459cb.fsf@oldenburg.str.redhat.com> <875yzgc8hi.fsf@igel.home> <87mtss57go.fsf@oldenburg.str.redhat.com> <871ra4c7kf.fsf@igel.home> <878s49pmbg.fsf@oldenburg.str.redhat.com> <87im3dwm2s.fsf@igel.home> <871ra1pl2v.fsf@oldenburg.str.redhat.com> <871ra1wi1o.fsf@igel.home> <875yzdl8is.fsf@oldenburg.str.redhat.com> In-Reply-To: <875yzdl8is.fsf@oldenburg.str.redhat.com> From: "H.J. Lu" Date: Thu, 20 May 2021 08:57:22 -0700 Message-ID: Subject: Re: [PATCH 00/10] nptl: Complete libpthread removal To: Florian Weimer Cc: Andreas Schwab , Florian Weimer via Libc-alpha Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3027.6 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 autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2021 15:58:00 -0000 On Thu, May 20, 2021 at 8:39 AM Florian Weimer wrote: > > * H. J. Lu: > > > On Thu, May 20, 2021 at 8:17 AM Andreas Schwab wrote: > >> > >> On Mai 20 2021, H.J. Lu wrote: > >> > >> > Can we ship a dummy linker script for libpthread.so to just > >> > satisfy -lpthread at link-time? > >> > >> -lpthread will be satisfied by libpthread.a. > >> > >> Andreas. > >> > > > > What is the problem then? We have to keep libpthread.so.0 for existing > > binaries. We just don't link against it for new binaries. > > I was a bit creative and patched the dynamic loader not to load > libpthread.so.0 ever (treating it as a reference to libc.so.6). If we > don't want to do that (and the consensus is moving in that direction), > then we need to keep the DSO around as an actual file. I think we should keep it as an actual DSO. -- H.J.