On Tuesday 26 June 2012 05:29:29 Timon ter Braak wrote:
> I am trying to build a gccgo (go language) cross compiler targetting an
> ARM system. Go uses the context control routines for coorperative
> multithreading. uClibc however does not implement them, so I am trying
> to port the functions to uClibc.
> 
> The routines are available in glibc and eglibc, and for other
> architectures [1]. My port builds correctly, but segfaults while running.
> 
> I noticed that (for example) the getcontext routine is quite different
> from the setjmp routine shipped with uClibc. Can anybody give me some
> pointers in what should be altered?
> 
> A patch of my attempt is attached.

you'll need to make them depend on UCLIBC_SUSV3_LEGACY as these functions have 
been removed from the latest POSIX spec and shouldn't be enabled/built by 
default
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to