Re: [Cppcms-users] Getting ready to 1.0.5
Brought to you by:
artyom-beilis
|
From: Artyom B. <art...@ya...> - 2014-10-26 13:25:54
|
Ok... II installed NetBSD 6.1.5 on VBox and run the tests. 1st I didn't see clang but rather gcc is used systemwise so I tested with gcc (not really big difference I think) I did several fixed and adaptations for NetBSD and no problem with internal_forwarder_test and proto_* test werevisible BUT... I discovered a huge issue with TLS implementation in the pthreads library that requires workaround. If you run pthread_key_create more than 255 times (even if you call pthread_key_delete and release the keys) the key creation. 256 is the total number of TLS keys allowed at NetBSD. However pthread_key_delete does not "free" the spot - it caused all ICU tests that use TLS for optimization fail and it may cause other problems that aren't visible right now. Bottom line - TLS implementation requires workaround or fix in standard library for NetBSD to be used safely with CppCMS. I'll commit various fixes for NetBSD for 1.0.5 but I need to think whether to implement TLS workaround because it is a clear pthreads library bug that MUST be solved by NetBSD developers. Also service_test fix does not work as it looks like under NetBSD killall behaves differently. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ |