Re: [zeromq-dev] ZeroMQ 4.1.5 runtime crash on iOS 10 SDK

2016-10-25 Thread Ahmad Zawawi
True. I will investigate that option. I am using the '-mios-version-min=8.0' flag. Obviously it has some disadvantages. Please see ( https://github.com/azawawi/libzmq-ios/blob/master/libzmq.sh#L88). The problem already occurred on a similar project (i.e. https://curl.haxx.se/mail/lib-2016-09/0043.h

Re: [zeromq-dev] ZeroMQ 4.1.5 runtime crash on iOS 10 SDK

2016-10-25 Thread Luca Boccassi
Hi, I think the build system it's already doing the right thing, which is to check if running on an apple system and if so, if the syscall is available or not and define it if needed. You said you built for IOS 10 and ran on IOS 9: if I understand correctly and the syscalls support is different b

Re: [zeromq-dev] ZeroMQ 4.1.5 runtime crash on iOS 10 SDK

2016-10-25 Thread Ahmad Zawawi
Thanks for your reply. It seems so. Please see the curl / iOS 10 discussion in the link that I sent earlier. Meanwhile, I made a workaround to patch src/platform.hpp after the configure stage ( https://github.com/azawawi/libzmq-ios/blob/master/platform-patched.hpp#L11). Unit tests are now working a

Re: [zeromq-dev] ZeroMQ 4.1.5 runtime crash on iOS 10 SDK

2016-10-24 Thread Laughing
There is no clock_gettime API in the IOS platform? Or some library should be linked? On 10/24/2016 16:34, Ahmad Zawawiwrote: Hi, I encountered today a clock_gettime run time crash while testing on iOS 9.0 and earlier using a libzmq.a that is compiled on an iOS 10.0 SDK. The Swift langu

[zeromq-dev] ZeroMQ 4.1.5 runtime crash on iOS 10 SDK

2016-10-24 Thread Ahmad Zawawi
Hi, I encountered today a clock_gettime run time crash while testing on iOS 9.0 and earlier using a libzmq.a that is compiled on an iOS 10.0 SDK. The Swift language bindings for iOS (https://github.com/azawawi/SwiftyZeroMQ) is currently using a bundled universal libzmq.a ( https://github.com/drewc