It's true that there is a problem with PT_STACKSIZE limiting the size of the initial stack (which should be limited by RLIMIT_STACK instead), and that changing PT_STACKSIZE is a potential workaround. But.... Why is emacs getting linked with libpthread? - Nathan