Wolf, Josef wrote:
> OK, I've tracked it down now.  Seems to be a stack overflow in busybox.
> Adding
> 
>   LDFLAGS += -Wl,-elf2flt="-r -s 65536"
> 
> to user/busybox/Makefile solves the problem.

Be careful: the "-s" option just changes the _initial_ thread's stack.

The stack size for subsequent threads is hard-coded into libpthread,
in uclibc.  You can override it with pthread_attr_init,
pthread_attr_setstacksize, and modifying all calls to pthread_create.
Unfortunately no global run-time setting.

-- Jamie
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to