Hello, On 3/19/18 2:28 PM, Daniel James via Boost-users wrote:
Boost release 1.67.0 beta 1 is now available at: Please download the beta, give it a try, and report any problems you encounter.
I got a build warning in Python Jamfile which is fixed by: https://github.com/boostorg/python/commit/d515eb82c8a1e007651b1e7d75a3141fdc... I got this warning:
/Users/gjasny/Git/ExternalLibs/boost/libs/predef/check/../tools/check/predef.jam:46: Unescaped special character in argument $(language)::$(expression)
I got this error:
./b2 toolset=clang 'cxxflags=-arch i386 -arch x86_64'
/Users/gjasny/Git/ExternalLibs/boost/libs/predef/check/../tools/check/predef.jam:46: Unescaped special character in argument $(language)::$(expression) /Users/gjasny/Git/ExternalLibs/boost/tools/build/src/build/configure.jam:288: in try-find-build *** argument error * rule log-check-result ( result ) * called with: ( ) * missing argument result /Users/gjasny/Git/ExternalLibs/boost/tools/build/src/build/configure.jam:86:see definition of rule 'log-check-result' being called /Users/gjasny/Git/ExternalLibs/boost/tools/build/src/build/configure.jam:391: in find-builds-raw /Users/gjasny/Git/ExternalLibs/boost/tools/build/src/build/configure.jam:450: in configure.find-builds /Users/gjasny/Git/ExternalLibs/boost/boostcpp.jam:690: in boostcpp.deduce-address-model /Users/gjasny/Git/ExternalLibs/boost/tools/build/src/kernel/modules.jam:107: in modules.call-in /Users/gjasny/Git/ExternalLibs/boost/tools/build/src/util/indirect.jam:105: in indirect.call /Users/gjasny/Git/ExternalLibs/boost/tools/build/src/build/property.jam:144: in property.evaluate-conditionals-in-context /Users/gjasny/Git/ExternalLibs/boost/tools/build/src/build/targets.jam:1087: in evaluate-requirements /Users/gjasny/Git/ExternalLibs/boost/tools/build/src/build/targets.jam:1121: in common-properties2 /Users/gjasny/Git/ExternalLibs/boost/tools/build/src/build/targets.jam:1017: in targets.common-properties /Users/gjasny/Git/ExternalLibs/boost/tools/build/src/build/targets.jam:1313: in alias-target-class.generate /Users/gjasny/Git/ExternalLibs/boost/boostcpp.jam:500: in build-multiple /Users/gjasny/Git/ExternalLibs/boost/boostcpp.jam:490: in class@top-level-target.generate /Users/gjasny/Git/ExternalLibs/boost/tools/build/src/build/targets.jam:812: in generate-really /Users/gjasny/Git/ExternalLibs/boost/tools/build/src/build/targets.jam:784: in class@main-target.generate /Users/gjasny/Git/ExternalLibs/boost/tools/build/src/build/targets.jam:273: in class@project-target.generate /Users/gjasny/Git/ExternalLibs/boost/tools/build/src/build-system.jam:797: in load /Users/gjasny/Git/ExternalLibs/boost/tools/build/src/kernel/modules.jam:295: in import /Users/gjasny/Git/ExternalLibs/boost/tools/build/src/kernel/bootstrap.jam:139: in boost-build /Users/gjasny/Git/ExternalLibs/boost/boost-build.jam:17: in module scope
I guess b2 when trying to deduce compiler settings stumbles over 'cxxflags=-arch i386 -arch x86_64'. In case that's accepted behavior, how could I specify architectures for a fat library? When compiling for Android with API level 14 (~Android 4.0.0) and NDK r16b I see the following error:
build 03-Apr-2018 04:49:18 clang-linux.compile.c++.without-pth /home/bamboo/bamboo-agent-home/xml-data/build-dir/EL-BOOST7-AC/_output/Applications_Android_armeabi-v7a_cxx14/boost/bin.v2/libs/log/build/clang-linux-android/debug/link-static/pch-off/target-os-android/threadapi-pthread/threading-multi/text_file_backend.o build 03-Apr-2018 04:49:18 In file included from libs/log/src/text_file_backend.cpp:61: build 03-Apr-2018 04:49:18 In file included from ./boost/thread/mutex.hpp:16: build 03-Apr-2018 04:49:18 In file included from ./boost/thread/pthread/mutex.hpp:26: build 03-Apr-2018 04:49:18 ./boost/thread/pthread/pthread_helpers.hpp:28:15: error: use of undeclared identifier 'pthread_condattr_setclock'; did you mean 'pthread_condattr_setpshared'? build 03-Apr-2018 04:49:18 pthread_condattr_setclock(&attr, CLOCK_MONOTONIC); build 03-Apr-2018 04:49:18 ^~~~~~~~~~~~~~~~~~~~~~~~~ build 03-Apr-2018 04:49:18 pthread_condattr_setpshared build 03-Apr-2018 04:49:18 /home/bamboo/bamboo-agent-home/xml-data/build-dir/EL-BOOST7-AC/_toolchain_arm_android-14/bin/../sysroot/usr/include/pthread.h:122:5: note: 'pthread_condattr_setpshared' declared here build 03-Apr-2018 04:49:18 int pthread_condattr_setpshared(pthread_condattr_t* __attr, int __shared); build 03-Apr-2018 04:49:18 ^ build 03-Apr-2018 04:49:18 1 error generated. build 03-Apr-2018 04:49:18 I'll have a look at the Android error myself, but would like to get some feedback for the b2 vs. -arch issue.
Thanks, Gregor