2009/5/1 Jonathan Hunter <[email protected]>

2009/4/28 Gustavo AndrĂ©s Angulo <[email protected]>
>>
>>> compile with uclibc 0.9.28 and test this, or you can test with eglibc and
>>> test this aplication.
>>
>>
> I have now tested with uclibc 0.9.28 and the app does not hang when it
> starts up - thank you very much! (I have not yet managed to set up eglibc)
>

An update for anybody searching for sqlite / pthread issues on OpenWRT.

Switching to uclib 0.9.28 solved the 'hang on startup' problem, but
introduced another - namely, my sqlite app no longer hangs but instead
aborts when opening the database.

strace here for those who are interested:
http://pastebin.ca/1409237

To fix this, I modified the Makefile for sqlite and disabled multithreading
support.

The makefile in question was package/feeds/packages/sqlite3/Makefile, and
the change required was to add "--disable-threadsafe" to CONFIGURE_ARGS.
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to