From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13585 Path: news.gmane.org!.POSTED!not-for-mail From: Markus Wichmann Newsgroups: gmane.linux.lib.musl.general Subject: Re: pthread_key_create bug? Date: Tue, 8 Jan 2019 20:34:54 +0100 Message-ID: <20190108193454.GE29911@voyager> References: <84B22C11-AA93-47FD-8352-A4F18B19F689@gmail.com> <5c1d9cf6-1b53-7082-5dee-8673ed4c55e9@adelielinux.org> <20190107021128.GW23599@brightrain.aerifal.cx> <20190107171327.GD29911@voyager> <20190108000018.GZ23599@brightrain.aerifal.cx> <20190108084310.GD4305@example.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1546976015 25780 195.159.176.226 (8 Jan 2019 19:33:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 8 Jan 2019 19:33:35 +0000 (UTC) User-Agent: Mutt/1.10.1 (2018-07-13) To: musl@lists.openwall.com Original-X-From: musl-return-13601-gllmg-musl=m.gmane.org@lists.openwall.com Tue Jan 08 20:33:31 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1ggx7x-0006ZG-U1 for gllmg-musl@m.gmane.org; Tue, 08 Jan 2019 20:33:30 +0100 Original-Received: (qmail 30719 invoked by uid 550); 8 Jan 2019 19:35:39 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 30701 invoked from network); 8 Jan 2019 19:35:38 -0000 Content-Disposition: inline In-Reply-To: <20190108084310.GD4305@example.net> X-Provags-ID: V03:K1:wyMKzWAkOA8nmiapGWALJ2o1vYGCDI1YyDvBddzolr2jwlqDLER gcaOyiss4ATYnx7a0SNxW5rPGIB3WHL/MghKkPi44tnTn9Zh1QGCXMip0CE1NYbT2a9NIv9 VOs0+jc8S7vS6yAYxpR8fl0g/U7DDbkWnCPwbgf9IUNOsbQr0wabNqA4QyKWZKNeMH3XqnA JScXphqFYjUdGo8i+byiA== X-UI-Out-Filterresults: notjunk:1;V03:K0:biY8atfOHp0=:Kdbenl52yvLeHQxD+QpdCd Zf88OL4dpCLAqVzbV9M85++itP1H6nudEswiw9cnKfLrPgVo9QurMpztlR9LLlsQ7fwoplDnP J3u5FUdrgHaJRntewehjNwT23vpPi9LNczR0CnB8QzvHWekFjY8pe9jEgftLBpudszBz2QUFs cM31Us3TFUxXEFd+YymVqHMhKQvKU18lFivRpTpQAcFsGg5/NatTNUBE3xE6Z9j0aOaNAG9Vb OYUnYMBLLtCBPOuJU3XOqNET9gwF0oEfvJi7eGi/gkCUzm1vcwcrzG2GkfARxjBJuF+Ii5miZ 1PKLAmi2BAlfzjxcmPL3wj6/gdwJzSpzY8wXnQdtf7hSSYBQ1Pbd2n18G8arHWWN7+PEi/+rt xIAdPIqcBq+MslvdlbPJzXVeZvVuhUBNINbhfE6Et9C/apXRkK8pG14htq6NXkCK7BpA5ZhnS yVUWD7S/2RzCGTIf6L+cVriENdhvGX+wJSh9r3IAdM2N2Tt3at8yscrZs9ZlLYMo/cIvXjF9G 2AGm8maFLyS9k7it3GJpBC0YitQVneoSaeHhtUsm6rFWC4sWQ9UCdh8DUEQ9x+cgopEDVBOKB OuQy5W+zdyXOY9Aqti4/xwOU6HfRCVcYLTOiziDMgRlkfvTjFIJuRkqD6n6pqPCq6ZPKwg4oC VmOyj4vS2eLXIB/y3vO09Eyn92/9odrXSQfRRod4VCou8w3A9xlJDGed95ow5L2Q76xN9d7YZ nd2al0FWxW1d/KL1pFChLocmEp9PcOHISk7h+aeeM5V1zBOVkdcoLzovym3TtBVstTP0sQ3v Xref: news.gmane.org gmane.linux.lib.musl.general:13585 Archived-At: On Tue, Jan 08, 2019 at 09:43:10AM +0100, u-uy74@aetey.se wrote: > On Mon, Jan 07, 2019 at 07:00:18PM -0500, Rich Felker wrote: > > > > > > +extern hidden weak void __pthread_key_delete_synccall(void (*f)(void *), void *p); > > > musl on the basis (perhaps somewhat dubious) that they're an > > additional toolchain feature that might cause problems reusing the > > code in non-ELF contexts (this may affect midipix; I'm not sure). > > Thanks. That's no doubt, the less the reliance on toolchain features, > the easier to use, especially in the ways/areas not known in advance. > > Rune > Well, what happens on midipix with this patch? Worst case scenario is, the toolchain doesn't do weak references, and the reference becomes strong. So that would leave you no worse than the current situation. Or am I missing the point? Ciao, Markus