Changeset View
Changeset View
Standalone View
Standalone View
contrib/devtools/README.md
Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | |||||
=============== | =============== | ||||
A script to check that the (Linux) executables produced by gitian only contain | A script to check that the (Linux) executables produced by gitian only contain | ||||
allowed gcc, glibc and libstdc++ version symbols. This makes sure they are | allowed gcc, glibc and libstdc++ version symbols. This makes sure they are | ||||
still compatible with the minimum supported Linux distribution versions. | still compatible with the minimum supported Linux distribution versions. | ||||
Example usage after a gitian build: | Example usage after a gitian build: | ||||
find ../gitian-builder/build -type f -executable | xargs python contrib/devtools/symbol-check.py | find ../gitian-builder/build -type f -executable | xargs python3 contrib/devtools/symbol-check.py | ||||
If only supported symbols are used the return value will be 0 and the output will be empty. | If only supported symbols are used the return value will be 0 and the output will be empty. | ||||
If there are 'unsupported' symbols, the return value will be 1 a list like this will be printed: | If there are 'unsupported' symbols, the return value will be 1 a list like this will be printed: | ||||
.../64/test_bitcoin: symbol memcpy from unsupported version GLIBC_2.14 | .../64/test_bitcoin: symbol memcpy from unsupported version GLIBC_2.14 | ||||
.../64/test_bitcoin: symbol __fdelt_chk from unsupported version GLIBC_2.15 | .../64/test_bitcoin: symbol __fdelt_chk from unsupported version GLIBC_2.15 | ||||
.../64/test_bitcoin: symbol std::out_of_range::~out_of_range() from unsupported version GLIBCXX_3.4.15 | .../64/test_bitcoin: symbol std::out_of_range::~out_of_range() from unsupported version GLIBCXX_3.4.15 | ||||
Show All 24 Lines |