Annocheck: Add code to handle glibc functions built without LTO.

This commit is contained in:
Nick Clifton 2023-02-23 13:44:06 +00:00
parent f2ce511886
commit 1465b9cc20
2 changed files with 16 additions and 11 deletions

View File

@ -1,7 +1,7 @@
Name: annobin
Summary: Annotate and examine compiled binary files
Version: 11.09
Version: 11.10
Release: 1%{?dist}
License: GPLv3+
URL: https://sourceware.org/annobin/
@ -139,17 +139,15 @@ Provides the documentation files and example shell scripts for use with annobin.
%package tests
Summary: Test scripts and binaries for checking the behaviour and output of the annobin plugin
Requires: %{name}-docs = %{version}-%{release}
BuildRequires: make sharutils
%if %{with debuginfod}
BuildRequires: elfutils-debuginfod-client-devel
%endif
%description tests
Provides a means to test the generation of annotated binaries and the parsing
of the resulting files.
BuildRequires: make
%if %{with debuginfod}
BuildRequires: elfutils-debuginfod-client-devel
%endif
%endif
#----------------------------------------------------------------------------
@ -464,12 +462,16 @@ rm -f %{buildroot}%{_infodir}/dir
%if %{with tests}
%check
# Change the following line to "make check || :" on RHEL7 or if you need to see the
# test suite logs in order to diagnose a test failure.
make check
# The first "make check" is run with "|| :" so that we can capture any logs
# from failed tests. The second "make check" is there so that the build
# will fail if any of the tests fail.
make check || :
if [ -f tests/test-suite.log ]; then
cat tests/test-suite.log
fi
# If necessary use uuencode to preserve test binaries here. For example:
# uuencode tests/tmp_atexit/atexit.strip atexit.strip
make check
%endif
#---------------------------------------------------------------------------------
@ -522,6 +524,9 @@ fi
#---------------------------------------------------------------------------------
%changelog
* Thu Feb 23 2023 Nick Clifton <nickc@redhat.com> - 11.10-1
- Annocheck: Add code to handle glibc functions built without LTO.
* Thu Feb 02 2023 Nick Clifton <nickc@redhat.com> - 11.09-1
- Libannocheck: Fix thinko in debugging code.
- Annocheck: Fix LTO test.

View File

@ -1 +1 @@
SHA512 (annobin-11.09.tar.xz) = 41bf99d07110630f5b8773eb1e83d3d7c1355dae531d66f66721d45b06d9e0da01b447e5279480d62516303fdce6b9d0f1c8e8f6d541c42a590ce97b6c79f996
SHA512 (annobin-11.10.tar.xz) = 3f860f22d6386b1fb08ec38e9cfeda2e83ebf3e8dc80923a126a079081eb2c8578de0f81fa38ff23feea1455008caf2c4e9679e2f5c4998aeb67912d90ae6521