From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hera.aquilenet.fr (hera.aquilenet.fr [185.233.100.1]) by sourceware.org (Postfix) with ESMTPS id CA70D385E445 for ; Tue, 15 Dec 2020 18:56:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CA70D385E445 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=samuel.thibault@ens-lyon.org Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 10FDBE15; Tue, 15 Dec 2020 19:56:52 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KE8_M_yYW38P; Tue, 15 Dec 2020 19:56:51 +0100 (CET) Received: from function.youpi.perso.aquilenet.fr (unknown [IPv6:2a01:cb19:956:1b00:9eb6:d0ff:fe88:c3c7]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 17DF8DE7; Tue, 15 Dec 2020 19:56:50 +0100 (CET) Received: from samy by function.youpi.perso.aquilenet.fr with local (Exim 4.94) (envelope-from ) id 1kpFVC-002bhx-2s; Tue, 15 Dec 2020 19:56:50 +0100 Date: Tue, 15 Dec 2020 19:56:50 +0100 From: Samuel Thibault To: Vivek =?utf-8?Q?Das=C2=A0Mohapatra?= Cc: libc-alpha Subject: Re: [RFC][PATCH v6 18/20] Add DT_GNU_FLAGS_1/DF_GNU_1_UNIQUE dynamic section+flag to glibc DSOs Message-ID: <20201215185650.6wtkmnn4zcxued3b@function> References: <20201215184500.25915-1-vivek@collabora.com> <20201215184500.25915-19-vivek@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201215184500.25915-19-vivek@collabora.com> Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_NEUTRAL, 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: Tue, 15 Dec 2020 18:56:55 -0000 Hello, Vivek Das Mohapatra via Libc-alpha, le mar. 15 déc. 2020 18:44:58 +0000, a ecrit: > libc.so, libpthread.so etc should have the new unique-dso-by-default > flag set to allow dlmopen to work better (libc et al instance shared > by default when DSOs dlmopened into a new namespace). > --- > diff --git a/nptl/Makefile b/nptl/Makefile > index ddd83dfbdd..314931cbaa 100644 > --- a/nptl/Makefile > +++ b/nptl/Makefile > @@ -354,7 +354,7 @@ else > tests-printers-libs := $(static-thread-library) > endif > > -LDFLAGS-pthread.so = -Wl,--enable-new-dtags,-z,nodelete,-z,initfirst > +LDFLAGS-pthread.so = -Wl,--enable-new-dtags,-z,unique,-z,nodelete,-z,initfirst > > tests += tst-cancelx7 tst-cancelx17 tst-cleanupx4 Please also do the same in htl/Makefile Samuel