Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 17 Oct 2012 00:09:22 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: TLS (thread-local storage) support

* boris brezillon <b.brezillon.musl@...il.com> [2012-10-16 23:47:52 +0200]:
> > There's at least one thing (maybe more) missing for go support with
> > musl : gcc 'split-stack' support (see http://blog.nella.org/?p=849 and
> > http://gcc.gnu.org/wiki/SplitStacks).
> >

why does go need support from libc?

it has its own runtime and libraries on raw syscalls

> 4) Compile musl with '-fsplit-stack' and add no_split_stack attribute
> to appropriate functions (at least all functions called before
> pthread_self_init because %gs or %fs register is unusable before this
> call).
> 

what does a no_split_stack function do when it runs out of stack?

most functions in musl may be run before pthread_self_init
(it runs on demand when a pthread function is used)

what's the use of split stack if some functions may not work with it?

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.