The -static-libstdc++ linker flag is passed manually through the
environment variable LDFLAGS when running configure configure for
the Linux gitian build.
Details
Details
- Reviewers
deadalnix jasonbcox - Group Reviewers
Restricted Project - Commits
- rSTAGINGd39eb4619980: [CMAKE] Add an option to statically link libstdc++
rABCd39eb4619980: [CMAKE] Add an option to statically link libstdc++
cmake -DENABLE_STATIC_LIBSTDCXX=ON -GNinja .. ninja readelf -d src/bitcoind | grep libstdc++
Grep should return nothing.
cmake -DENABLE_STATIC_LIBSTDCXX=OFF -GNinja .. ninja readelf -d src/bitcoind | grep libstdc++
Grep should return a line containing:
Shared library: [libstdc++.so.x]
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- cmake_static_stdlibcxx
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 5726 Build 9514: Bitcoin ABC Buildbot (legacy) Build 9513: arc lint + arc unit
Event Timeline
Comment Actions
Nit for the test plan: Include the build without static linking, which would produce results for readelf -d src/bitcoind | grep libstdc++