Description
Hi,
I am currently using boost 1.84 in an application were I use boost context + boost fibers to achieve userland threading. This project also uses gcc sanitizers to check for vulnerabilities. Therefore I follow the instructions provided:
"Sanitizers (GCC/Clang) are confused by the stack switches. The library (and Boost.Context too) is required to be compiled with property (b2 command-line) context-impl=ucontext and compilers santizer options. Users must define BOOST_USE_ASAN before including any Boost.Context headers when linking against Boost binaries" (https://live.boost.org/doc/libs/1_87_0/libs/fiber/doc/html/fiber/stack/sanitizers.html)
This works fine for 1.84, but after trying to uplift to boost 1.87 i get the following issue:
./b2 -j8 define=BOOST_USE_UCONTEXT context-impl=ucontext
xxx/boost_1_87_0/tools/build/src/build/feature.jam:327: in validate-feature from module feature
error: unknown feature context-impl
xxx/boost_1_87_0/tools/build/src/build/feature.jam:361: in expand-subfeatures-aux from module feature
xxx/boost_1_87_0/tools/build/src/build/feature.jam:422: in feature.expand-subfeatures from module feature
xxx/ in apply-to-property-set from module build-request
(builtin):-1: in sequence.transform from module sequence
xxx/boost_1_87_0/tools/build/src/build/build-request.jam:32: in build-request.expand-no-defaults from module build-request
xxx/boost_1_87_0/tools/build/src/build-system.jam:778: in module scope from module build-system
The same command worked fine with 1.84 and I cannot see any differences in the documentation that says the feature flag has changed.
Any ideas?
Thanks and best regards
Anders