mailing list of musl libc
 help / color / mirror / code / Atom feed
* getcontext etc was Re: [musl] Re: go support (was: Best place to discuss other lightweight libraries?)
@ 2014-06-23 21:09 Justin Cormack
  2014-06-23 22:32 ` Rich Felker
  0 siblings, 1 reply; 8+ messages in thread
From: Justin Cormack @ 2014-06-23 21:09 UTC (permalink / raw)
  To: musl

On Wed, Apr 24, 2013 at 2:42 PM, Rich Felker <dalias@aerifal.cx> wrote:
>> i tried to build gcc 4.7.2 with go support (--enable-languages=c,c++,go)
>> and that fails due to a lack of set/getcontext().
>> (see pkg/gcc472 in sabotage)
>>
>> according to rich, adding that to musl requires a non-trivial amount
>> of arch specific asm.
>
> Yes, but it is a wanted feature, so I wouldn't mind it getting done.
> It was even part of the standard prior to POSIX 2008, and the reason
> for removing it was stupid. (The reason was that the makecontext
> function's calling convention is bogus and impossible to support
> properly, but they could have fixed this by deprecating the use of the
> variadic arguments in any way except passing a single void* argument,
> rather than deprecating the whole set of interfaces.)

Just to revive this post 1.0, it would be very nice indeed to have
set,get,swapcontext.

Justin


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-06-30 18:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-23 21:09 getcontext etc was Re: [musl] Re: go support (was: Best place to discuss other lightweight libraries?) Justin Cormack
2014-06-23 22:32 ` Rich Felker
2014-06-24 10:05   ` Justin Cormack
2014-06-24 10:12     ` Timo Teras
2014-06-24 13:17       ` Rich Felker
2014-06-27 19:41   ` Andy Lutomirski
2014-06-27 20:36     ` Rich Felker
2014-06-30 18:34       ` Andy Lutomirski

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