The option ENABLE_GLIBC_BACK_COMPAT can be set to ON to configure
and include the functions from the compat/glibc_compat.cpp file. This
is a port of the configure option --enable-glibc-back-compat.
Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Project - Commits
- rSTAGINGd0cbe069e7c6: [CMAKE] Add an option to enable the glibc compatibility features
rABCd0cbe069e7c6: [CMAKE] Add an option to enable the glibc compatibility features
On a recent Linux with a glibc version > 2.17:
cmake -DENABLE_GLIBC_BACK_COMPAT=ON -GNinja .. ninja ../contrib/devtools/symbol-check.py src/bitcoind | grep log2f
Before the patch, should return:
src/bitcoind: symbol log2f from unsupported version <glibc_version>
After the patch, should return nothing.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- cmake_glibc_compat
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 5628 Build 9318: Bitcoin ABC Buildbot (legacy) Build 9317: arc lint + arc unit
Event Timeline
src/CMakeLists.txt | ||
---|---|---|
162 | You should check for rt's presence. This is a miracle that it works at all, you probably have something in your build that requires rt transitively ? |