From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2107 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: TLS support for (almost) all supported archs Date: Mon, 15 Oct 2012 19:07:23 -0400 Message-ID: <20121015230723.GA787@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1350342975 9917 80.91.229.3 (15 Oct 2012 23:16:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Oct 2012 23:16:15 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2108-gllmg-musl=m.gmane.org@lists.openwall.com Tue Oct 16 01:16:20 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1TNttO-0007Ks-0x for gllmg-musl@plane.gmane.org; Tue, 16 Oct 2012 01:16:14 +0200 Original-Received: (qmail 20065 invoked by uid 550); 15 Oct 2012 23:16:05 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 20049 invoked from network); 15 Oct 2012 23:16:05 -0000 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:2107 Archived-At: As of the latest commit, thread-local storage is working for i386, x86_64, ARM, MIPS, and is theoretically partially working for microblaze (I have no test platform for it yet, and some of the dynamic linker relocation stuff is missing for some usage cases). This brings us a lot closer to the next release, in which TLS and microblaze support (hopefully for both of them together!) will be the highlights. Most testing so far has been dumb test-cases, so if anybody has real-world apps that make heavy use of TLS that would be good trials to see if TLS is "really working", please try and let me know how it goes. One further change I've been considering and might try to get in before this release is C++ ABI compatibility. It looks like not many types would need changing to make musl name-mangling-ABI-compatible with C++ apps linked to glibc, but I haven't looked into the issues in detail yet. If you're looking for something to help out with, figuring out how extensive the changes would need to be would be a very helpful task (and would help determine if it's feasible at all, as well as if it's feasible to target in the next release). Rich