Il giorno 14/apr/2011, alle ore 16.32, Leonid Borisenko ha scritto: > Hi Roberto, > > I've been successful in compiling uWSGI 0.9.7.2 on OpenWRT 8.09 (it's > 2-year old stable version, I'm tied to it and can't update to trunk > now). I've compiled it for mipsel architecture with uClibc 0.9.30.3. > > But uWSGI exits soon after start with message 'unable to share mutex'. > > As I understand, this is not bug, but expected error, as ordinary > uClibc doesn't support PTHREAD_PROCESS_SHARED flag in > pthread_mutexattr_setpshared function. So I should investigate for > possibility to recompile uClibc with NPTL support. > > But I want to know, how strong is requirement of > PTHREAD_PROCESS_SHARED? Can uWSGI be somehow trivially changed to > compile without using of PTHREAD_PROCESS_SHARED or removing of this flag > will introduce massive rewriting of codebase?
edit builconf/default.ini and change locking from 'auto' to 'flock' (this is the way used by NetBSD/OpenBSD) > > BTW, some patching was required to compile uWSGI on uClibc 0.9.30.3. > If you are interested, look at attached patch. i will apply it soon, thanks -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
