You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Essentially, I'm unable to fully build the Boost 1.67 libraries for armeabi-v7a and x86. This is very easy to reproduce for me.... All I had to do is run the following on the latest master branch with r16b and 15 seconds into the compilation step, it errored:
The fix is easy, which is just to change a couple lines in thread/detail/config.hpp to not call pthread_condattr_setclock. @gjasny has already provided a patch for this specific issue in 1.67 and fixed it in 1.68. Full details here explained here: boostorg/thread#215
After adding this patch to the code along with the existing code, I was able to compile all libraries on armeabi-v7a and x86 on Android API 19.
I'm going to create a pull request with a new patch file for 1.67 that includes this fix. I'll link the merge request ASAP.
The text was updated successfully, but these errors were encountered:
epicstar
changed the title
Boost 1.67: Android < 21 builds Crash Since pthread_condattr_setclock is Called Since Method is Available in Android >= 21
Boost 1.67: Android < 21 builds Error Since pthread_condattr_setclock is Called When Method is Only Avaliable in Android >= 21
Apr 27, 2018
epicstar
pushed a commit
to MModal/Boost-for-Android
that referenced
this issue
Apr 27, 2018
Essentially, I'm unable to fully build the Boost 1.67 libraries for armeabi-v7a and x86. This is very easy to reproduce for me.... All I had to do is run the following on the latest master branch with r16b and 15 seconds into the compilation step, it errored:
./build-android.sh $ANDROID_NDK_ROOT --toolchain=llvm --arch=armeabi-v7a
The fix is easy, which is just to change a couple lines in
thread/detail/config.hpp
to not callpthread_condattr_setclock
. @gjasny has already provided a patch for this specific issue in 1.67 and fixed it in 1.68. Full details here explained here: boostorg/thread#215After adding this patch to the code along with the existing code, I was able to compile all libraries on armeabi-v7a and x86 on Android API 19.
I'm going to create a pull request with a new patch file for 1.67 that includes this fix. I'll link the merge request ASAP.
The text was updated successfully, but these errors were encountered: