mailing list of musl libc
 help / color / mirror / code / Atom feed
From: John Spencer <maillist-musl@barfooze.de>
To: musl@lists.openwall.com
Subject: Re: thread local storage
Date: Tue, 17 Jul 2012 00:06:53 +0200	[thread overview]
Message-ID: <5004907D.2000902@barfooze.de> (raw)
In-Reply-To: <20120716200350.GN544@brightrain.aerifal.cx>

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.)



      reply	other threads:[~2012-07-16 22:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-16 19:02 John Spencer
2012-07-16 18:57 ` Gregor Richards
2012-07-16 20:09   ` Rich Felker
2012-07-16 21:30     ` John Spencer
2012-07-16 22:18       ` Rich Felker
2012-07-16 19:58 ` Justin Cormack
2012-07-16 20:03 ` Rich Felker
2012-07-16 22:06   ` John Spencer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5004907D.2000902@barfooze.de \
    --to=maillist-musl@barfooze.de \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).