boost/symbol_diff.sh
Dirk Mueller 6d3dae4db5 Accepting request 1197908 from home:aschnell:boost
- update to 1.86.0
  * process turned into compile library
  * for details on all changes see,
    https://www.boost.org/users/history/version_1_86_0.html
- boost-aarch64-flags.patch: updated
- boost-1.57.0-python-abi_letters.patch: updated
- boost-process.patch: removed (included upstream)
- boost-charconv-quadmath.patch: removed (improved upstream)

OBS-URL: https://build.opensuse.org/request/show/1197908
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=330
2024-08-31 09:15:04 +00:00

22 lines
450 B
Bash

#!/bin/sh
# compares symbols of $1 vs. $2
# returns diff of the two global function tables
#
if test $# -ne 2; then
echo "$0 library1 library2"
exit 2
fi
PARAMS='[0-9a-f]\+[[:space:]]\+g[[:space:]]\+F[[:space:]]\+\.text[[:space:]]\+[0-9a-f]\+[[:space:]]\+'
objdump -t $1 | grep $PARAMS | sed -e 's#'$PARAMS'##' | sort > temp.$$
objdump -t $2 | grep $PARAMS | sed -e 's#'$PARAMS'##' | sort | diff temp.$$ -
RET=$?
rm temp.$$
exit $RET