From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1310 Path: news.gmane.org!not-for-mail From: John Spencer Newsgroups: gmane.linux.lib.musl.general Subject: Re: thread local storage Date: Tue, 17 Jul 2012 00:06:53 +0200 Message-ID: <5004907D.2000902@barfooze.de> References: <50046559.3090204@barfooze.de> <20120716200350.GN544@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1342475836 26750 80.91.229.3 (16 Jul 2012 21:57:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2012 21:57:16 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1311-gllmg-musl=m.gmane.org@lists.openwall.com Mon Jul 16 23:57:15 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 1SqtI0-0000YS-1h for gllmg-musl@plane.gmane.org; Mon, 16 Jul 2012 23:57:12 +0200 Original-Received: (qmail 16054 invoked by uid 550); 16 Jul 2012 21:57:11 -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 16046 invoked from network); 16 Jul 2012 21:57:11 -0000 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Mail/1.0 In-Reply-To: <20120716200350.GN544@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:1310 Archived-At: On 07/16/2012 10:03 PM, Rich Felker wrote: > On Mon, Jul 16, 2012 at 09:02:49PM +0200, John Spencer wrote: >> luajit builds without problems on musl, but then crashes due to a >> lack of TLS. > Then the gcc was built wrong. --disable-tls should be passed when > building gcc so that attempts to use __thread generate a compile error > (to be detected in configure). aww, i was sure it did, but i have missed that one. using a fixed gcc4, luajit apparently falls back to the OSX workaround and appears to work so far. both luajit and the fixed gcc build script is now in sabotage. (needs a "butch rebuild gcc4" after updating the pkgs.)