From 92c8279fc37b4fca487bcfae55a9de17359144bc Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 10 Feb 2021 19:21:28 +0000 Subject: [PATCH 001/361] Split plugins into separate sub-packages Since annobin is required by redhat-rpm-config, having the clang and llvm plugins as part of the default package means that llvm-libs is always installed into the buildroot, which is unnecessary for most packages. Also, having an llvm depenency in the buildroot makes upgrading llvm more difficult. This patch attempts to resolve these issues by spliting up the various plugins into their own sub-packages, so that redhat-rpm-config can have finer-grained dependencies on only the plugins that it needs. --- annobin.spec | 88 +++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 74 insertions(+), 14 deletions(-) diff --git a/annobin.spec b/annobin.spec index b089a8f..2d3ed8d 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 9.60 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark # Maintainer: nickc@redhat.com @@ -51,6 +51,10 @@ License: GPLv3+ %undefine _annotated_build %endif +%{!?llvm_version:%global llvm_version 11.1.0} +%{!?llvm_plugin_dir:%global llvm_plugin_dir %{_libdir}/llvm/%{llvm_version}} +%{!?clang_plugin_dir:%global clang_plugin_dir %{_libdir}/clang/%{llvm_version}} + #--------------------------------------------------------------------------------- Source: https://nickc.fedorapeople.org/annobin-%{version}.tar.xz @@ -113,6 +117,18 @@ Requires: (gcc >= %{gcc_major} with gcc < %{gcc_next}) Requires: gcc %endif +%if %{with gccplugin} +Requires: annobin-plugin-gcc +%endif + +%if %{with llvmplugin} +Requires: annobin-plugin-llvm +%endif + +%if %{with clangplugin} +Requires: annobin-plugin-clang +%endif + BuildRequires: gcc gcc-plugin-devel gcc-c++ # The documentation uses pod2man... BuildRequires: perl perl-podlators @@ -169,20 +185,48 @@ hardening options. %endif +#--------------------------------------------------------------------------------- +%if %{with gccplugin} + +%package plugin-gcc +Summary: annobin gcc plugin + +Conflicts: annobin <= 9.60-1 + +%description plugin-gcc +Installs an annobin plugin that can be used by gcc. + +%endif + +#--------------------------------------------------------------------------------- +%if %{with llvmplugin} + +%package plugin-llvm +Summary: annobin llvm plugin + +Conflicts: annobin <= 9.60-1 + +%description plugin-llvm +Installs an annobin plugin that can be used by llvm tools. + +%endif + +#--------------------------------------------------------------------------------- +%if %{with clangplugin} + +%package plugin-clang +Summary: annobin clang plugin + +Conflicts: annobin <= 9.60-1 + +%description plugin-clang +Installs an annobin plugin that can be used by clang. + +%endif #--------------------------------------------------------------------------------- %global ANNOBIN_GCC_PLUGIN_DIR %(gcc --print-file-name=plugin) -%if %{with clangplugin} || %{with llvmplugin} -# FIXME: We currently assume that the first directory listed in clang's -# search directory output is the one that we should use for plugins. -# This might not be correct. -# The gensub() below is because without it $2 would look like: -# " =/usr/lib64/clang/8.0.0" -# Note - we install LLVM plugins into the same directory as Clang plugins. -%global ANNOBIN_CLANG_PLUGIN_DIR %(clang --print-search-dirs | gawk -e'BEGIN { FS = ":" } /libraries/ { print gensub(" =","",1,$2) } END { }') -%endif - #--------------------------------------------------------------------------------- %prep @@ -278,7 +322,13 @@ make -C llvm-plugin all CXXFLAGS="%{optflags} $BUILD_FLAGS" # PLUGIN_INSTALL_DIR is used by the Clang and LLVM makefiles... %install -%make_install PLUGIN_INSTALL_DIR=$RPM_BUILD_ROOT%{ANNOBIN_CLANG_PLUGIN_DIR} +%make_install PLUGIN_INSTALL_DIR=%{buildroot}/%{llvm_plugin_dir} + +%if %{with clangplugin} +# Move clang plugin to a seperate directory. +mkdir -p %{buildroot}/%{clang_plugin_dir} +mv %{buildroot}/%{llvm_plugin_dir}/annobin-for-clang.so %{buildroot}/%{clang_plugin_dir} +%endif rm -f %{buildroot}%{_infodir}/dir #--------------------------------------------------------------------------------- @@ -307,11 +357,18 @@ fi %{_mandir}/man1/hardened.1* %{_mandir}/man1/run-on-binaries-in.1* -%if %{with clangplugin} || %{with llvmplugin} -%{ANNOBIN_CLANG_PLUGIN_DIR} +%if %{with llvmplugin} +%files plugin-llvm +%{llvm_plugin_dir}/annobin-for-llvm.so +%endif + +%if %{with clangplugin} +%files plugin-clang +%{clang_plugin_dir}/annobin-for-clang.so %endif %if %{with gccplugin} +%files plugin-gcc %{ANNOBIN_GCC_PLUGIN_DIR} %endif @@ -324,6 +381,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Feb 10 2021 Tom Stellard = 9.60-2 +- Split plugins into separate sub-packages + * Fri Feb 05 2021 Nick Clifton - 9.60-1 - Add some GO tests to annocheck. From bdf8114d46411ebde4d2bad770cbafce6eac10ff Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 22 Feb 2021 12:14:09 +0000 Subject: [PATCH 002/361] Annocheck: Fix some problems with tests for missing notes. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index b089a8f..e8e2b37 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.60 +Version: 9.61 Release: 1%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark @@ -324,6 +324,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Feb 22 2021 Nick Clifton - 9.61-1 +- Annocheck: Fix some problems with tests for missing notes. + * Fri Feb 05 2021 Nick Clifton - 9.60-1 - Add some GO tests to annocheck. diff --git a/sources b/sources index 7c81e4f..bbb51a2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.60.tar.xz) = 52e9c322938ea75b6b85dbaec573128d090789c0a305a69c24b4e6bdd697c939fcc11006ed5880507970d288a48fe569820a9a92b423e520636ad6dc82e9235c +SHA512 (annobin-9.61.tar.xz) = d46658ce090bb7aee71dbac9c8112a5cf623f06a32505118c70ddb5fb27ef88d5d1feaf50fe2267ab597fb2a5a407b6989796d24e1693a561808aed98afe1485 From a35ca900df7f912e9dc591177ebfbf2e5dedf741 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 22 Feb 2021 13:02:23 +0000 Subject: [PATCH 003/361] Annocheck: Fix some problems with tests for missing notes. --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 2d3ed8d..b50a137 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.60 -Release: 2%{?dist} +Version: 9.61 +Release: 1%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark # Maintainer: nickc@redhat.com @@ -381,6 +381,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Feb 22 2021 Nick Clifton - 9.61-1 +- Annocheck: Fix some problems with tests for missing notes. + * Wed Feb 10 2021 Tom Stellard = 9.60-2 - Split plugins into separate sub-packages diff --git a/sources b/sources index 7c81e4f..bbb51a2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.60.tar.xz) = 52e9c322938ea75b6b85dbaec573128d090789c0a305a69c24b4e6bdd697c939fcc11006ed5880507970d288a48fe569820a9a92b423e520636ad6dc82e9235c +SHA512 (annobin-9.61.tar.xz) = d46658ce090bb7aee71dbac9c8112a5cf623f06a32505118c70ddb5fb27ef88d5d1feaf50fe2267ab597fb2a5a407b6989796d24e1693a561808aed98afe1485 From 9ee2552213ba4aa30a0bc72827e4c2c21f7f59b1 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 25 Feb 2021 11:21:07 +0000 Subject: [PATCH 004/361] Annocheck: Add colour to some messages. Skip the deliberate use of -fno-stack-protector. Resolves: #1923439 --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index e8e2b37..8179527 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.61 +Version: 9.62 Release: 1%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark @@ -324,6 +324,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Feb 25 2021 Nick Clifton - 9.62-1 +- Annocheck: Add colour to some messages. Skip the deliberate use of -fno-stack-protector. (#1923439) + * Mon Feb 22 2021 Nick Clifton - 9.61-1 - Annocheck: Fix some problems with tests for missing notes. diff --git a/sources b/sources index bbb51a2..f8cc483 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.61.tar.xz) = d46658ce090bb7aee71dbac9c8112a5cf623f06a32505118c70ddb5fb27ef88d5d1feaf50fe2267ab597fb2a5a407b6989796d24e1693a561808aed98afe1485 +SHA512 (annobin-9.62.tar.xz) = e8bea6fa41c35c2adb9ef6f6bae9cf3bd412ee5ff1dd1f73d5533c33284db637f3052c98a25aae25cf3842fbe3beacd2678a45b48fad7c970ca75baeb1da23b0 From 891fad1c0c0944e5f7006d65e06c6af508a825d1 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 25 Feb 2021 11:22:54 +0000 Subject: [PATCH 005/361] Annocheck: Add colour to some messages. Skip the deliberate use of -fno-stack-protector. Resolves: #1923439 --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index b50a137..1c94073 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.61 +Version: 9.62 Release: 1%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark @@ -381,6 +381,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Feb 25 2021 Nick Clifton - 9.62-1 +- Annocheck: Add colour to some messages. Skip the deliberate use of -fno-stack-protector. (#1923439) + * Mon Feb 22 2021 Nick Clifton - 9.61-1 - Annocheck: Fix some problems with tests for missing notes. diff --git a/sources b/sources index bbb51a2..f8cc483 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.61.tar.xz) = d46658ce090bb7aee71dbac9c8112a5cf623f06a32505118c70ddb5fb27ef88d5d1feaf50fe2267ab597fb2a5a407b6989796d24e1693a561808aed98afe1485 +SHA512 (annobin-9.62.tar.xz) = e8bea6fa41c35c2adb9ef6f6bae9cf3bd412ee5ff1dd1f73d5533c33284db637f3052c98a25aae25cf3842fbe3beacd2678a45b48fad7c970ca75baeb1da23b0 From ed70b0e090211b79e0f0f2578fe2242e46de84a8 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 26 Feb 2021 10:06:54 +0000 Subject: [PATCH 006/361] Annocheck: FAIL the deliberate use of -fno-stack-protector, but add some exceptions for glibc. Resolves: #1923439 --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 8179527..08842e1 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.62 +Version: 9.63 Release: 1%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark @@ -324,6 +324,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Feb 26 2021 Nick Clifton - 9.63-1 +- Annocheck: FAIL the deliberate use of -fno-stack-protector, but add some exceptions for glibc. (#1923439) + * Thu Feb 25 2021 Nick Clifton - 9.62-1 - Annocheck: Add colour to some messages. Skip the deliberate use of -fno-stack-protector. (#1923439) diff --git a/sources b/sources index f8cc483..ad66bc8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.62.tar.xz) = e8bea6fa41c35c2adb9ef6f6bae9cf3bd412ee5ff1dd1f73d5533c33284db637f3052c98a25aae25cf3842fbe3beacd2678a45b48fad7c970ca75baeb1da23b0 +SHA512 (annobin-9.63.tar.xz) = 308cabe8fe19ab84fed276d3b0bc31fc1c2875fc0bdf705299b607899fa067231ad27f4869244a09d74cfa57f285b76fac3b88e10364f8dd595aeac9389f742b From 1720e01afeeda67da9b1def8c95da37ed3eaec99 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 26 Feb 2021 10:09:08 +0000 Subject: [PATCH 007/361] Annocheck: FAIL the deliberate use of -fno-stack-protector, but add some exceptions for glibc. Resolves: #1923439 --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 1c94073..30c5227 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.62 +Version: 9.63 Release: 1%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark @@ -381,6 +381,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Feb 26 2021 Nick Clifton - 9.63-1 +- Annocheck: FAIL the deliberate use of -fno-stack-protector, but add some exceptions for glibc. (#1923439) + * Thu Feb 25 2021 Nick Clifton - 9.62-1 - Annocheck: Add colour to some messages. Skip the deliberate use of -fno-stack-protector. (#1923439) diff --git a/sources b/sources index f8cc483..ad66bc8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.62.tar.xz) = e8bea6fa41c35c2adb9ef6f6bae9cf3bd412ee5ff1dd1f73d5533c33284db637f3052c98a25aae25cf3842fbe3beacd2678a45b48fad7c970ca75baeb1da23b0 +SHA512 (annobin-9.63.tar.xz) = 308cabe8fe19ab84fed276d3b0bc31fc1c2875fc0bdf705299b607899fa067231ad27f4869244a09d74cfa57f285b76fac3b88e10364f8dd595aeac9389f742b From d6dd6f9fca66fc424d054acd7854cb3ab69310c0 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 3 Mar 2021 10:09:17 +0000 Subject: [PATCH 008/361] Annocheck: Fix detection of special function names. Resolves: #1934189 --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 08842e1..ff3c14d 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.63 +Version: 9.64 Release: 1%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark @@ -324,6 +324,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Mar 03 2021 Nick Clifton - 9.64-1 +- Annocheck: Fix detection of special function names. (#1934189) + * Fri Feb 26 2021 Nick Clifton - 9.63-1 - Annocheck: FAIL the deliberate use of -fno-stack-protector, but add some exceptions for glibc. (#1923439) diff --git a/sources b/sources index ad66bc8..403081f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.63.tar.xz) = 308cabe8fe19ab84fed276d3b0bc31fc1c2875fc0bdf705299b607899fa067231ad27f4869244a09d74cfa57f285b76fac3b88e10364f8dd595aeac9389f742b +SHA512 (annobin-9.64.tar.xz) = 7ae7fbaf5d41a2e7e52f8b2bb3aebd8fbb3899f60ba7060bbefcd0aaa1a53656e2aed49d3ce268f3efd53538c9f6545de213f204adefd9e9a87212c55d063db9 From 60c8169066ad001d98493c6de44c6d15bcc95dfe Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 3 Mar 2021 10:10:12 +0000 Subject: [PATCH 009/361] Annocheck: Fix detection of special function names. Resolves: #1934189 --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 30c5227..9a0a9bd 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.63 +Version: 9.64 Release: 1%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark @@ -381,6 +381,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Mar 03 2021 Nick Clifton - 9.64-1 +- Annocheck: Fix detection of special function names. (#1934189) + * Fri Feb 26 2021 Nick Clifton - 9.63-1 - Annocheck: FAIL the deliberate use of -fno-stack-protector, but add some exceptions for glibc. (#1923439) diff --git a/sources b/sources index ad66bc8..403081f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.63.tar.xz) = 308cabe8fe19ab84fed276d3b0bc31fc1c2875fc0bdf705299b607899fa067231ad27f4869244a09d74cfa57f285b76fac3b88e10364f8dd595aeac9389f742b +SHA512 (annobin-9.64.tar.xz) = 7ae7fbaf5d41a2e7e52f8b2bb3aebd8fbb3899f60ba7060bbefcd0aaa1a53656e2aed49d3ce268f3efd53538c9f6545de213f204adefd9e9a87212c55d063db9 From e2d918aee9326338fd3d5e005bbfae8c12f3d3d8 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 9 Mar 2021 13:37:40 +0000 Subject: [PATCH 010/361] gcc-plugin: Use a fixed filename when running in LTO mode. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index ff3c14d..113f107 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.64 +Version: 9.65 Release: 1%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark @@ -324,6 +324,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Mar 09 2021 Nick Clifton - 9.65-1 +- gcc-plugin: Use a fixed filename when running in LTO mode. + * Wed Mar 03 2021 Nick Clifton - 9.64-1 - Annocheck: Fix detection of special function names. (#1934189) diff --git a/sources b/sources index 403081f..143b60c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.64.tar.xz) = 7ae7fbaf5d41a2e7e52f8b2bb3aebd8fbb3899f60ba7060bbefcd0aaa1a53656e2aed49d3ce268f3efd53538c9f6545de213f204adefd9e9a87212c55d063db9 +SHA512 (annobin-9.65.tar.xz) = 5b5e5f988700232d31c5087ad9880a4bd0aaaa0927b1e4c913f1427ae63c768867b99a8fb282e82865c53f896a925a29dddac9a643144dfc74aacb74b7138426 From 4a7311622e14b09a5db818fb3d7e25ef6a90b7db Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 9 Mar 2021 13:38:59 +0000 Subject: [PATCH 011/361] gcc-plugin: Use a fixed filename when running in LTO mode. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 9a0a9bd..99cdefa 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.64 +Version: 9.65 Release: 1%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark @@ -381,6 +381,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Mar 09 2021 Nick Clifton - 9.65-1 +- gcc-plugin: Use a fixed filename when running in LTO mode. + * Wed Mar 03 2021 Nick Clifton - 9.64-1 - Annocheck: Fix detection of special function names. (#1934189) diff --git a/sources b/sources index 403081f..143b60c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.64.tar.xz) = 7ae7fbaf5d41a2e7e52f8b2bb3aebd8fbb3899f60ba7060bbefcd0aaa1a53656e2aed49d3ce268f3efd53538c9f6545de213f204adefd9e9a87212c55d063db9 +SHA512 (annobin-9.65.tar.xz) = 5b5e5f988700232d31c5087ad9880a4bd0aaaa0927b1e4c913f1427ae63c768867b99a8fb282e82865c53f896a925a29dddac9a643144dfc74aacb74b7138426 From c910f2212a672328133056749265c29211fee21a Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sat, 20 Mar 2021 11:05:06 +0100 Subject: [PATCH 012/361] 9.65-2 --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 99cdefa..1e854b3 100644 --- a/annobin.spec +++ b/annobin.spec @@ -36,7 +36,7 @@ License: GPLv3+ # checking logic or when building on RHEL-7 or earlier. %global with_hard_gcc_version_requirement 1 -%bcond_without plugin_rebuild +%bcond_with plugin_rebuild # Allow the building of annobin without using annobin itself. # This is because if we are bootstrapping a new build environment we can have # a new version of gcc installed, but without a new of annobin installed. @@ -381,6 +381,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Sat Mar 20 2021 Jakub Jelinek - 9.65-2 +- NVR bump to rebuild against GCC 11.0.1 + * Tue Mar 09 2021 Nick Clifton - 9.65-1 - gcc-plugin: Use a fixed filename when running in LTO mode. From da05dd9608d0623d30c6bc956f49800a54eecccb Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 25 Mar 2021 11:32:25 +0000 Subject: [PATCH 013/361] NVR bump to allow rebuild --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 113f107..1c7fa5d 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 9.65 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark # Maintainer: nickc@redhat.com @@ -324,6 +324,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Mar 25 2021 Nick Clifton - 9.65-2 +- NVR bump to allow rebuild. + * Tue Mar 09 2021 Nick Clifton - 9.65-1 - gcc-plugin: Use a fixed filename when running in LTO mode. From 815dc75a45f949bac11b379a0ebc506a7ec61a66 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 30 Mar 2021 13:36:09 +0100 Subject: [PATCH 014/361] NVR bump to allow another rebuild --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 1c7fa5d..3da0fac 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 9.65 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark # Maintainer: nickc@redhat.com @@ -324,6 +324,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Mar 30 2021 Nick Clifton - 9.65-3 +- Another NVR bump to allow rebuild in CentOS stream. + * Thu Mar 25 2021 Nick Clifton - 9.65-2 - NVR bump to allow rebuild. From d57da4f97647f76692ff865ee1aa64ca1d960eb1 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 6 Apr 2021 12:44:50 +0100 Subject: [PATCH 015/361] NVR bump to allow rebuilding against GCC 11.0.1 --- annobin.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 1e854b3..ed6b5d5 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 9.65 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark # Maintainer: nickc@redhat.com From 90e03be33086e628a8a3ed3eabe20859da264a7e Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 29 Mar 2021 18:06:06 +0000 Subject: [PATCH 016/361] Add gating test to check annobin works with Fedora compiler flags --- tests/tests.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/tests.yml diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..0cb592f --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,17 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + required_packages: + # gcc-fedora-flags + - rpm + - redhat-rpm-config + - gcc + - gcc-c++ + - annobin-annocheck + repositories: + - repo: https://src.fedoraproject.org/rpms/redhat-rpm-config.git + dest: redhat-rpm-config + tests: + - redhat-rpm-config/tests/gcc-fedora-flags From 296c2a76fbc6411c069607f94f70172333b7d829 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 9 Apr 2021 14:51:58 +0100 Subject: [PATCH 017/361] - Fix anomolies reported by covscan. - Move documentation into a sub-package. --- annobin.spec | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/annobin.spec b/annobin.spec index ed6b5d5..164cf67 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.65 -Release: 2%{?dist} +Version: 9.66 +Release: 1%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark # Maintainer: nickc@redhat.com @@ -46,7 +46,9 @@ License: GPLv3+ # was built is different from the version of gcc that is now being used, and # then it will abort. # -# The default is to use annobin. cf BZ 1630550. +# The default was to use plugin during rebuilds (cf BZ 1630550) but this has +# been changed because of the need to be able to rebuild annobin when a change +# to gcc breaks the version installed into the buildroot. %if %{without plugin_rebuild} %undefine _annotated_build %endif @@ -154,7 +156,24 @@ Also provides a plugin for Clang which performs a similar function. Also provides a plugin for LLVM which performs a similar function. %endif -#--------------------------------------------------------------------------------- +#--------------------------------------------------------------------------- + +# Now that we have sub-packages for all of the plugins and for annocheck, +# there are no executables left to go into the "annobin" rpm. But top-level +# packages cannot have "BuildArch: noarch" if sub-packages do have +# architecture requirements, and rpmlint generates an error if an +# architecture specific rpm does not contain any binaries. So instead all of +# the documentation has been moved into an architecture neutral sub-package, +# and there no longer is a top level annobin rpm at all. + +%package docs +Summary: Documentation and shell scripts for use with annobin +BuildArch: noarch + +%description docs +Provides the documentation files and example shell scripts for use with annobin. + +#---------------------------------------------------------------------------- %if %{with tests} %package tests @@ -166,7 +185,7 @@ of the resulting files. %endif -#--------------------------------------------------------------------------------- +#---------------------------------------------------------------------------- %if %{with annocheck} %package annocheck @@ -185,7 +204,7 @@ hardening options. %endif -#--------------------------------------------------------------------------------- +#---------------------------------------------------------------------------- %if %{with gccplugin} %package plugin-gcc @@ -345,7 +364,7 @@ fi #--------------------------------------------------------------------------------- -%files +%files docs %license COPYING3 LICENSE %exclude %{_datadir}/doc/annobin-plugin/COPYING3 %exclude %{_datadir}/doc/annobin-plugin/LICENSE @@ -381,6 +400,10 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Apr 09 2021 Nick Clifton - 9.66-1 +- Fix anomolies reported by covscan. +- Move documentation into a sub-package. + * Sat Mar 20 2021 Jakub Jelinek - 9.65-2 - NVR bump to rebuild against GCC 11.0.1 From 1d6e1bf89261e3430922ed5c1db83ed7b55c022f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 9 Apr 2021 14:58:04 +0100 Subject: [PATCH 018/361] Add new sources --- sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources b/sources index 143b60c..41d4506 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.65.tar.xz) = 5b5e5f988700232d31c5087ad9880a4bd0aaaa0927b1e4c913f1427ae63c768867b99a8fb282e82865c53f896a925a29dddac9a643144dfc74aacb74b7138426 +SHA512 (annobin-9.66.tar.xz) = ea9a2b4b18bc5a558c5bcd2dcdb4446be3b7ebea651ae79a14244da906bbae0da39032469eda2f41ba7254fa9ef89f9cf8ae9e29de18b4c33fe5c4e1d18f4fd9 From 985cb77f4ce64f631455e224a07e60394fd76a24 Mon Sep 17 00:00:00 2001 From: Martin Cermak Date: Fri, 16 Apr 2021 09:16:09 +0200 Subject: [PATCH 019/361] Fix bz1949570 - file conflicts after separating docs to a noarch subrpm --- annobin.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 164cf67..66e5fc2 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 9.66 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark # Maintainer: nickc@redhat.com @@ -169,6 +169,8 @@ Also provides a plugin for LLVM which performs a similar function. %package docs Summary: Documentation and shell scripts for use with annobin BuildArch: noarch +Obsoletes: %{name} < %{version}-%{release} +Obsoletes: %{name}-docs < %{version}-%{release} %description docs Provides the documentation files and example shell scripts for use with annobin. @@ -400,6 +402,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Apr 15 2021 Martin Cermak - 9.66-2 +- Fix bz1949570 + * Fri Apr 09 2021 Nick Clifton - 9.66-1 - Fix anomolies reported by covscan. - Move documentation into a sub-package. From 62f4dedb91a7e445644a0e8e9ea9b1ffb50c20c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 16 Apr 2021 13:05:54 +0200 Subject: [PATCH 020/361] Correct a package rename annobin-9.65 which only contained documentation was renamed to annobin-docs in in 9.66. The Provide is kept for compatibility (redhat-rpm-config). The docs subpackage must be required by all the other ones because it packages a license. --- annobin.spec | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 66e5fc2..fcbdd66 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 9.66 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark # Maintainer: nickc@redhat.com @@ -169,8 +169,10 @@ Also provides a plugin for LLVM which performs a similar function. %package docs Summary: Documentation and shell scripts for use with annobin BuildArch: noarch -Obsoletes: %{name} < %{version}-%{release} -Obsoletes: %{name}-docs < %{version}-%{release} +# annobin renamed to annobin-doc in 9.66-1 +Provides: %{name} = %{version}-%{release} +# /usr/share/info/annobin.info.gz moved from annobin to annobin-docs +Conflicts: %{name} < 9.66-1 %description docs Provides the documentation files and example shell scripts for use with annobin. @@ -180,6 +182,7 @@ 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} %description tests Provides a means to test the generation of annotated binaries and the parsing @@ -198,6 +201,7 @@ BuildRequires: gcc elfutils elfutils-devel elfutils-libelf-devel rpm-devel binut BuildRequires: elfutils-debuginfod-client-devel BuildRequires: make %endif +Requires: %{name}-docs = %{version}-%{release} %description annocheck Installs the annocheck program which uses the notes generated by annobin to @@ -212,6 +216,7 @@ hardening options. %package plugin-gcc Summary: annobin gcc plugin +Requires: %{name}-docs = %{version}-%{release} Conflicts: annobin <= 9.60-1 %description plugin-gcc @@ -225,6 +230,7 @@ Installs an annobin plugin that can be used by gcc. %package plugin-llvm Summary: annobin llvm plugin +Requires: %{name}-docs = %{version}-%{release} Conflicts: annobin <= 9.60-1 %description plugin-llvm @@ -238,6 +244,7 @@ Installs an annobin plugin that can be used by llvm tools. %package plugin-clang Summary: annobin clang plugin +Requires: %{name}-docs = %{version}-%{release} Conflicts: annobin <= 9.60-1 %description plugin-clang @@ -402,6 +409,10 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Apr 16 2021 Petr Pisar - 9.66-3 +- Correct a package rename (bug #1949570) +- Require docs subpackage by the other ones because of a license + * Thu Apr 15 2021 Martin Cermak - 9.66-2 - Fix bz1949570 From 7d1af348fb707249ef690a556cb74ff5232ddd06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 16 Apr 2021 13:26:58 +0200 Subject: [PATCH 021/361] Build-requiring perl-interpreter is enough --- annobin.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index fcbdd66..f504f18 100644 --- a/annobin.spec +++ b/annobin.spec @@ -133,7 +133,7 @@ Requires: annobin-plugin-clang BuildRequires: gcc gcc-plugin-devel gcc-c++ # The documentation uses pod2man... -BuildRequires: perl perl-podlators +BuildRequires: perl-interpreter perl-podlators %if %{with clangplugin} BuildRequires: clang clang-devel llvm llvm-devel compiler-rt gawk %endif @@ -412,6 +412,7 @@ fi * Fri Apr 16 2021 Petr Pisar - 9.66-3 - Correct a package rename (bug #1949570) - Require docs subpackage by the other ones because of a license +- Build-requiring perl-interpreter is enough * Thu Apr 15 2021 Martin Cermak - 9.66-2 - Fix bz1949570 From 604b1841b5b18f618e4c1e53f1d16eafaece9138 Mon Sep 17 00:00:00 2001 From: Martin Cermak Date: Fri, 16 Apr 2021 19:13:27 +0200 Subject: [PATCH 022/361] Avoid mixing STI and FMF tests Related: https://pagure.io/fedora-ci/general/issue/206 Also, drop unneeded legacy Makefile's and PURPOSE files, and explicitly require gcc.rpm, which is not installed on the CI workers by default any more it seems. --- tests/Regression/identify/Makefile | 71 ----------------- tests/Regression/identify/PURPOSE | 3 - .../lto-preprocessor-options/Makefile | 64 --------------- .../lto-preprocessor-options/PURPOSE | 3 - .../lto-preprocessor-options/main.fmf | 1 + .../lto-preprocessor-options/runtest.sh | 5 +- tests/Regression/testsuite/Makefile | 78 ------------------- tests/Regression/testsuite/PURPOSE | 3 - tests/Regression/testsuite/main.fmf | 1 + tests/Sanity/gcc-fedora-flags/hello.c | 5 ++ tests/Sanity/gcc-fedora-flags/hello.cpp | 5 ++ tests/Sanity/gcc-fedora-flags/main.c | 6 ++ tests/Sanity/gcc-fedora-flags/main.cpp | 6 ++ tests/Sanity/gcc-fedora-flags/main.fmf | 17 ++++ tests/Sanity/gcc-fedora-flags/runtest.sh | 38 +++++++++ tests/Sanity/smoke/Makefile | 59 -------------- tests/Sanity/smoke/PURPOSE | 3 - tests/Sanity/smoke/main.fmf | 1 + tests/tests.yml | 17 ---- 19 files changed, 84 insertions(+), 302 deletions(-) delete mode 100644 tests/Regression/identify/Makefile delete mode 100644 tests/Regression/identify/PURPOSE delete mode 100644 tests/Regression/lto-preprocessor-options/Makefile delete mode 100644 tests/Regression/lto-preprocessor-options/PURPOSE delete mode 100644 tests/Regression/testsuite/Makefile delete mode 100644 tests/Regression/testsuite/PURPOSE create mode 100644 tests/Sanity/gcc-fedora-flags/hello.c create mode 100644 tests/Sanity/gcc-fedora-flags/hello.cpp create mode 100644 tests/Sanity/gcc-fedora-flags/main.c create mode 100644 tests/Sanity/gcc-fedora-flags/main.cpp create mode 100644 tests/Sanity/gcc-fedora-flags/main.fmf create mode 100755 tests/Sanity/gcc-fedora-flags/runtest.sh delete mode 100644 tests/Sanity/smoke/Makefile delete mode 100644 tests/Sanity/smoke/PURPOSE delete mode 100644 tests/tests.yml diff --git a/tests/Regression/identify/Makefile b/tests/Regression/identify/Makefile deleted file mode 100644 index f62f325..0000000 --- a/tests/Regression/identify/Makefile +++ /dev/null @@ -1,71 +0,0 @@ -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Makefile of /tools/annobin/Regression/identify -# Description: identify -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2019 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -export TEST=/tools/annobin/Regression/identify -export TESTVERSION=1.0 - -BUILT_FILES= - -FILES=$(METADATA) runtest.sh Makefile PURPOSE - -.PHONY: all install download clean - -run: $(FILES) build - ./runtest.sh - -build: $(BUILT_FILES) - test -x runtest.sh || chmod a+x runtest.sh - -clean: - rm -f *~ $(BUILT_FILES) - -requires = annobin - -# https://mojo.redhat.com/docs/DOC-1072127 -dtsver = $(shell seq -s, 10 11) -dtsreq = $(shell echo {dev,gcc-}toolset-{$(dtsver)}{,-annocheck}) - - -include /usr/share/rhts/lib/rhts-make.include - -$(METADATA): Makefile - @echo "Owner: Martin Cermak " > $(METADATA) - @echo "Name: $(TEST)" >> $(METADATA) - @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) - @echo "Path: $(TEST_DIR)" >> $(METADATA) - @echo "Description: identify" >> $(METADATA) - @echo "Type: Regression" >> $(METADATA) - @echo "TestTime: 48h" >> $(METADATA) - @echo "RunFor: annobin" >> $(METADATA) - $(foreach package, $(requires) $(dtsreq), \ - echo "Requires: $(package)" >> $(METADATA); \ - ) - @echo "Priority: Normal" >> $(METADATA) - @echo "License: GPLv2+" >> $(METADATA) - @echo "Confidential: no" >> $(METADATA) - @echo "Destructive: no" >> $(METADATA) - @echo "Releases: -RHEL4 -RHELClient5 -RHELServer5 -RHEL6" >> $(METADATA) - - rhts-lint $(METADATA) diff --git a/tests/Regression/identify/PURPOSE b/tests/Regression/identify/PURPOSE deleted file mode 100644 index 3471618..0000000 --- a/tests/Regression/identify/PURPOSE +++ /dev/null @@ -1,3 +0,0 @@ -PURPOSE of /tools/annobin/Regression/identify -Description: identify -Author: Martin Cermak diff --git a/tests/Regression/lto-preprocessor-options/Makefile b/tests/Regression/lto-preprocessor-options/Makefile deleted file mode 100644 index 777e9de..0000000 --- a/tests/Regression/lto-preprocessor-options/Makefile +++ /dev/null @@ -1,64 +0,0 @@ -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Makefile of /tools/annobin/Regression/lto-preprocessor-options -# Description: lto-preprocessor-options -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2020 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -export TEST=/tools/annobin/Regression/lto-preprocessor-options -export TESTVERSION=1.0 - -BUILT_FILES= - -FILES=$(METADATA) runtest.sh Makefile PURPOSE - -.PHONY: all install download clean - -run: $(FILES) build - ./runtest.sh - -build: $(BUILT_FILES) - test -x runtest.sh || chmod a+x runtest.sh - -clean: - rm -f *~ $(BUILT_FILES) - - -include /usr/share/rhts/lib/rhts-make.include - -$(METADATA): Makefile - @echo "Owner: Martin Cermak " > $(METADATA) - @echo "Name: $(TEST)" >> $(METADATA) - @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) - @echo "Path: $(TEST_DIR)" >> $(METADATA) - @echo "Description: lto-preprocessor-options" >> $(METADATA) - @echo "Type: Regression" >> $(METADATA) - @echo "TestTime: 48h" >> $(METADATA) - @echo "RunFor: annobin" >> $(METADATA) - @echo "Requires: annobin annobin-annocheck redhat-rpm-config" >> $(METADATA) - @echo "Priority: Normal" >> $(METADATA) - @echo "License: GPLv2+" >> $(METADATA) - @echo "Confidential: no" >> $(METADATA) - @echo "Destructive: no" >> $(METADATA) - @echo "Bug: 1743635" >> $(METADATA) - @echo "Releases: -RHEL4 -RHEL6 -RHEL7 -RHELClient5 -RHELServer5" >> $(METADATA) - - rhts-lint $(METADATA) diff --git a/tests/Regression/lto-preprocessor-options/PURPOSE b/tests/Regression/lto-preprocessor-options/PURPOSE deleted file mode 100644 index c595c5e..0000000 --- a/tests/Regression/lto-preprocessor-options/PURPOSE +++ /dev/null @@ -1,3 +0,0 @@ -PURPOSE of /tools/annobin/Regression/lto-preprocessor-options -Description: lto-preprocessor-options -Author: Martin Cermak diff --git a/tests/Regression/lto-preprocessor-options/main.fmf b/tests/Regression/lto-preprocessor-options/main.fmf index e76679d..03e6b88 100644 --- a/tests/Regression/lto-preprocessor-options/main.fmf +++ b/tests/Regression/lto-preprocessor-options/main.fmf @@ -7,6 +7,7 @@ component: test: ./runtest.sh framework: beakerlib recommend: +- gcc - annobin - annobin-annocheck - redhat-rpm-config diff --git a/tests/Regression/lto-preprocessor-options/runtest.sh b/tests/Regression/lto-preprocessor-options/runtest.sh index 315169d..7c54481 100755 --- a/tests/Regression/lto-preprocessor-options/runtest.sh +++ b/tests/Regression/lto-preprocessor-options/runtest.sh @@ -33,7 +33,10 @@ PACKAGE="annobin" rlJournalStart rlPhaseStartTest b=`mktemp` - rlRun "echo 'int main (void) { return 0; }' | gcc -xc -o $b `rpm --eval "%build_cflags %build_ldflags"` -flto - " + rlRun "rpm -q redhat-rpm-config" + rlRun "cflags=\"$(rpm --eval '%build_cflags')\"" + rlRun "ldflags=\"$(rpm --eval '%build_ldflags')\"" + rlRun "echo 'int main (void) { return 0; }' | gcc -xc -o $b $cflags $ldflags -flto - " rlRun "annocheck -v $b" rm $b rlPhaseEnd diff --git a/tests/Regression/testsuite/Makefile b/tests/Regression/testsuite/Makefile deleted file mode 100644 index 94a9500..0000000 --- a/tests/Regression/testsuite/Makefile +++ /dev/null @@ -1,78 +0,0 @@ -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Makefile of /tools/annobin/Regression/testsuite -# Description: testsuite -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2018 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -export TEST=/tools/annobin/Regression/testsuite -export TESTVERSION=1.0 - -BUILT_FILES= - -FILES=$(METADATA) runtest.sh Makefile PURPOSE - -.PHONY: all install download clean - -run: $(FILES) build - ./runtest.sh - -build: $(BUILT_FILES) - test -x runtest.sh || chmod a+x runtest.sh - -clean: - rm -f *~ $(BUILT_FILES) - -requires = annobin binutils-devel gcc-c++ elfutils elfutils-devel make rpm-build \ -rpm-devel gcc-plugin-devel yum yum-utils bzip2-devel - -# https://mojo.redhat.com/docs/DOC-1072127 -dtsver = $(shell seq -s, 9 11) -dtsreq = $(shell echo {dev,gcc-}toolset-{$(dtsver)}-{build,elfutils{,-devel},gcc{,-c++,-plugin-devel},binutils{,-devel},annobin{,-annocheck}}) - - -installdeps: - yum -y install $(requires) - -showdeps: - echo $(requires) - -include /usr/share/rhts/lib/rhts-make.include - -$(METADATA): Makefile - @echo "Owner: Martin Cermak " > $(METADATA) - @echo "Name: $(TEST)" >> $(METADATA) - @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) - @echo "Path: $(TEST_DIR)" >> $(METADATA) - @echo "Description: testsuite" >> $(METADATA) - @echo "Type: Regression" >> $(METADATA) - @echo "TestTime: 48h" >> $(METADATA) - @echo "RunFor: annobin" >> $(METADATA) - $(foreach package, $(requires) $(dtsreq), \ - echo "Requires: $(package)" >> $(METADATA); \ - ) - @echo "Priority: Normal" >> $(METADATA) - @echo "License: GPLv2+" >> $(METADATA) - @echo "Confidential: no" >> $(METADATA) - @echo "Destructive: no" >> $(METADATA) - @echo "Releases: -RHEL4 -RHELClient5 -RHELServer5" >> $(METADATA) - - rhts-lint $(METADATA) diff --git a/tests/Regression/testsuite/PURPOSE b/tests/Regression/testsuite/PURPOSE deleted file mode 100644 index d639443..0000000 --- a/tests/Regression/testsuite/PURPOSE +++ /dev/null @@ -1,3 +0,0 @@ -PURPOSE of /tools/annobin/Regression/testsuite -Description: testsuite -Author: Martin Cermak diff --git a/tests/Regression/testsuite/main.fmf b/tests/Regression/testsuite/main.fmf index 78271da..7352f78 100644 --- a/tests/Regression/testsuite/main.fmf +++ b/tests/Regression/testsuite/main.fmf @@ -22,6 +22,7 @@ recommend: - dnf - yum-utils - bzip2-devel +- rpm-build duration: 48h extra-summary: /tools/annobin/Regression/testsuite extra-task: /tools/annobin/Regression/testsuite diff --git a/tests/Sanity/gcc-fedora-flags/hello.c b/tests/Sanity/gcc-fedora-flags/hello.c new file mode 100644 index 0000000..51b259b --- /dev/null +++ b/tests/Sanity/gcc-fedora-flags/hello.c @@ -0,0 +1,5 @@ +#include + +void hello() { + printf("Hello World\n"); +} diff --git a/tests/Sanity/gcc-fedora-flags/hello.cpp b/tests/Sanity/gcc-fedora-flags/hello.cpp new file mode 100644 index 0000000..400612b --- /dev/null +++ b/tests/Sanity/gcc-fedora-flags/hello.cpp @@ -0,0 +1,5 @@ +#include + +void hello() { + std::cout << "Hello World\n"; +} diff --git a/tests/Sanity/gcc-fedora-flags/main.c b/tests/Sanity/gcc-fedora-flags/main.c new file mode 100644 index 0000000..1a3455d --- /dev/null +++ b/tests/Sanity/gcc-fedora-flags/main.c @@ -0,0 +1,6 @@ +void hello(); + +int main(int argc, char **argv) { + hello(); + return 0; +} diff --git a/tests/Sanity/gcc-fedora-flags/main.cpp b/tests/Sanity/gcc-fedora-flags/main.cpp new file mode 100644 index 0000000..1a3455d --- /dev/null +++ b/tests/Sanity/gcc-fedora-flags/main.cpp @@ -0,0 +1,6 @@ +void hello(); + +int main(int argc, char **argv) { + hello(); + return 0; +} diff --git a/tests/Sanity/gcc-fedora-flags/main.fmf b/tests/Sanity/gcc-fedora-flags/main.fmf new file mode 100644 index 0000000..f053025 --- /dev/null +++ b/tests/Sanity/gcc-fedora-flags/main.fmf @@ -0,0 +1,17 @@ +summary: gcc-fedora-flags +description: '' +contact: +- Tom Stellard +component: +- annobin +test: ./runtest.sh +framework: beakerlib +recommend: +- gcc +- gcc-c++ +- annobin +- annobin-annocheck +- redhat-rpm-config +duration: 1h +extra-summary: /tools/annobin/Sanity/gcc-fedora-flags +extra-task: /tools/annobin/Sanity/gcc-fedora-flags diff --git a/tests/Sanity/gcc-fedora-flags/runtest.sh b/tests/Sanity/gcc-fedora-flags/runtest.sh new file mode 100755 index 0000000..13da313 --- /dev/null +++ b/tests/Sanity/gcc-fedora-flags/runtest.sh @@ -0,0 +1,38 @@ +#!/bin/bash + +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +set -x + +default_cflags=`rpm -E %{build_cflags}` +default_cxxflags=`rpm -E %{build_cxxflags}` +default_ldflags=`rpm -E %{build_ldflags}` + +cflags=`rpm -D '%toolchain gcc' -E %{build_cflags}` +cxxflags=`rpm -D '%toolchain gcc' -E %{build_cxxflags}` +ldflags=`rpm -D '%toolchain gcc' -E %{build_ldflags}` + +set +x + +rlJournalStart +rlPhaseStartTest + rlRun "test \"$default_cflags\" = \"$cflags\"" + rlRun "test \"$default_cxxflags\" = \"$cxxflags\"" + rlRun "test \"$default_ldflags\" = \"$ldflags\"" + + rlRun "gcc $cflags -o hello.o -c hello.c" + rlRun "annocheck hello.o" + rlRun "gcc $cflags -o main.o -c main.c" + rlRun "gcc $ldflags -o hello main.o hello.o" + rlRun "annocheck hello" + rlRun "./hello | grep \"Hello World\"" + + rlRun "g++ $cxxflags -o hello-cpp.o -c hello.cpp" + rlRun "annocheck hello-cpp.o" + rlRun "g++ $cxxflags -o main-cpp.o -c main.cpp" + rlRun "g++ $ldflags -o hello-cpp main-cpp.o hello-cpp.o" + rlRun "annocheck hello-cpp" + rlRun "./hello-cpp | grep \"Hello World\"" +rlPhaseEnd +rlJournalPrintText +rlJournalEnd diff --git a/tests/Sanity/smoke/Makefile b/tests/Sanity/smoke/Makefile deleted file mode 100644 index 0ed8978..0000000 --- a/tests/Sanity/smoke/Makefile +++ /dev/null @@ -1,59 +0,0 @@ -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Makefile of /tools/annobin/Sanity/smoke -# Description: smoke test for annobin plugin -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2019 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -export TEST=/tools/annobin/Sanity/smoke -export TESTVERSION=1.0 - -BUILT_FILES= - -FILES=$(METADATA) runtest.sh Makefile PURPOSE - -.PHONY: all install download clean - -run: $(FILES) build - ./runtest.sh - -build: $(BUILT_FILES) - test -x runtest.sh || chmod a+x runtest.sh - -clean: - rm -f *~ $(BUILT_FILES) - - -include /usr/share/rhts/lib/rhts-make.include - -$(METADATA): Makefile - @echo "Owner: Martin Cermak " > $(METADATA) - @echo "Name: $(TEST)" >> $(METADATA) - @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) - @echo "Path: $(TEST_DIR)" >> $(METADATA) - @echo "Description: smoke test for annobin plugin" >> $(METADATA) - @echo "Type: Sanity" >> $(METADATA) - @echo "TestTime: 48h" >> $(METADATA) - @echo "License: GPL" >> $(METADATA) - @echo "RunFor: annobin" >> $(METADATA) - @echo "Releases: -RHEL4 -RHELClient5 -RHELServer5" >> $(METADATA) - - rhts-lint $(METADATA) diff --git a/tests/Sanity/smoke/PURPOSE b/tests/Sanity/smoke/PURPOSE deleted file mode 100644 index ad364a5..0000000 --- a/tests/Sanity/smoke/PURPOSE +++ /dev/null @@ -1,3 +0,0 @@ -PURPOSE of /tools/annobin/Sanity/smoke -Description: smoke test for annobin plugin -Author: Martin Cermak diff --git a/tests/Sanity/smoke/main.fmf b/tests/Sanity/smoke/main.fmf index 5c30808..49d2862 100644 --- a/tests/Sanity/smoke/main.fmf +++ b/tests/Sanity/smoke/main.fmf @@ -8,6 +8,7 @@ test: ./runtest.sh framework: beakerlib recommend: - man-db +- gcc - annobin - annobin-annocheck duration: 48h diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index 0cb592f..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,17 +0,0 @@ -- hosts: localhost - roles: - - role: standard-test-basic - tags: - - classic - required_packages: - # gcc-fedora-flags - - rpm - - redhat-rpm-config - - gcc - - gcc-c++ - - annobin-annocheck - repositories: - - repo: https://src.fedoraproject.org/rpms/redhat-rpm-config.git - dest: redhat-rpm-config - tests: - - redhat-rpm-config/tests/gcc-fedora-flags From 60b4b4fa7609f02efe5c3e9cfe04cc28dfae494d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Mon, 19 Apr 2021 09:46:44 +0200 Subject: [PATCH 023/361] Bump a release annobin-9.66-3.fc35 was already used in FEDORA-2021-91bdf0b234 update which went to stable and then untagged. We cannot detach a build from a finished update. --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index f504f18..8405cad 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 9.66 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark # Maintainer: nickc@redhat.com @@ -409,6 +409,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Apr 19 2021 Petr Pisar - 9.66-4 +- Bump a release + * Fri Apr 16 2021 Petr Pisar - 9.66-3 - Correct a package rename (bug #1949570) - Require docs subpackage by the other ones because of a license From 1622358fc16dde8933a7ba0a8b962721f19c8f12 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 20 Apr 2021 12:35:20 +0100 Subject: [PATCH 024/361] Annocheck: Improve detection of missing GNU-stack support. --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 8405cad..6e3089c 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.66 -Release: 4%{?dist} +Version: 9.67 +Release: 1%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark # Maintainer: nickc@redhat.com @@ -409,6 +409,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Apr 20 2021 Nick Clifton - 9.67-1 +- Annocheck: Improve detection of missing GNU-stack support. + * Mon Apr 19 2021 Petr Pisar - 9.66-4 - Bump a release diff --git a/sources b/sources index 41d4506..5f2faab 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.66.tar.xz) = ea9a2b4b18bc5a558c5bcd2dcdb4446be3b7ebea651ae79a14244da906bbae0da39032469eda2f41ba7254fa9ef89f9cf8ae9e29de18b4c33fe5c4e1d18f4fd9 +SHA512 (annobin-9.67.tar.xz) = 160b27de548b43aee80cc83ec898f420ce28c42177d1bbd3f4ff49c2e5c5660924f0c5898155448e2c19daa964b2eb4ef8f3dc4d474e2e7457ed7806778cec52 From 99c1127a1112bf55bc7cd9afecae12c2bcd9d84b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Tue, 20 Apr 2021 13:20:58 +0200 Subject: [PATCH 025/361] Obsolete annobin < 9.66-1 We want to support an upgrade from a distribution prior an introduction of annobin-docs. --- annobin.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 6e3089c..53b4ac7 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 9.67 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark # Maintainer: nickc@redhat.com @@ -171,8 +171,7 @@ Summary: Documentation and shell scripts for use with annobin BuildArch: noarch # annobin renamed to annobin-doc in 9.66-1 Provides: %{name} = %{version}-%{release} -# /usr/share/info/annobin.info.gz moved from annobin to annobin-docs -Conflicts: %{name} < 9.66-1 +Obsoletes: %{name} < 9.66-1 %description docs Provides the documentation files and example shell scripts for use with annobin. @@ -409,6 +408,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Apr 20 2021 Petr Pisar - 9.67-2 +- Obsolete annobin < 9.66-1 (bug #1949570) + * Tue Apr 20 2021 Nick Clifton - 9.67-1 - Annocheck: Improve detection of missing GNU-stack support. From 9e62aa8ed83f0a501bb5b6cf93c5c9966c1ab128 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 21 Apr 2021 12:56:16 +0100 Subject: [PATCH 026/361] Annocheck: WARN if the annobin plugin was built for a newer version of the compiler than the one on which it was run. Related: #1950657 --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 53b4ac7..f1a43b1 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.67 -Release: 2%{?dist} +Version: 9.68 +Release: 1%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark # Maintainer: nickc@redhat.com @@ -408,6 +408,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Apr 21 2021 Nick Clifton - 9.68-1 +- Annocheck: WARN if the annobin plugin was built for a newer version of the compiler than the one on which it was run. (#1950657) + * Tue Apr 20 2021 Petr Pisar - 9.67-2 - Obsolete annobin < 9.66-1 (bug #1949570) diff --git a/sources b/sources index 5f2faab..83f3011 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.67.tar.xz) = 160b27de548b43aee80cc83ec898f420ce28c42177d1bbd3f4ff49c2e5c5660924f0c5898155448e2c19daa964b2eb4ef8f3dc4d474e2e7457ed7806778cec52 +SHA512 (annobin-9.68.tar.xz) = ca76411cd112f61002f56d5cbe82307c3137b6da4deaaa12d70493ac514ff3950ffda4e0812c0414200a495228fe36b02a9a8628c5e616456adffe923917b391 From ae66570d85ca93cc3c2b60fc758704a4008d2614 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 21 Apr 2021 13:41:29 +0100 Subject: [PATCH 027/361] Annocheck: WARN if the annobin plugin was built for a newer version of the compiler than the one on which it was run. (#1950657) - Annocheck: Improve detection of missing GNU-stack support. - Fix anomolies reported by covscan. --- annobin.spec | 9 +++++++-- sources | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 3da0fac..c57bb74 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.65 -Release: 3%{?dist} +Version: 9.68 +Release: 1%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark # Maintainer: nickc@redhat.com @@ -324,6 +324,11 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Apr 21 2021 Nick Clifton - 9.68-1 +- Annocheck: WARN if the annobin plugin was built for a newer version of the compiler than the one on which it was run. (#1950657) +- Annocheck: Improve detection of missing GNU-stack support. +- Fix anomolies reported by covscan. + * Tue Mar 30 2021 Nick Clifton - 9.65-3 - Another NVR bump to allow rebuild in CentOS stream. diff --git a/sources b/sources index 143b60c..83f3011 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.65.tar.xz) = 5b5e5f988700232d31c5087ad9880a4bd0aaaa0927b1e4c913f1427ae63c768867b99a8fb282e82865c53f896a925a29dddac9a643144dfc74aacb74b7138426 +SHA512 (annobin-9.68.tar.xz) = ca76411cd112f61002f56d5cbe82307c3137b6da4deaaa12d70493ac514ff3950ffda4e0812c0414200a495228fe36b02a9a8628c5e616456adffe923917b391 From e5cf20e0a371c865e3c99621febf83c25161dc01 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 22 Apr 2021 14:15:51 +0100 Subject: [PATCH 028/361] Fix the testsuite so that it can be run in parallel. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index f1a43b1..61a3615 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.68 +Version: 9.69 Release: 1%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark @@ -408,6 +408,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Apr 22 2021 Nick Clifton - 9.69-1 +- Fix the testsuite so that it can be run in parallel. + * Wed Apr 21 2021 Nick Clifton - 9.68-1 - Annocheck: WARN if the annobin plugin was built for a newer version of the compiler than the one on which it was run. (#1950657) diff --git a/sources b/sources index 83f3011..ebbeded 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.68.tar.xz) = ca76411cd112f61002f56d5cbe82307c3137b6da4deaaa12d70493ac514ff3950ffda4e0812c0414200a495228fe36b02a9a8628c5e616456adffe923917b391 +SHA512 (annobin-9.69.tar.xz) = 8a9c4beb27a9cc74883ac1542f89e0b38c2854896b94e5889e0cc8ad36207175e5b6227d8834ad847215948242d165a101c97e395dfc64637999393b4f4a193b From 689a7f6f5474dee466cabfe019137f0f188211d9 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 30 Apr 2021 09:50:06 +0100 Subject: [PATCH 029/361] gcc-plugin: Replace ICE messsages with verbose messages. --- annobin.spec | 43 +++++++++++++++++++++++++++++++++++-------- sources | 2 +- 2 files changed, 36 insertions(+), 9 deletions(-) diff --git a/annobin.spec b/annobin.spec index 61a3615..54205e4 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.69 +Version: 9.70 Release: 1%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark @@ -131,14 +131,19 @@ Requires: annobin-plugin-llvm Requires: annobin-plugin-clang %endif -BuildRequires: gcc gcc-plugin-devel gcc-c++ # The documentation uses pod2man... -BuildRequires: perl-interpreter perl-podlators -%if %{with clangplugin} -BuildRequires: clang clang-devel llvm llvm-devel compiler-rt gawk +BuildRequires: gcc perl-interpreter perl-podlators gawk + +%if %{with gccplugin} +BuildRequires: gcc-c++ gcc-plugin-devel %endif + +%if %{with clangplugin} +BuildRequires: clang clang-devel llvm llvm-devel compiler-rt +%endif + %if %{with llvmplugin} -BuildRequires: clang clang-devel llvm llvm-devel compiler-rt gawk +BuildRequires: clang clang-devel llvm llvm-devel compiler-rt %endif %description @@ -187,6 +192,10 @@ Requires: %{name}-docs = %{version}-%{release} Provides a means to test the generation of annotated binaries and the parsing of the resulting files. +%if %{with debuginfod} +BuildRequires: elfutils-debuginfod-client-devel +%endif + %endif #---------------------------------------------------------------------------- @@ -197,9 +206,9 @@ Summary: A tool for checking the security hardening status of binaries BuildRequires: gcc elfutils elfutils-devel elfutils-libelf-devel rpm-devel binutils-devel %if %{with debuginfod} -BuildRequires: elfutils-debuginfod-client-devel -BuildRequires: make +BuildRequires: elfutils-debuginfod-client-devel make %endif + Requires: %{name}-docs = %{version}-%{release} %description annocheck @@ -283,6 +292,12 @@ CONFIG_ARGS="--quiet --with-gcc-plugin-dir=%{ANNOBIN_GCC_PLUGIN_DIR}" %if %{with debuginfod} CONFIG_ARGS="$CONFIG_ARGS --with-debuginfod" %else +# Note - we explicitly disable debuginfod support if it was not configured. +# This is because by default annobin's configue script will assume --with-debuginfod=auto +# and then run a build time test to see if debugingfod is available. It +# may well be, but the build time environment may not match the run time +# environment, and the rpm will not have a Requirement on the debuginfod +# client. CONFIG_ARGS="$CONFIG_ARGS --without-debuginfod" %endif @@ -368,6 +383,15 @@ make check if [ -f tests/test-suite.log ]; then cat tests/test-suite.log fi + +%if %{with clangplugin} +# FIXME: RUN CLANG tests +%endif + +%if %{with llvmplugin} +# FIXME: RUN LLVM tests +%endif + %endif #--------------------------------------------------------------------------------- @@ -408,6 +432,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Apr 30 2021 Nick Clifton - 9.70-1 +- gcc-plugin: Replace ICE messsages with verbose messages. + * Thu Apr 22 2021 Nick Clifton - 9.69-1 - Fix the testsuite so that it can be run in parallel. diff --git a/sources b/sources index ebbeded..320e93d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.69.tar.xz) = 8a9c4beb27a9cc74883ac1542f89e0b38c2854896b94e5889e0cc8ad36207175e5b6227d8834ad847215948242d165a101c97e395dfc64637999393b4f4a193b +SHA512 (annobin-9.70.tar.xz) = 08a04dff35601b0a704a9ecc26baa3b005dfc2c3290d98a5f3960ed21aca45e5730729150d941aacdd8ddc0b36a6d8792051d2d4326f3e5013dd7d946e4b2544 From 394bd0083ff466700e75d90e4870a2025ad52a6b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 4 May 2021 15:15:25 +0100 Subject: [PATCH 030/361] timing: do not initialise the clock if the timing tool is disabled. --- annobin.spec | 8 ++++++-- sources | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 54205e4..09029ea 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,11 +1,12 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.70 +Version: 9.71 Release: 1%{?dist} License: GPLv3+ -# ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark # Maintainer: nickc@redhat.com +# Web Page: https://sourceware.org/annobin/ +# Watermark Protocol: https://fedoraproject.org/wiki/Toolchain/Watermark #--------------------------------------------------------------------------------- @@ -432,6 +433,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue May 04 2021 Nick Clifton - 9.71-1 +- timing: do not initialise the clock if the timing tool is disabled. + * Fri Apr 30 2021 Nick Clifton - 9.70-1 - gcc-plugin: Replace ICE messsages with verbose messages. diff --git a/sources b/sources index 320e93d..35f90a6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.70.tar.xz) = 08a04dff35601b0a704a9ecc26baa3b005dfc2c3290d98a5f3960ed21aca45e5730729150d941aacdd8ddc0b36a6d8792051d2d4326f3e5013dd7d946e4b2544 +SHA512 (annobin-9.71.tar.xz) = 406ad934a42248e427139875839ed15e732d5fcac69d30ac55e36f20b916ea0a0ea90fcbfb495db6df6224de8e3ae589163fb9bff9047889fb36ba1781a9d635 From dcd6b95df84d1b850eb77ed0f7f728bc135682b2 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 7 May 2021 16:11:01 +0100 Subject: [PATCH 031/361] - timing: do not initialise the clock if the timing tool is disabled. - gcc-plugin: Replace ICE messsages with verbose messages. - Fix the testsuite so that it can be run in parallel. --- annobin.spec | 7 ++++++- sources | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index c57bb74..98db979 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.68 +Version: 9.71 Release: 1%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark @@ -324,6 +324,11 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri May 07 2021 Nick Clifton - 9.71-1 +- timing: do not initialise the clock if the timing tool is disabled. +- gcc-plugin: Replace ICE messsages with verbose messages. +- Fix the testsuite so that it can be run in parallel. + * Wed Apr 21 2021 Nick Clifton - 9.68-1 - Annocheck: WARN if the annobin plugin was built for a newer version of the compiler than the one on which it was run. (#1950657) - Annocheck: Improve detection of missing GNU-stack support. diff --git a/sources b/sources index 83f3011..35f90a6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.68.tar.xz) = ca76411cd112f61002f56d5cbe82307c3137b6da4deaaa12d70493ac514ff3950ffda4e0812c0414200a495228fe36b02a9a8628c5e616456adffe923917b391 +SHA512 (annobin-9.71.tar.xz) = 406ad934a42248e427139875839ed15e732d5fcac69d30ac55e36f20b916ea0a0ea90fcbfb495db6df6224de8e3ae589163fb9bff9047889fb36ba1781a9d635 From a9f3f30da41389c0fddbf5a722bee1985424e0b9 Mon Sep 17 00:00:00 2001 From: Martin Cermak Date: Thu, 13 May 2021 13:01:56 +0200 Subject: [PATCH 032/361] Log package versions in CI tests --- tests/Regression/identify/runtest.sh | 1 + tests/Regression/lto-preprocessor-options/runtest.sh | 2 +- tests/Regression/testsuite/runtest.sh | 2 ++ tests/Sanity/gcc-fedora-flags/runtest.sh | 2 ++ tests/Sanity/smoke/runtest.sh | 1 + 5 files changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/Regression/identify/runtest.sh b/tests/Regression/identify/runtest.sh index d1b3b5f..7907036 100755 --- a/tests/Regression/identify/runtest.sh +++ b/tests/Regression/identify/runtest.sh @@ -32,6 +32,7 @@ PACKAGE="annobin" rlJournalStart rlPhaseStartTest + rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort" rlRun "tool_v=$(annocheck --version | awk '/^annocheck: Version/ {print $3}')" rlRun "__RPM=$(rpm --queryformat='%{name}\n' -qf $(man -w annobin))" rlRun "rpm_v=$(rpm -q --queryformat='%{version}\n' $__RPM)" diff --git a/tests/Regression/lto-preprocessor-options/runtest.sh b/tests/Regression/lto-preprocessor-options/runtest.sh index 7c54481..430d830 100755 --- a/tests/Regression/lto-preprocessor-options/runtest.sh +++ b/tests/Regression/lto-preprocessor-options/runtest.sh @@ -33,7 +33,7 @@ PACKAGE="annobin" rlJournalStart rlPhaseStartTest b=`mktemp` - rlRun "rpm -q redhat-rpm-config" + rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort" rlRun "cflags=\"$(rpm --eval '%build_cflags')\"" rlRun "ldflags=\"$(rpm --eval '%build_ldflags')\"" rlRun "echo 'int main (void) { return 0; }' | gcc -xc -o $b $cflags $ldflags -flto - " diff --git a/tests/Regression/testsuite/runtest.sh b/tests/Regression/testsuite/runtest.sh index 4a92cd9..c8016ad 100755 --- a/tests/Regression/testsuite/runtest.sh +++ b/tests/Regression/testsuite/runtest.sh @@ -42,6 +42,8 @@ rlJournalStart rlLogInfo "X_SCLS=$X_SCLS" rlLogInfo "GCC=$GCC" + rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort" + # In case more than one devtoolset- or gcc-toolset -build package is # installed (they can co-exist from the packaging persp, but their # coexistence causes unexpected results with rpm macros), then we have diff --git a/tests/Sanity/gcc-fedora-flags/runtest.sh b/tests/Sanity/gcc-fedora-flags/runtest.sh index 13da313..8ef829f 100755 --- a/tests/Sanity/gcc-fedora-flags/runtest.sh +++ b/tests/Sanity/gcc-fedora-flags/runtest.sh @@ -16,6 +16,8 @@ set +x rlJournalStart rlPhaseStartTest + rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort" + rlRun "test \"$default_cflags\" = \"$cflags\"" rlRun "test \"$default_cxxflags\" = \"$cxxflags\"" rlRun "test \"$default_ldflags\" = \"$ldflags\"" diff --git a/tests/Sanity/smoke/runtest.sh b/tests/Sanity/smoke/runtest.sh index 0f39938..566e571 100755 --- a/tests/Sanity/smoke/runtest.sh +++ b/tests/Sanity/smoke/runtest.sh @@ -38,6 +38,7 @@ rlJournalStart rlPhaseEnd rlPhaseStartTest + rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort" rlRun "echo 'int main() {return 0;}' | gcc -xc -fplugin=annobin -o /dev/null -" rlPhaseEnd rlJournalPrintText From 81adad3f3177188c47b6373c2dd1bf7899672639 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 13 May 2021 12:40:46 +0100 Subject: [PATCH 033/361] annocheck: Accept 0 as a valid number for gcc minor versions and release numbers. gcc-plugin: Add support for ARM and RISCV targets. --- annobin.spec | 6 +++++- sources | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 09029ea..1ca24ac 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.71 +Version: 9.72 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -433,6 +433,10 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu May 13 2021 Nick Clifton - 9.72-1 +- annocheck: Accept 0 as a valid number for gcc minor versions and release numbers. +- gcc-plugin: Add support for ARM and RISCV targets. + * Tue May 04 2021 Nick Clifton - 9.71-1 - timing: do not initialise the clock if the timing tool is disabled. diff --git a/sources b/sources index 35f90a6..7719431 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.71.tar.xz) = 406ad934a42248e427139875839ed15e732d5fcac69d30ac55e36f20b916ea0a0ea90fcbfb495db6df6224de8e3ae589163fb9bff9047889fb36ba1781a9d635 +SHA512 (annobin-9.72.tar.xz) = 301e426e2095bbd298b2ff037be58a4c9a5388a58fa414fc86a4445e64b820f85088e26b53708779af4df2c2f16f8477c1f235f1aebf310f223f8e6fc1f383ed From 80bf058d7ca94ec19a5fbb3a434d4a35e8498c6d Mon Sep 17 00:00:00 2001 From: Martin Cermak Date: Thu, 13 May 2021 13:47:41 +0200 Subject: [PATCH 034/361] Log package versions in CI tests --- tests/Regression/identify/runtest.sh | 1 + tests/Regression/lto-preprocessor-options/runtest.sh | 5 ++++- tests/Regression/testsuite/runtest.sh | 2 ++ tests/Sanity/smoke/runtest.sh | 1 + 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/Regression/identify/runtest.sh b/tests/Regression/identify/runtest.sh index d1b3b5f..7907036 100755 --- a/tests/Regression/identify/runtest.sh +++ b/tests/Regression/identify/runtest.sh @@ -32,6 +32,7 @@ PACKAGE="annobin" rlJournalStart rlPhaseStartTest + rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort" rlRun "tool_v=$(annocheck --version | awk '/^annocheck: Version/ {print $3}')" rlRun "__RPM=$(rpm --queryformat='%{name}\n' -qf $(man -w annobin))" rlRun "rpm_v=$(rpm -q --queryformat='%{version}\n' $__RPM)" diff --git a/tests/Regression/lto-preprocessor-options/runtest.sh b/tests/Regression/lto-preprocessor-options/runtest.sh index 315169d..430d830 100755 --- a/tests/Regression/lto-preprocessor-options/runtest.sh +++ b/tests/Regression/lto-preprocessor-options/runtest.sh @@ -33,7 +33,10 @@ PACKAGE="annobin" rlJournalStart rlPhaseStartTest b=`mktemp` - rlRun "echo 'int main (void) { return 0; }' | gcc -xc -o $b `rpm --eval "%build_cflags %build_ldflags"` -flto - " + rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort" + rlRun "cflags=\"$(rpm --eval '%build_cflags')\"" + rlRun "ldflags=\"$(rpm --eval '%build_ldflags')\"" + rlRun "echo 'int main (void) { return 0; }' | gcc -xc -o $b $cflags $ldflags -flto - " rlRun "annocheck -v $b" rm $b rlPhaseEnd diff --git a/tests/Regression/testsuite/runtest.sh b/tests/Regression/testsuite/runtest.sh index 4a92cd9..c8016ad 100755 --- a/tests/Regression/testsuite/runtest.sh +++ b/tests/Regression/testsuite/runtest.sh @@ -42,6 +42,8 @@ rlJournalStart rlLogInfo "X_SCLS=$X_SCLS" rlLogInfo "GCC=$GCC" + rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort" + # In case more than one devtoolset- or gcc-toolset -build package is # installed (they can co-exist from the packaging persp, but their # coexistence causes unexpected results with rpm macros), then we have diff --git a/tests/Sanity/smoke/runtest.sh b/tests/Sanity/smoke/runtest.sh index 0f39938..566e571 100755 --- a/tests/Sanity/smoke/runtest.sh +++ b/tests/Sanity/smoke/runtest.sh @@ -38,6 +38,7 @@ rlJournalStart rlPhaseEnd rlPhaseStartTest + rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort" rlRun "echo 'int main() {return 0;}' | gcc -xc -fplugin=annobin -o /dev/null -" rlPhaseEnd rlJournalPrintText From 51c0c798f106e2a95dd2e09f57cd87fb36a1d9da Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 13 May 2021 14:06:37 +0100 Subject: [PATCH 035/361] annocheck: Accept 0 as a valid number for gcc minor versions and release numbers. gcc-plugin: Add support for ARM and RISCV targets. --- annobin.spec | 6 +++++- sources | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 98db979..c2615ef 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.71 +Version: 9.72 Release: 1%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark @@ -324,6 +324,10 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu May 13 2021 Nick Clifton - 9.72-1 +- annocheck: Accept 0 as a valid number for gcc minor versions and release numbers. +- gcc-plugin: Add support for ARM and RISCV targets. + * Fri May 07 2021 Nick Clifton - 9.71-1 - timing: do not initialise the clock if the timing tool is disabled. - gcc-plugin: Replace ICE messsages with verbose messages. diff --git a/sources b/sources index 35f90a6..7719431 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.71.tar.xz) = 406ad934a42248e427139875839ed15e732d5fcac69d30ac55e36f20b916ea0a0ea90fcbfb495db6df6224de8e3ae589163fb9bff9047889fb36ba1781a9d635 +SHA512 (annobin-9.72.tar.xz) = 301e426e2095bbd298b2ff037be58a4c9a5388a58fa414fc86a4445e64b820f85088e26b53708779af4df2c2f16f8477c1f235f1aebf310f223f8e6fc1f383ed From 45b479d2d6f86db76a5270bba26757e1b3e3a56e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 19 May 2021 12:05:01 +0100 Subject: [PATCH 036/361] Tidy up spec file --- annobin.spec | 265 ++++++++++++++++++++++++++++----------------------- 1 file changed, 144 insertions(+), 121 deletions(-) diff --git a/annobin.spec b/annobin.spec index 1ca24ac..767ee06 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 9.72 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -54,10 +54,6 @@ License: GPLv3+ %undefine _annotated_build %endif -%{!?llvm_version:%global llvm_version 11.1.0} -%{!?llvm_plugin_dir:%global llvm_plugin_dir %{_libdir}/llvm/%{llvm_version}} -%{!?clang_plugin_dir:%global clang_plugin_dir %{_libdir}/clang/%{llvm_version}} - #--------------------------------------------------------------------------------- Source: https://nickc.fedorapeople.org/annobin-%{version}.tar.xz @@ -68,6 +64,121 @@ Source: https://nickc.fedorapeople.org/annobin-%{version}.tar.xz #--------------------------------------------------------------------------------- +# Make sure that the necessary sub-packages are built. + +%if %{with gccplugin} +Requires: %{name}-plugin-gcc +%endif + +%if %{with llvmplugin} +Requires: %{name}-plugin-llvm +%endif + +%if %{with clangplugin} +Requires: %{name}-plugin-clang +%endif + +#--------------------------------------------------------------------------------- + +%description +This package contains the tools needed to annotate binary files created by +compilers, and also the tools needed to examine those annotations. + +%if %{with gccplugin} +One of the tools is a plugin for GCC that records information about the +security options that were in effect when the binary was compiled. + +Note - the plugin is automatically enabled in gcc builds via flags +provided by the redhat-rpm-macros package. +%endif + +%if %{with clangplugin} +One of the tools is a plugin for Clang that records information about the +security options that were in effect when the binary was compiled. +%endif + +%if %{with llvmplugin} +One of the tools is a plugin for LLVM that records information about the +security options that were in effect when the binary was compiled. +%endif + +%if %{with annocheck} +One of the tools is a security checker which analyses the notes present in +annotated files and reports on any missing security options. +%endif + +#--------------------------------------------------------------------------- + +# Now that we have sub-packages for all of the plugins and for annocheck, +# there are no executables left to go into the "annobin" rpm. But top-level +# packages cannot have "BuildArch: noarch" if sub-packages do have +# architecture requirements, and rpmlint generates an error if an +# architecture specific rpm does not contain any binaries. So instead all of +# the documentation has been moved into an architecture neutral sub-package, +# and there no longer is a top level annobin rpm at all. + +%package docs +Summary: Documentation and shell scripts for use with annobin +BuildArch: noarch +# annobin renamed to annobin-doc in 9.66-1 +Provides: %{name} = %{version}-%{release} +Obsoletes: %{name} < 9.66-1 +# The documentation uses pod2man... +BuildRequires: perl-interpreter perl-podlators gawk make + +%description docs +Provides the documentation files and example shell scripts for use with annobin. + +#---------------------------------------------------------------------------- +%if %{with tests} + +%package tests +Summary: Test scripts and binaries for checking the behaviour and output of the annobin plugin +Requires: %{name}-docs = %{version}-%{release} + +%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 + +#---------------------------------------------------------------------------- +%if %{with annocheck} + +%package annocheck +Summary: A tool for checking the security hardening status of binaries + +BuildRequires: gcc elfutils elfutils-devel elfutils-libelf-devel rpm-devel binutils-devel make + +%if %{with debuginfod} +BuildRequires: elfutils-debuginfod-client-devel +%endif + +Requires: %{name}-docs = %{version}-%{release} + +%description annocheck +Installs the annocheck program which uses the notes generated by annobin to +check that the specified files were compiled with the correct security +hardening options. + +%endif + +#---------------------------------------------------------------------------- +%if %{with gccplugin} + +%package plugin-gcc +Summary: annobin gcc plugin + +Requires: %{name}-docs = %{version}-%{release} +Conflicts: %{name} <= 9.60-1 +BuildRequires: gcc-c++ gcc-plugin-devel + # [Stolen from gcc-python-plugin] # GCC will only load plugins that were built against exactly that build of GCC # We thus need to embed the exact GCC version as a requirement within the @@ -112,7 +223,7 @@ Source: https://nickc.fedorapeople.org/annobin-%{version}.tar.xz %global gcc_major 0 %endif -# This is a gcc plugin, hence gcc is required. +# For a gcc plugin gcc is required. %if %{with_hard_gcc_version_requirement} # BZ 1607430 - There is an exact requirement on the major version of gcc. Requires: (gcc >= %{gcc_major} with gcc < %{gcc_next}) @@ -120,114 +231,6 @@ Requires: (gcc >= %{gcc_major} with gcc < %{gcc_next}) Requires: gcc %endif -%if %{with gccplugin} -Requires: annobin-plugin-gcc -%endif - -%if %{with llvmplugin} -Requires: annobin-plugin-llvm -%endif - -%if %{with clangplugin} -Requires: annobin-plugin-clang -%endif - -# The documentation uses pod2man... -BuildRequires: gcc perl-interpreter perl-podlators gawk - -%if %{with gccplugin} -BuildRequires: gcc-c++ gcc-plugin-devel -%endif - -%if %{with clangplugin} -BuildRequires: clang clang-devel llvm llvm-devel compiler-rt -%endif - -%if %{with llvmplugin} -BuildRequires: clang clang-devel llvm llvm-devel compiler-rt -%endif - -%description -Provides a plugin for GCC that records extra information in the files -that it compiles. - -Note - the plugin is automatically enabled in gcc builds via flags -provided by the redhat-rpm-macros package. - -%if %{with clangplugin} -Also provides a plugin for Clang which performs a similar function. -%endif - -%if %{with llvmplugin} -Also provides a plugin for LLVM which performs a similar function. -%endif - -#--------------------------------------------------------------------------- - -# Now that we have sub-packages for all of the plugins and for annocheck, -# there are no executables left to go into the "annobin" rpm. But top-level -# packages cannot have "BuildArch: noarch" if sub-packages do have -# architecture requirements, and rpmlint generates an error if an -# architecture specific rpm does not contain any binaries. So instead all of -# the documentation has been moved into an architecture neutral sub-package, -# and there no longer is a top level annobin rpm at all. - -%package docs -Summary: Documentation and shell scripts for use with annobin -BuildArch: noarch -# annobin renamed to annobin-doc in 9.66-1 -Provides: %{name} = %{version}-%{release} -Obsoletes: %{name} < 9.66-1 - -%description docs -Provides the documentation files and example shell scripts for use with annobin. - -#---------------------------------------------------------------------------- -%if %{with tests} - -%package tests -Summary: Test scripts and binaries for checking the behaviour and output of the annobin plugin -Requires: %{name}-docs = %{version}-%{release} - -%description tests -Provides a means to test the generation of annotated binaries and the parsing -of the resulting files. - -%if %{with debuginfod} -BuildRequires: elfutils-debuginfod-client-devel -%endif - -%endif - -#---------------------------------------------------------------------------- -%if %{with annocheck} - -%package annocheck -Summary: A tool for checking the security hardening status of binaries - -BuildRequires: gcc elfutils elfutils-devel elfutils-libelf-devel rpm-devel binutils-devel -%if %{with debuginfod} -BuildRequires: elfutils-debuginfod-client-devel make -%endif - -Requires: %{name}-docs = %{version}-%{release} - -%description annocheck -Installs the annocheck program which uses the notes generated by annobin to -check that the specified files were compiled with the correct security -hardening options. - -%endif - -#---------------------------------------------------------------------------- -%if %{with gccplugin} - -%package plugin-gcc -Summary: annobin gcc plugin - -Requires: %{name}-docs = %{version}-%{release} -Conflicts: annobin <= 9.60-1 - %description plugin-gcc Installs an annobin plugin that can be used by gcc. @@ -240,10 +243,11 @@ Installs an annobin plugin that can be used by gcc. Summary: annobin llvm plugin Requires: %{name}-docs = %{version}-%{release} -Conflicts: annobin <= 9.60-1 +Conflicts: %{name} <= 9.60-1 +BuildRequires: clang clang-devel llvm llvm-devel compiler-rt %description plugin-llvm -Installs an annobin plugin that can be used by llvm tools. +Installs an annobin plugin that can be used by LLVM tools. %endif @@ -254,16 +258,24 @@ Installs an annobin plugin that can be used by llvm tools. Summary: annobin clang plugin Requires: %{name}-docs = %{version}-%{release} -Conflicts: annobin <= 9.60-1 +Conflicts: %{name} <= 9.60-1 +BuildRequires: clang clang-devel llvm llvm-devel compiler-rt %description plugin-clang -Installs an annobin plugin that can be used by clang. +Installs an annobin plugin that can be used by Clang. %endif + #--------------------------------------------------------------------------------- +# Decide where the plugins will live. Change if necessary. + %global ANNOBIN_GCC_PLUGIN_DIR %(gcc --print-file-name=plugin) +%{!?llvm_version:%global llvm_version 11.1.0} +%{!?llvm_plugin_dir:%global llvm_plugin_dir %{_libdir}/llvm/%{llvm_version}} +%{!?clang_plugin_dir:%global clang_plugin_dir %{_libdir}/clang/%{llvm_version}} + #--------------------------------------------------------------------------------- %prep @@ -288,7 +300,7 @@ touch doc/annobin.info %build -CONFIG_ARGS="--quiet --with-gcc-plugin-dir=%{ANNOBIN_GCC_PLUGIN_DIR}" +CONFIG_ARGS="--quiet" %if %{with debuginfod} CONFIG_ARGS="$CONFIG_ARGS --with-debuginfod" @@ -308,6 +320,8 @@ CONFIG_ARGS="$CONFIG_ARGS --with-clang" %if %{without gccplugin} CONFIG_ARGS="$CONFIG_ARGS --without-gcc-plugin" +%else +CONFIG_ARGS="$CONFIG_ARGS --with-gcc-plugin-dir=%{ANNOBIN_GCC_PLUGIN_DIR}" %endif %if %{with llvmplugin} @@ -318,10 +332,16 @@ CONFIG_ARGS="$CONFIG_ARGS --with-llvm" CONFIG_ARGS="$CONFIG_ARGS --without-test" %endif +%if %{without annocheck} +CONFIG_ARGS="$CONFIG_ARGS --without-annocheck" +%endif + %configure ${CONFIG_ARGS} || cat config.log %make_build +#--------------------------------------------------------------------------------- + %if %{with plugin_rebuild} # Rebuild the plugin(s), this time using the plugin itself! This # ensures that the plugin works, and that it contains annotations @@ -341,8 +361,8 @@ BUILD_FLAGS="-fplugin=%{_tmppath}/tmp_annobin.so" # option, despite the fact that there patently is. BUILD_FLAGS="$BUILD_FLAGS -fplugin=annobin -fplugin-arg-annobin-disable" -# If building on RHEL7, enable the next option as the .attach_to_group -# assembler pseudo op is not available in the assembler. +# If building on systems with an assembler that does not support the +# .attach_to_group pseudo op (eg RHEL-7) then enable the next line. # BUILD_FLAGS="$BUILD_FLAGS -fplugin-arg-tmp_annobin-no-attach" make -C gcc-plugin CXXFLAGS="%{optflags} $BUILD_FLAGS" @@ -433,6 +453,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed May 19 2021 Nick Clifton - 9.72-2 +- Tidy up spec file. + * Thu May 13 2021 Nick Clifton - 9.72-1 - annocheck: Accept 0 as a valid number for gcc minor versions and release numbers. - gcc-plugin: Add support for ARM and RISCV targets. From 1c617b1ec0bb8d77d5acee311cab0b66c485716c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 25 May 2021 14:54:34 +0100 Subject: [PATCH 037/361] annocheck: Improve detection of shared libraries. Resolves: #1958954 --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 767ee06..0bfa689 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.72 -Release: 2%{?dist} +Version: 9.73 +Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -453,6 +453,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue May 25 2021 Nick Clifton - 9.73-1 +- annocheck: Improve detection of shared libraries. (#1958954) + * Wed May 19 2021 Nick Clifton - 9.72-2 - Tidy up spec file. diff --git a/sources b/sources index 7719431..046f80c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.72.tar.xz) = 301e426e2095bbd298b2ff037be58a4c9a5388a58fa414fc86a4445e64b820f85088e26b53708779af4df2c2f16f8477c1f235f1aebf310f223f8e6fc1f383ed +SHA512 (annobin-9.73.tar.xz) = bed3412f304dc457c51f5bc3a3b3d80d3ac2b2497838b0ed1ba7a537aebeb32b19d1284735ae096b683149f826c1ba8fabf464476947e56e2169d5959cbc6d53 From 12d48af54ac7af73946125bfaee62cf90a1ff312 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 26 May 2021 21:11:08 +0000 Subject: [PATCH 038/361] Rebuild for LLVM 12.0.0-final --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index c2615ef..24e42ba 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 9.72 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark # Maintainer: nickc@redhat.com @@ -324,6 +324,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed May 26 2021 Tom Stellard - 9.72-2 +- Rebuild for LLVM 12.0.0-final + * Thu May 13 2021 Nick Clifton - 9.72-1 - annocheck: Accept 0 as a valid number for gcc minor versions and release numbers. - gcc-plugin: Add support for ARM and RISCV targets. From 993873ad363f8964e761f25c6d2f2c5c0c888103 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 3 Jun 2021 11:41:16 +0100 Subject: [PATCH 039/361] Obsolete all previous versions of annobin. Resolves: #1967339 --- annobin.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 0bfa689..14f9ddc 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 9.73 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -121,8 +121,8 @@ annotated files and reports on any missing security options. Summary: Documentation and shell scripts for use with annobin BuildArch: noarch # annobin renamed to annobin-doc in 9.66-1 -Provides: %{name} = %{version}-%{release} -Obsoletes: %{name} < 9.66-1 +Provides: %{name} = %{version}-%{release} +Obsoletes: %{name} < %{version}-%{release} # The documentation uses pod2man... BuildRequires: perl-interpreter perl-podlators gawk make @@ -453,6 +453,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Jun 03 2021 Nick Clifton - 9.73-2 +- Obsolete all previous versions of annobin. (#1967339) + * Tue May 25 2021 Nick Clifton - 9.73-1 - annocheck: Improve detection of shared libraries. (#1958954) From 524ebdae251883a319a356597e53deb05198616f Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 4 Jun 2021 01:39:25 +0000 Subject: [PATCH 040/361] Rebuild for LLVM 12.0.1 --- annobin.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 14f9ddc..597b01f 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 9.73 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -272,7 +272,7 @@ Installs an annobin plugin that can be used by Clang. %global ANNOBIN_GCC_PLUGIN_DIR %(gcc --print-file-name=plugin) -%{!?llvm_version:%global llvm_version 11.1.0} +%{!?llvm_version:%global llvm_version 12.0.1} %{!?llvm_plugin_dir:%global llvm_plugin_dir %{_libdir}/llvm/%{llvm_version}} %{!?clang_plugin_dir:%global clang_plugin_dir %{_libdir}/clang/%{llvm_version}} @@ -453,6 +453,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Jun 04 2021 Tom Stellard - 9.73-3 +- Rebuild for LLVM 12.0.1 + * Thu Jun 03 2021 Nick Clifton - 9.73-2 - Obsolete all previous versions of annobin. (#1967339) From 55304ea3869d9925094f0a2bdd597e6ced967484 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 9 Jun 2021 16:49:05 +0100 Subject: [PATCH 041/361] Annocheck: Better support for symbolic links. In verbose mode, report the reason for skipping specific tests. Resolves: #1969584 --- annobin.spec | 8 ++++++-- sources | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 597b01f..8b0cbb5 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.73 -Release: 3%{?dist} +Version: 9.74 +Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -453,6 +453,10 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Jun 09 2021 Nick Clifton - 9.74-1 +- Annocheck: Better support for symbolic links. +- Annocheck: In verbose mode, report the reason for skipping specific tests. (#1969584) + * Fri Jun 04 2021 Tom Stellard - 9.73-3 - Rebuild for LLVM 12.0.1 diff --git a/sources b/sources index 046f80c..6a499d9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.73.tar.xz) = bed3412f304dc457c51f5bc3a3b3d80d3ac2b2497838b0ed1ba7a537aebeb32b19d1284735ae096b683149f826c1ba8fabf464476947e56e2169d5959cbc6d53 +SHA512 (annobin-9.74.tar.xz) = 74b3deaea3a0eaaca2ff6488a5e64a390a1669154f620e4167cc3093718d46e0a6d7580ca22080d9d8a3e3bed5814324cea6388afdb005b18743b8fb8511b64f From 96f1a8a19f194ded8a296ade13f769f2daeb1c5c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 15 Jun 2021 12:10:19 +0100 Subject: [PATCH 042/361] Annocheck: Better detection of GO compiler version. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 8b0cbb5..e54e516 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.74 +Version: 9.75 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -453,6 +453,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Jun 15 2021 Nick Clifton - 9.75-1 +- Annocheck: Better detection of GO compiler version. + * Wed Jun 09 2021 Nick Clifton - 9.74-1 - Annocheck: Better support for symbolic links. - Annocheck: In verbose mode, report the reason for skipping specific tests. (#1969584) diff --git a/sources b/sources index 6a499d9..dec5077 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.74.tar.xz) = 74b3deaea3a0eaaca2ff6488a5e64a390a1669154f620e4167cc3093718d46e0a6d7580ca22080d9d8a3e3bed5814324cea6388afdb005b18743b8fb8511b64f +SHA512 (annobin-9.75.tar.xz) = eeb6ffd8cd47d7f5f2a4f8fbc35092105df2a0cf9190108a5b5bc5404c9efa7e6f9d10f0b9b3f57108ddf6f04aa0195251e0be68cf51cd1113a12f5ece947bea From f1a1007e431fffd90175ffbad0f9c5c2bd32527d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 15 Jun 2021 14:48:49 +0100 Subject: [PATCH 043/361] clang/llvm plugins: Build with correct security options. --- annobin.spec | 12 +++++++++++- sources | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index e54e516..eb3d247 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.75 +Version: 9.76 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -338,6 +338,13 @@ CONFIG_ARGS="$CONFIG_ARGS --without-annocheck" %configure ${CONFIG_ARGS} || cat config.log +%set_build_flags + +%ifarch %{ix86} x86_64 +# FIXME: There should be a better way to do this. +export CLANG_TARGET_OPTIONS="-fcf-protection" +%endif + %make_build #--------------------------------------------------------------------------------- @@ -453,6 +460,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Jun 15 2021 Nick Clifton - 9.76-1 +- clang/llvm plugins: Build with correct security options. + * Tue Jun 15 2021 Nick Clifton - 9.75-1 - Annocheck: Better detection of GO compiler version. diff --git a/sources b/sources index dec5077..a1a655c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.75.tar.xz) = eeb6ffd8cd47d7f5f2a4f8fbc35092105df2a0cf9190108a5b5bc5404c9efa7e6f9d10f0b9b3f57108ddf6f04aa0195251e0be68cf51cd1113a12f5ece947bea +SHA512 (annobin-9.76.tar.xz) = 1d3b66d1b00cc419fe9c38f0d4f1bf8aaff76e0ce96e8e0faed6997c25acb6e89ed44b9950d0f5a852b29bcd00c97afaa4de6c08a2f0ae7ce70a1d3a8f7a7496 From a9360e73d98a732f05edf2c060b61a440f6e11a5 Mon Sep 17 00:00:00 2001 From: Martin Cermak Date: Fri, 18 Jun 2021 16:53:30 +0000 Subject: [PATCH 044/361] CI testing: Add test covering rhbz1969584 --- .../main.fmf | 16 ++++++ .../runtest.sh | 54 +++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/main.fmf create mode 100755 tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/runtest.sh diff --git a/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/main.fmf b/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/main.fmf new file mode 100644 index 0000000..435d7ff --- /dev/null +++ b/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/main.fmf @@ -0,0 +1,16 @@ +summary: Test for BZ#1958954 (annobin fails to skip endbr64 entry point check) +description: | + Bug summary: annobin fails to skip endbr64 entry point check for shared objects + Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1958954 +contact: +- Martin Cermak +component: +- annobin +test: ./runtest.sh +framework: beakerlib +recommend: +- annobin-annocheck +- gcc +duration: 48h +extra-summary: /tools/annobin/Regression/annobin-fails-to-skip-endbr64-entry-point-check +extra-task: /tools/annobin/Regression/annobin-fails-to-skip-endbr64-entry-point-check diff --git a/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/runtest.sh b/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/runtest.sh new file mode 100755 index 0000000..41312a4 --- /dev/null +++ b/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/runtest.sh @@ -0,0 +1,54 @@ +#!/bin/bash +# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# runtest.sh of /tools/annobin/Regression/annobin-fails-to-skip-endbr64-entry-point-check +# Description: Test for BZ#1958954 (annobin fails to skip endbr64 entry point check) +# Author: Martin Cermak +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2021 Red Hat, Inc. +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see http://www.gnu.org/licenses/. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +# Include Beaker environment +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +PACKAGE="annobin" + +rlJournalStart + rlPhaseStartSetup + rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory" + rlRun "pushd $TmpDir" + rlRun "rpm -q annobin-annocheck gcc" + rlPhaseEnd + + rlPhaseStartTest + rlRun "echo 'void f1(void) {}' > f1.c" + rlRun "echo 'void f2(void) {}' > f2.c" + rlRun "gcc `rpm --eval %build_cflags` -fpic -c f1.c" + rlRun "gcc `rpm --eval %build_cflags` -fpic -c f2.c" + rlRun "gcc `rpm --eval %build_ldflags` -shared f1.o f2.o" + rlRun "annocheck -v a.out" + rlPhaseEnd + + rlPhaseStartCleanup + rlRun "popd" + rlRun "rm -r $TmpDir" 0 "Removing tmp directory" + rlPhaseEnd +rlJournalPrintText +rlJournalEnd From 14c8067c11769b35aa60ac853119a386b7dd19a7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 21 Jun 2021 16:16:26 +0100 Subject: [PATCH 045/361] annocheck: Remove limit on number of input files. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index eb3d247..f74c9e3 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.76 +Version: 9.77 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -460,6 +460,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Jun 21 2021 Nick Clifton - 9.77-1 +- annocheck: Remove limit on number of input files. + * Tue Jun 15 2021 Nick Clifton - 9.76-1 - clang/llvm plugins: Build with correct security options. diff --git a/sources b/sources index a1a655c..c3c59d3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.76.tar.xz) = 1d3b66d1b00cc419fe9c38f0d4f1bf8aaff76e0ce96e8e0faed6997c25acb6e89ed44b9950d0f5a852b29bcd00c97afaa4de6c08a2f0ae7ce70a1d3a8f7a7496 +SHA512 (annobin-9.77.tar.xz) = b8c625554e312da8a41c9b9a69fb84a2caa7ddc20a86e13e0d52c45d71e697ddbb1cb1ada5d59947164dcc8670e791d371c1aa01777cb97e6e46a09f354d0e06 From 76947e83c21ed3120f3d58cfd234a8418595fae8 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 22 Jun 2021 16:05:21 +0100 Subject: [PATCH 046/361] gcc-plugin: Do not record global versions of stack protection settings in LTO mode, if not set. (#1958954) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index f74c9e3..5f92c26 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.77 +Version: 9.78 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -460,6 +460,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Jun 21 2021 Nick Clifton - 9.78-1 +- gcc-plugin: Do not record global versions of stack protection settings in LTO mode, if not set. (#1958954) + * Mon Jun 21 2021 Nick Clifton - 9.77-1 - annocheck: Remove limit on number of input files. diff --git a/sources b/sources index c3c59d3..53fad2e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.77.tar.xz) = b8c625554e312da8a41c9b9a69fb84a2caa7ddc20a86e13e0d52c45d71e697ddbb1cb1ada5d59947164dcc8670e791d371c1aa01777cb97e6e46a09f354d0e06 +SHA512 (annobin-9.78.tar.xz) = 22f7590bc043cb2f805d3540fa8d70317e651604d36995285a62fee023ef1a801c8aeb0950c7160a6c7367484a943c64572db1470f0c8f3fdc2a1c6ca0dfed21 From dfddf61cdd0983846d302d6139088ce97b77d79b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 29 Jun 2021 16:06:16 +0100 Subject: [PATCH 047/361] Annocheck: Fix spelling mistake in -,stack-realign failure message. (#1977349) --- annobin.spec | 11 +++++++---- sources | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/annobin.spec b/annobin.spec index 5f92c26..987c205 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.78 +Version: 9.79 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -460,11 +460,14 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Jun 29 2021 Nick Clifton - 9.79-1 +- Annocheck: Fix spelling mistake in -,stack-realign failure message. (#1977349) + * Mon Jun 21 2021 Nick Clifton - 9.78-1 - gcc-plugin: Do not record global versions of stack protection settings in LTO mode, if not set. (#1958954) * Mon Jun 21 2021 Nick Clifton - 9.77-1 -- annocheck: Remove limit on number of input files. +- Annocheck: Remove limit on number of input files. * Tue Jun 15 2021 Nick Clifton - 9.76-1 - clang/llvm plugins: Build with correct security options. @@ -483,13 +486,13 @@ fi - Obsolete all previous versions of annobin. (#1967339) * Tue May 25 2021 Nick Clifton - 9.73-1 -- annocheck: Improve detection of shared libraries. (#1958954) +- Annocheck: Improve detection of shared libraries. (#1958954) * Wed May 19 2021 Nick Clifton - 9.72-2 - Tidy up spec file. * Thu May 13 2021 Nick Clifton - 9.72-1 -- annocheck: Accept 0 as a valid number for gcc minor versions and release numbers. +- Annocheck: Accept 0 as a valid number for gcc minor versions and release numbers. - gcc-plugin: Add support for ARM and RISCV targets. * Tue May 04 2021 Nick Clifton - 9.71-1 diff --git a/sources b/sources index 53fad2e..f05684c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.78.tar.xz) = 22f7590bc043cb2f805d3540fa8d70317e651604d36995285a62fee023ef1a801c8aeb0950c7160a6c7367484a943c64572db1470f0c8f3fdc2a1c6ca0dfed21 +SHA512 (annobin-9.79.tar.xz) = cbb8406ad804c2fa3f49ca963c4fd85672a00d864f4ebd645019255b05ff3bc8f4fb07db1f28b8cd1667f09cf4eb23822b8b05f143c39c389433cacc09652d9f From 2a393ab63a30da58e6863036252c31235f31246d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 29 Jun 2021 16:06:42 +0100 Subject: [PATCH 048/361] - Annocheck: Fix spelling mistake in -,stack-realign failure message. (#1977349) - gcc-plugin: Do not record global versions of stack protection settings in LTO mode, if not set. (#1958954) - annocheck: Remove limit on number of input files. - Annocheck: Better detection of GO compiler version. - Annocheck: Better support for symbolic links. - Annocheck: In verbose mode, report the reason for skipping specific tests. (#1969584) - Annocheck: Improve detection of shared libraries. (#1958954) --- annobin.spec | 13 +++++++++++-- sources | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 24e42ba..fbff3c7 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.72 -Release: 2%{?dist} +Version: 9.79 +Release: 1%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark # Maintainer: nickc@redhat.com @@ -324,6 +324,15 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Jun 29 2021 Nick Clifton - 9.79-1 +- Annocheck: Fix spelling mistake in -,stack-realign failure message. (#1977349) +- gcc-plugin: Do not record global versions of stack protection settings in LTO mode, if not set. (#1958954) +- annocheck: Remove limit on number of input files. +- Annocheck: Better detection of GO compiler version. +- Annocheck: Better support for symbolic links. +- Annocheck: In verbose mode, report the reason for skipping specific tests. (#1969584) +- Annocheck: Improve detection of shared libraries. (#1958954) + * Wed May 26 2021 Tom Stellard - 9.72-2 - Rebuild for LLVM 12.0.0-final diff --git a/sources b/sources index 7719431..f05684c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.72.tar.xz) = 301e426e2095bbd298b2ff037be58a4c9a5388a58fa414fc86a4445e64b820f85088e26b53708779af4df2c2f16f8477c1f235f1aebf310f223f8e6fc1f383ed +SHA512 (annobin-9.79.tar.xz) = cbb8406ad804c2fa3f49ca963c4fd85672a00d864f4ebd645019255b05ff3bc8f4fb07db1f28b8cd1667f09cf4eb23822b8b05f143c39c389433cacc09652d9f From a978ea49fa32121bd190fb68ec212aff3cd0b8e1 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 5 Jul 2021 12:49:37 +0100 Subject: [PATCH 049/361] Tests: Skip glibc-notes test if the assembler does not support --generate-missing-build-notes. Resolves: #1978573 --- annobin.spec | 12 ++++++++---- sources | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/annobin.spec b/annobin.spec index 987c205..bc5a396 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.79 +Version: 9.80 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -336,8 +336,6 @@ CONFIG_ARGS="$CONFIG_ARGS --without-test" CONFIG_ARGS="$CONFIG_ARGS --without-annocheck" %endif -%configure ${CONFIG_ARGS} || cat config.log - %set_build_flags %ifarch %{ix86} x86_64 @@ -345,6 +343,8 @@ CONFIG_ARGS="$CONFIG_ARGS --without-annocheck" export CLANG_TARGET_OPTIONS="-fcf-protection" %endif +%configure ${CONFIG_ARGS} || cat config.log + %make_build #--------------------------------------------------------------------------------- @@ -460,8 +460,12 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Jul 05 2021 Nick Clifton - 9.80-1 +- Tests: Skip glibc-notes test if the assembler does not support --generate-missing-build-notes. (#1978573) +- Tests: Skip objcopy test if objcopy does not support --merge-notes. + * Tue Jun 29 2021 Nick Clifton - 9.79-1 -- Annocheck: Fix spelling mistake in -,stack-realign failure message. (#1977349) +- Annocheck: Fix spelling mistake in -mstack-realign failure message. (#1977349) * Mon Jun 21 2021 Nick Clifton - 9.78-1 - gcc-plugin: Do not record global versions of stack protection settings in LTO mode, if not set. (#1958954) diff --git a/sources b/sources index f05684c..7835505 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.79.tar.xz) = cbb8406ad804c2fa3f49ca963c4fd85672a00d864f4ebd645019255b05ff3bc8f4fb07db1f28b8cd1667f09cf4eb23822b8b05f143c39c389433cacc09652d9f +SHA512 (annobin-9.80.tar.xz) = b3b36d5c0aa2eed07c1a7f59d2e5fdd10aefe1fc27dc9ecabf1cd4aef57004dcd1db7dc69bce29bb7687b5e79d228dd21722753ac5693cfed99156056fcb468d From 5bbd4f5f31a2e482348b658f36e2f461585d37f5 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 13 Jul 2021 15:39:21 +0100 Subject: [PATCH 050/361] Annocheck: Add some more test exceptions. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index bc5a396..c61756b 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.80 +Version: 9.81 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -460,6 +460,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Jul 13 2021 Nick Clifton - 9.81-1 +- Annocheck: Add some more test exceptions. + * Mon Jul 05 2021 Nick Clifton - 9.80-1 - Tests: Skip glibc-notes test if the assembler does not support --generate-missing-build-notes. (#1978573) - Tests: Skip objcopy test if objcopy does not support --merge-notes. diff --git a/sources b/sources index 7835505..5e23609 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.80.tar.xz) = b3b36d5c0aa2eed07c1a7f59d2e5fdd10aefe1fc27dc9ecabf1cd4aef57004dcd1db7dc69bce29bb7687b5e79d228dd21722753ac5693cfed99156056fcb468d +SHA512 (annobin-9.81.tar.xz) = 67d98292eab0f24b9c30cdd6d1fe425d8933706d491247740df03d784e7ae5359bce4f91acfa2ba589718596638bc0272a9848208307c58af062eafbba848249 From 8adc17e68bd54abefe489f20c98127fe68b6b292 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 13 Jul 2021 17:15:00 +0100 Subject: [PATCH 051/361] Annocheck: Add another test exceptions. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index c61756b..9c0c6d7 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.81 +Version: 9.82 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -460,6 +460,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Jul 13 2021 Nick Clifton - 9.82-1 +- Annocheck: Add another test exceptions. + * Tue Jul 13 2021 Nick Clifton - 9.81-1 - Annocheck: Add some more test exceptions. diff --git a/sources b/sources index 5e23609..b8d62d5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.81.tar.xz) = 67d98292eab0f24b9c30cdd6d1fe425d8933706d491247740df03d784e7ae5359bce4f91acfa2ba589718596638bc0272a9848208307c58af062eafbba848249 +SHA512 (annobin-9.82.tar.xz) = ddc1e50a18fb94cb04a5d07d5bc5b3a45639014e4b9ed85a8c34ee792da0287c9627def33e37f9d51625198666f161f65d8d7edb2c50bcaaa7bd434246841a33 From 80ffabd2a360358e2da53496e96a7d4c7ecab90e Mon Sep 17 00:00:00 2001 From: Martin Cermak Date: Tue, 20 Jul 2021 11:28:05 +0000 Subject: [PATCH 052/361] Test cover bz1973981 --- .../main.fmf | 16 ++++++ .../runtest.sh | 54 +++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 tests/Sanity/annocheck-silently-ignores-any-file-parameter/main.fmf create mode 100755 tests/Sanity/annocheck-silently-ignores-any-file-parameter/runtest.sh diff --git a/tests/Sanity/annocheck-silently-ignores-any-file-parameter/main.fmf b/tests/Sanity/annocheck-silently-ignores-any-file-parameter/main.fmf new file mode 100644 index 0000000..9aea593 --- /dev/null +++ b/tests/Sanity/annocheck-silently-ignores-any-file-parameter/main.fmf @@ -0,0 +1,16 @@ +summary: Test for BZ#1973981 (annocheck silently ignores any file parameter) +description: | + Bug summary: annocheck silently ignores any file parameter beyond 256 + Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1973981 +contact: Martin Cermak +component: +- annobin +test: ./runtest.sh +framework: beakerlib +recommend: +- annobin +duration: 48h +link: +- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1973981 +extra-summary: /tools/annobin/Sanity/annocheck-silently-ignores-any-file-parameter +extra-task: /tools/annobin/Sanity/annocheck-silently-ignores-any-file-parameter diff --git a/tests/Sanity/annocheck-silently-ignores-any-file-parameter/runtest.sh b/tests/Sanity/annocheck-silently-ignores-any-file-parameter/runtest.sh new file mode 100755 index 0000000..ca991af --- /dev/null +++ b/tests/Sanity/annocheck-silently-ignores-any-file-parameter/runtest.sh @@ -0,0 +1,54 @@ +#!/bin/bash +# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# runtest.sh of /tools/annobin/Sanity/annocheck-silently-ignores-any-file-parameter +# Description: Test for BZ#1973981 (annocheck silently ignores any file parameter) +# Author: Martin Cermak +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2021 Red Hat, Inc. +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see http://www.gnu.org/licenses/. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +# Include Beaker environment +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +PACKAGE="annobin" + +rlJournalStart + rlPhaseStartSetup + rlRun "TMP=$(mktemp -d)" + rlRun "pushd $TMP" + rlPhaseEnd + + rlPhaseStartTest + for i in `seq 0 299`; do touch ${i}.sample; done + samplecnt=$(ls *.sample | wc -l) + testcnt=$(ls *.sample | \ + xargs annocheck |& \ + fgrep '.sample: is not an ELF format file' | wc -l) + rlRun "test $samplecnt -eq 300" + rlRun "test $testcnt -eq 300" + rlPhaseEnd + + rlPhaseStartCleanup + rlRun "popd" + rlRun "rm -r $TMP" + rlPhaseEnd +rlJournalPrintText +rlJournalEnd From dd22b2eaf4d59e019a4f97420cca2b590d228416 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 12:39:14 +0000 Subject: [PATCH 053/361] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering From 81555732582c8b75334450df4a5823b8b79b8bdd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 17:34:53 +0000 Subject: [PATCH 054/361] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 9c0c6d7..701f355 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 9.82 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -460,6 +460,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Jul 21 2021 Fedora Release Engineering - 9.82-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jul 13 2021 Nick Clifton - 9.82-1 - Annocheck: Add another test exceptions. From 0394c1d928c004bae92228a5e2df56ebeb5ac218 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 23 Jul 2021 13:36:44 +0100 Subject: [PATCH 055/361] Annocheck: Reverse AArch64 PAC+BTI check, ie fail if they are enabled. Resolves: #1984995 --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 701f355..dcd2477 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.82 -Release: 2%{?dist} +Version: 9.83 +Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -460,6 +460,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Jul 23 2021 Nick Clifton - 9.83-1 +- Annocheck: Reverse AArch64 PAC+BTI check, ie fail if they are enabled. (#1984995) + * Wed Jul 21 2021 Fedora Release Engineering - 9.82-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index b8d62d5..b661f6e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.82.tar.xz) = ddc1e50a18fb94cb04a5d07d5bc5b3a45639014e4b9ed85a8c34ee792da0287c9627def33e37f9d51625198666f161f65d8d7edb2c50bcaaa7bd434246841a33 +SHA512 (annobin-9.83.tar.xz) = 346897f99712869bfb8d0444cc708a8b9553c8722636e35ff0b76d3bd4ee5f1a455063bae62be54a8790ba411e634b1448d81b6d3b0f06ed8394815438f2d367 From 4af05b1261396f805652f85c9db38fdf09260804 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 9 Aug 2021 11:14:43 +0100 Subject: [PATCH 056/361] Annocheck: Process files in command line order. (#1988714) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index dcd2477..891c63f 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.83 +Version: 9.84 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -460,6 +460,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Aug 09 2021 Nick Clifton - 9.84-1 +- Annocheck: Process files in command line order. (#1988714) + * Fri Jul 23 2021 Nick Clifton - 9.83-1 - Annocheck: Reverse AArch64 PAC+BTI check, ie fail if they are enabled. (#1984995) diff --git a/sources b/sources index b661f6e..e28050e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.83.tar.xz) = 346897f99712869bfb8d0444cc708a8b9553c8722636e35ff0b76d3bd4ee5f1a455063bae62be54a8790ba411e634b1448d81b6d3b0f06ed8394815438f2d367 +SHA512 (annobin-9.84.tar.xz) = eb90111cfacf73a1ab3b209b5651c6e2418ee052476a0299f395045d0995666448a1572b14a06fa5c60193bfc5e485a06c18661d2aa86512d4f09a054151ce03 From 71f8485e39a572612dac208b6f3f292b88e9beb5 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 10 Aug 2021 15:14:48 +0100 Subject: [PATCH 057/361] Annocheck: Detect a missing CET note. (#1991931) Annocheck: Do not report future fails for AArch64 notes. Annocheck: Warn about multiple --debug-file, --debug-rpm and --debug-dir options. --- annobin.spec | 7 ++++++- sources | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 891c63f..6be8db5 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.84 +Version: 9.85 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -460,6 +460,11 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Aug 10 2021 Nick Clifton - 9.85-1 +- Annocheck: Detect a missing CET note. (#1991931) +- Annocheck: Do not report future fails for AArch64 notes. +- Annocheck: Warn about multiple --debug-file, --debug-rpm and --debug-dir options. + * Mon Aug 09 2021 Nick Clifton - 9.84-1 - Annocheck: Process files in command line order. (#1988714) diff --git a/sources b/sources index e28050e..0ed0422 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.84.tar.xz) = eb90111cfacf73a1ab3b209b5651c6e2418ee052476a0299f395045d0995666448a1572b14a06fa5c60193bfc5e485a06c18661d2aa86512d4f09a054151ce03 +SHA512 (annobin-9.85.tar.xz) = 2e71cc77ce756d973d9c3d87f0626c78fd00f35b37a70388b99663528823485b9c442db5d521680cdaae9f3f18833f3a5ce3af427715e035c074ba6a6fae44d3 From e32b491807f30aaca819b20dd339a6b6f4c108bc Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 10 Aug 2021 22:38:08 +0000 Subject: [PATCH 058/361] Rebuild for 12.0.1 --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index fbff3c7..8a23b2f 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 9.79 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark # Maintainer: nickc@redhat.com @@ -324,6 +324,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Aug 10 2021 Tom Stellard - 9.79-2 +- Rebuild for 12.0.1 + * Tue Jun 29 2021 Nick Clifton - 9.79-1 - Annocheck: Fix spelling mistake in -,stack-realign failure message. (#1977349) - gcc-plugin: Do not record global versions of stack protection settings in LTO mode, if not set. (#1958954) From 75a23fb883a52b5298a74d76cb429aee6422b23d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 11 Aug 2021 17:23:33 +0100 Subject: [PATCH 059/361] Annocheck: Skip certain tests for kernel modules. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 6be8db5..cff62a2 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.85 +Version: 9.86 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -460,6 +460,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Aug 11 2021 Nick Clifton - 9.86-1 +- Annocheck: Skip certain tests for kernel modules. + * Tue Aug 10 2021 Nick Clifton - 9.85-1 - Annocheck: Detect a missing CET note. (#1991931) - Annocheck: Do not report future fails for AArch64 notes. diff --git a/sources b/sources index 0ed0422..9336247 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.85.tar.xz) = 2e71cc77ce756d973d9c3d87f0626c78fd00f35b37a70388b99663528823485b9c442db5d521680cdaae9f3f18833f3a5ce3af427715e035c074ba6a6fae44d3 +SHA512 (annobin-9.86.tar.xz) = 8ccde76bd0b5d4aee63a9c887793a2691e029c883b5953a565792fec5a621a09bbb0365ef6653b43c84cff96797e22561fc8d778b6ac6610a56c7f99f9d7c7db From c76d8664dac559824bea13ad8e7543b0ae842f63 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 16 Aug 2021 12:41:17 +0100 Subject: [PATCH 060/361] Annocheck: Fix memory corruption. (#1988715) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index cff62a2..3999bb3 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.86 +Version: 9.87 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -460,6 +460,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Aug 16 2021 Nick Clifton - 9.87-1 +- Annocheck: Fix memory corruption. (#1988715) + * Wed Aug 11 2021 Nick Clifton - 9.86-1 - Annocheck: Skip certain tests for kernel modules. diff --git a/sources b/sources index 9336247..4569ce3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.86.tar.xz) = 8ccde76bd0b5d4aee63a9c887793a2691e029c883b5953a565792fec5a621a09bbb0365ef6653b43c84cff96797e22561fc8d778b6ac6610a56c7f99f9d7c7db +SHA512 (annobin-9.87.tar.xz) = 04ce3881a149b1e609ecbfcd90b5eb37eddef923f2b6eb3b8e7cc15c6f2c645930ff4e01ff592d9eddd47767cd2b793e68a3dc4c5cc385519c8b6c041ac15a53 From 438dd33afc7918f60426137c8e8a26fc260af462 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 16 Aug 2021 19:09:10 +0000 Subject: [PATCH 061/361] Rebuild for LLVM 13.0.0-rc1 --- ...flegacy-pass-manager-option-to-the-t.patch | 27 +++++++++++++++++++ annobin.spec | 8 +++++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 0001-llvm-plugin-Add-flegacy-pass-manager-option-to-the-t.patch diff --git a/0001-llvm-plugin-Add-flegacy-pass-manager-option-to-the-t.patch b/0001-llvm-plugin-Add-flegacy-pass-manager-option-to-the-t.patch new file mode 100644 index 0000000..17a1626 --- /dev/null +++ b/0001-llvm-plugin-Add-flegacy-pass-manager-option-to-the-t.patch @@ -0,0 +1,27 @@ +From bda340f0754972944ec115a72f1a8547ffa21f1c Mon Sep 17 00:00:00 2001 +From: Tom Stellard +Date: Mon, 16 Aug 2021 18:04:53 +0000 +Subject: [PATCH] llvm-plugin: Add -flegacy-pass-manager option to the test + case + +The plugin does not work with the new pass manager yet. +--- + llvm-plugin/Makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/llvm-plugin/Makefile.in b/llvm-plugin/Makefile.in +index bdd8b19..92bcc9a 100644 +--- a/llvm-plugin/Makefile.in ++++ b/llvm-plugin/Makefile.in +@@ -48,7 +48,7 @@ PLUGIN_TEST_OPTIONS = \ + # -fcf-protection \ + + check: @srcdir@/hello.c +- @ $(CLANG) -Xclang -load -Xclang $(PLUGIN) $(PLUGIN_TEST_OPTIONS) -c @srcdir@/hello.c ++ @ $(CLANG) -flegacy-pass-manager -Xclang -load -Xclang $(PLUGIN) $(PLUGIN_TEST_OPTIONS) -c @srcdir@/hello.c + @ $(READELF) --wide --notes hello.o > llvm-plugin-test.out + @ grep --silent -e "annobin built by llvm version" llvm-plugin-test.out + @ grep --silent -e "running on LLVM version" llvm-plugin-test.out +-- +2.26.2 + diff --git a/annobin.spec b/annobin.spec index 3999bb3..ab33227 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 9.87 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -61,6 +61,9 @@ Source: https://nickc.fedorapeople.org/annobin-%{version}.tar.xz # Insert patches here, if needed. Eg: # Patch01: annobin-foo.patch +# We need to force use of legacy pass manager until annobin is ported to the new +# pass manager. +Patch0: 0001-llvm-plugin-Add-flegacy-pass-manager-option-to-the-t.patch #--------------------------------------------------------------------------------- @@ -460,6 +463,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Aug 16 2021 Tom Stellard - 9.87-2 +- Rebuild for LLVM 13.0.0-rc1 + * Mon Aug 16 2021 Nick Clifton - 9.87-1 - Annocheck: Fix memory corruption. (#1988715) From 6d6959743353af003d84b7812fae962e3829939e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 17 Aug 2021 12:06:55 +0100 Subject: [PATCH 062/361] Annocheck: Generate MAYB results for gaps in notes covering the .text section. (#1991943) Annocheck: Close DWARF file descriptors once the debug info is no longer needed. (#1981410) LLVM Plugin: Update to build with Clang v13. (Thanks to: Tom Stellard ) --- annobin.spec | 25 +++++++++---------------- sources | 2 +- 2 files changed, 10 insertions(+), 17 deletions(-) diff --git a/annobin.spec b/annobin.spec index ab33227..c8e0b75 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.87 -Release: 2%{?dist} +Version: 9.88 +Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -61,9 +61,6 @@ Source: https://nickc.fedorapeople.org/annobin-%{version}.tar.xz # Insert patches here, if needed. Eg: # Patch01: annobin-foo.patch -# We need to force use of legacy pass manager until annobin is ported to the new -# pass manager. -Patch0: 0001-llvm-plugin-Add-flegacy-pass-manager-option-to-the-t.patch #--------------------------------------------------------------------------------- @@ -410,19 +407,10 @@ rm -f %{buildroot}%{_infodir}/dir %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 +make -k check if [ -f tests/test-suite.log ]; then cat tests/test-suite.log fi - -%if %{with clangplugin} -# FIXME: RUN CLANG tests -%endif - -%if %{with llvmplugin} -# FIXME: RUN LLVM tests -%endif - %endif #--------------------------------------------------------------------------------- @@ -463,7 +451,12 @@ fi #--------------------------------------------------------------------------------- %changelog -* Wed Aug 16 2021 Tom Stellard - 9.87-2 +* Tue Aug 17 2021 Nick Clifton - 9.88-1 +- Annocheck: Generate MAYB results for gaps in notes covering the .text section. (#1991943) +- Annocheck: Close DWARF file descriptors once the debug info is no longer needed. (#1981410) +- LLVM Plugin: Update to build with Clang v13. (Thanks to: Tom Stellard ) + +* Mon Aug 16 2021 Tom Stellard - 9.87-2 - Rebuild for LLVM 13.0.0-rc1 * Mon Aug 16 2021 Nick Clifton - 9.87-1 diff --git a/sources b/sources index 4569ce3..5b0b9e5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.87.tar.xz) = 04ce3881a149b1e609ecbfcd90b5eb37eddef923f2b6eb3b8e7cc15c6f2c645930ff4e01ff592d9eddd47767cd2b793e68a3dc4c5cc385519c8b6c041ac15a53 +SHA512 (annobin-9.88.tar.xz) = 7ac19047cb617bf164f55e13fe0ce7ef2f72b56583bbd383d1632af47732a9e55409c456b2b717905179a6153bad40e15660dd5b8444acd819d273a21fe2e1e7 From 5d4d27dda9bca3000ee7eae40aa76f0b3fc6449e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 17 Aug 2021 15:03:42 +0100 Subject: [PATCH 063/361] Annocheck: Conditionalize detection of AArch64's PAC+BTI protection. Annocheck: Add linker generated function for s390x exceptions. (#1981410) --- annobin.spec | 13 ++++++++++++- sources | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index c8e0b75..5851b64 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.88 +Version: 9.89 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -332,8 +332,15 @@ CONFIG_ARGS="$CONFIG_ARGS --with-llvm" CONFIG_ARGS="$CONFIG_ARGS --without-test" %endif +export CFLAGS="$CFLAGS $RPM_OPT_FLAGS" + %if %{without annocheck} CONFIG_ARGS="$CONFIG_ARGS --without-annocheck" +%else +# Fedora supports AArch64's -mbranch-protection=bti, RHEL does not. +%if 0%{?fedora} != 0 +export CFLAGS="$CFLAGS -DAARCh64_BRANCH_PROTECTION_SUPPORTED=1" +%endif %endif %set_build_flags @@ -451,6 +458,10 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Aug 17 2021 Nick Clifton - 9.89-1 +- Annocheck: Conditionalize detection of AArch64's PAC+BTI protection. +- Annocheck: Add linker generated function for s390x exceptions. (#1981410) + * Tue Aug 17 2021 Nick Clifton - 9.88-1 - Annocheck: Generate MAYB results for gaps in notes covering the .text section. (#1991943) - Annocheck: Close DWARF file descriptors once the debug info is no longer needed. (#1981410) diff --git a/sources b/sources index 5b0b9e5..89a184a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.88.tar.xz) = 7ac19047cb617bf164f55e13fe0ce7ef2f72b56583bbd383d1632af47732a9e55409c456b2b717905179a6153bad40e15660dd5b8444acd819d273a21fe2e1e7 +SHA512 (annobin-9.89.tar.xz) = 90151e93b17ed1a95317d6d1006f41c3ce8c9d530436413b45e5c862fbc02a72ff299874f2a231b354d67b7e65d294024237d4f87c9752847d8b9173042b9841 From 7a0769e51325982e6149539ee025bfd2653a3d62 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 18 Aug 2021 11:28:24 +0100 Subject: [PATCH 064/361] Annocheck: Add linker generated function for ppc64le exceptions. (#1981410) LLVM Plugin: Allow checks to be selected from the command line. Annocheck: Examine DW_AT_producer for -flto. --- annobin.spec | 7 ++++++- sources | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 5851b64..1a8204c 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.89 +Version: 9.90 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -458,6 +458,11 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Aug 18 2021 Nick Clifton - 9.90-1 +- Annocheck: Add linker generated function for ppc64le exceptions. (#1981410) +- LLVM Plugin: Allow checks to be selected from the command line. +- Annocheck: Examine DW_AT_producer for -flto. + * Tue Aug 17 2021 Nick Clifton - 9.89-1 - Annocheck: Conditionalize detection of AArch64's PAC+BTI protection. - Annocheck: Add linker generated function for s390x exceptions. (#1981410) diff --git a/sources b/sources index 89a184a..8c60d1f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.89.tar.xz) = 90151e93b17ed1a95317d6d1006f41c3ce8c9d530436413b45e5c862fbc02a72ff299874f2a231b354d67b7e65d294024237d4f87c9752847d8b9173042b9841 +SHA512 (annobin-9.90.tar.xz) = 1dd320ad25f14d17c3a6973582a2c58912e3d5ffba51d459a09fc423bef2465fecb54c5a9d9202df8d68071cb5205eef2e2175d02c91fd7ba85abc103d324585 From ced3a2421032b80f6cb7561b1c60309901f5e4ef Mon Sep 17 00:00:00 2001 From: Martin Cermak Date: Fri, 20 Aug 2021 14:04:14 +0200 Subject: [PATCH 065/361] CI gating: Test cover bz1988714 --- .../main.fmf | 16 +++++++ .../runtest.sh | 42 +++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 tests/Regression/processing-params-in-reverse-order/main.fmf create mode 100755 tests/Regression/processing-params-in-reverse-order/runtest.sh diff --git a/tests/Regression/processing-params-in-reverse-order/main.fmf b/tests/Regression/processing-params-in-reverse-order/main.fmf new file mode 100644 index 0000000..19b497d --- /dev/null +++ b/tests/Regression/processing-params-in-reverse-order/main.fmf @@ -0,0 +1,16 @@ +summary: processing-params-in-reverse-order +description: | + Bug summary: annocheck processes (reports) parameters in reverse order + Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1988714 +contact: Martin Cermak +component: +- annobin +test: ./runtest.sh +framework: beakerlib +recommend: +- annobin +duration: 48h +link: +- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1988714 +extra-summary: /tools/annobin/Regression/processing-params-in-reverse-order +extra-task: /tools/annobin/Regression/processing-params-in-reverse-order diff --git a/tests/Regression/processing-params-in-reverse-order/runtest.sh b/tests/Regression/processing-params-in-reverse-order/runtest.sh new file mode 100755 index 0000000..75b357e --- /dev/null +++ b/tests/Regression/processing-params-in-reverse-order/runtest.sh @@ -0,0 +1,42 @@ +#!/bin/bash +# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# runtest.sh of /tools/annobin/Regression/processing-params-in-reverse-order +# Description: processing-params-in-reverse-order +# Author: Martin Cermak +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2021 Red Hat, Inc. +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see http://www.gnu.org/licenses/. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +# Include Beaker environment +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +PACKAGE="annobin" + +rlJournalStart + rlPhaseStartTest + rlRun "TMP=$(mktemp)" + rlRun "annocheck --verbose --skip-all --test-stack-prot /bin/bash /bin/cat |& tee $TMP" + rlRun "fgrep -i /bin/ $TMP | head -1 | fgrep /bash" + rlRun "fgrep -i /bin/ $TMP | tail -1 | fgrep /cat" + rlRun "rm -f $TMP" + rlPhaseEnd +rlJournalPrintText +rlJournalEnd From be3e1af704f437d5012e1188b74cf65ca2badd1f Mon Sep 17 00:00:00 2001 From: Martin Cermak Date: Fri, 20 Aug 2021 14:43:36 +0200 Subject: [PATCH 066/361] CI Gating: Test cover bz1988715 --- .../main.fmf | 17 ++++++++ .../runtest.sh | 43 +++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 tests/Regression/segv-when-processing-multiple-params-incl-symlink/main.fmf create mode 100755 tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh diff --git a/tests/Regression/segv-when-processing-multiple-params-incl-symlink/main.fmf b/tests/Regression/segv-when-processing-multiple-params-incl-symlink/main.fmf new file mode 100644 index 0000000..bd8362f --- /dev/null +++ b/tests/Regression/segv-when-processing-multiple-params-incl-symlink/main.fmf @@ -0,0 +1,17 @@ +summary: segv-when-processing-multiple-params-incl-symlink +description: | + Bug summary: annocheck segfaults sometimes when processing multiple parameters and symlink is involved + Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1988715 +contact: Martin Cermak +component: +- annobin +test: ./runtest.sh +framework: beakerlib +recommend: +- annobin +- libstdc++ +duration: 48h +link: +- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1988715 +extra-summary: /tools/annobin/Regression/segv-when-processing-multiple-params-incl-symlink +extra-task: /tools/annobin/Regression/segv-when-processing-multiple-params-incl-symlink diff --git a/tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh b/tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh new file mode 100755 index 0000000..cd4ae94 --- /dev/null +++ b/tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh @@ -0,0 +1,43 @@ +#!/bin/bash +# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# runtest.sh of /tools/annobin/Regression/segv-when-processing-multiple-params-incl-symlink +# Description: segv-when-processing-multiple-params-incl-symlink +# Author: Martin Cermak +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2021 Red Hat, Inc. +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see http://www.gnu.org/licenses/. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +# Include Beaker environment +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +PACKAGE="annobin" + +rlJournalStart + rlPhaseStartTest + # This tries to test https://bugzilla.redhat.com/show_bug.cgi?id=1988715#c0 + # keeping in mind that annocheck will evolve in the future, along its + # rules / policies, and the surrounding OS will evolve too. This test + # shouldn't report false positives though. + rlRun "rpm -qf /usr/lib64/libstdc++.so*" + rlRun "annocheck --skip-all /usr/lib64/libstdc++.so*" + rlPhaseEnd +lJournalPrintText +rlJournalEnd From 5e4c738a8f7b9fce79a1854b93349fdf28c860a7 Mon Sep 17 00:00:00 2001 From: Martin Cermak Date: Fri, 20 Aug 2021 15:25:33 +0200 Subject: [PATCH 067/361] CI Gating: Test cover bz1991931 --- .../main | Bin 0 -> 27456 bytes .../main.fmf | 16 +++++++ .../runtest.sh | 40 ++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 tests/Regression/missing-check-for-x86-property-note-content/main create mode 100644 tests/Regression/missing-check-for-x86-property-note-content/main.fmf create mode 100755 tests/Regression/missing-check-for-x86-property-note-content/runtest.sh diff --git a/tests/Regression/missing-check-for-x86-property-note-content/main b/tests/Regression/missing-check-for-x86-property-note-content/main new file mode 100644 index 0000000000000000000000000000000000000000..b7f4983a4a9958c8cf33bb1a902848845794ec82 GIT binary patch literal 27456 zcmeHQeQXrR6@PonVH1PRXZQ;7rG+bCl zo1&JAv?@YKX;r0Pk@}%Z=^tqnsr>^r|2U$Gl1h=1_8+QBEvX*x%+Act&dz%?`-Op#!Gt6MLxy_+L;DwcoShUgqp<|QPUwLJ zuoG^FbubqI<_KP`JnNlLczmYKBqx*J3j6_3M{glHrd&d#m|r8zCcPM@K-YnKB8tLc zI!qZb<#<286y+GA-y}BEpdQxEvuRJ@+1^@unCj&rqO6BO)O(TiUL-xHvs6x|T%TAc z_}4@A8K$9P*XbQ5y)f;k>to7wfAFG{`!M8YOXboUmeY$;u$2v{!61N+p_-b0W$0W-*B zef+%?K=gBrzx?tamn;~$>$fw>b9NgkEPL)PP6KsN27%4MT>^n|{C6$DvMr8K z=mYTkLJ(>LzS)3}W%@)g0fwq(r!+Nhm|D>|rh}>$jq$8nb~M{jOPXNmPs~M~9=Z;`U-|ypw8)D%OZOx5XDPv%5TC>6cX)c(cd^bG z7XtiXdtVCh>6R3j4e+twFs=mnH1r9)Li{Ek_hQ6|5hF&77%^hR0D!mKZvAKG2{bK{2Go3GG&h)=0 zt5=<+nbXN-lt8n4Aur0s`dHo*y$d=3ptA8$=49_%3IJqIU3BJW&h$QW7r>>JuIpaP zxvu*{@}dGDJ$SCIy+;4_M_tzq)}3ElF=E7s5hF&77%^hRh!G>kjR~}iNvq|1&>V~Q zrdwuRcMJfw&${k$02rBd-R)${L`cUDfHbvGT0Ot1`Ekj!aiWdBdDeArM}ht(VG%?7 z?G^x-dDC@;ske3EVC#xKZ7q*BpMV{!?%A+;tuP;=@TURb?3=FJa${Cej2JOu#E20i zMvNFSVtg!MKg6)#A^R4xPv(3s9r-6NpzwC`V_ZpL_H$fKVfJfWMPc@LWIt?<|NB+f zLXq#0lOp>b?kDF&_SK!C_?sxbuMp*Ty%iK*MwG$6k7vn`k$ogt9(`*O=--G~PV_t# zg!wBd%;laTxp_o6J*JFzUGMrNa+SVH;Y)OVZZ%$Dmcr*L{v8VQb$rxdfABE6slBfi zLw$XpO06H-d+5$oXQ$Gobf&sCb#-pKyQ?R){(zoKWi*E((p`4~i1rj&NdQB;)=HZT z+j=$wz){MdDf^w1T+*(XrePLRg={vQQJt)2n%1~sM#^&k@zUKewC@3UctG-e=LJN$ zHYBkA+qg0WZ)4ffvX7|QqE?;&SW*+WA)8kxZOhTKj$xVDY52aO^al4G7#kiu0#{M( z<{I6N!kzi>VRhHRg98V~hWG6~NWT06UU{0ZJbbTsyxT~I}vWMcG^kp#58WFxSa&Nej1N^q8>i@ zxX1Sq)A)Y6G4CgyKQN8k>Bej)o=OcRcoDh}MX>u9@&kY41PP@{I| zITX{l-LZZCqibQ}e&ab2)41NRZ@tI;Jvax6`#X=XAJtssdOu&Hp8fn>VftZZcn-4q zJ?0`j2N|Y$2A*-^+0QUn@W(mdh7!WP;(06yVPRKX!`3$6sz^wDHX=FcNpXrw5~Su& z;#2lV0I=pZ(%6q>nF2|gzaBkK=Ohi&fjQrm@M*jRSs*Qv*0nBak=s|dA6mXhTDTk_ zp+M)tMbhG?ohy!^;W8j1qPKwD{Hd0ETDG+eFWIqj`$_ZCa;D>~iOzlZ- zm@6fkK$7rGpky_@%WpMIuO%Up68{bDJ(L<69^F4O5H^KH*xXX-Qumfry5v+$y|5^t=CwjfZiPA^AQt3h}y{{{k&YM=+n$*qGWc9a}&8E`%Y(8DJaP{UZ#bPR* z-#~Er+eVun-Lm|VZ3YD4*S#+#aI-l2^bkVWW*7(DE z*1`PssjNPU7B~zDlNOiRveRY9w#-5*o!83KW_H51Osi5(SIkEZGnaPol%T4XF!Hgk zVVUoJ{h`YirxkTLrAho#4j(hN^^clc58n^lHQO=rM%K`Z_X;T`E9{8a0}xHzM;hH= z1Q{g%+_NBLJclU4a4duDpU)M940GUkq0(-##CNjN=N8XF>c77;aD6 zckZVDZ}ot9ul~UEEC%<7F#qH358-}zt^HvM-WZA2y6d{50e_nmU2pvo&JkPvH7dp+ z@t+Ni!$*kEerOC!^v~+JBqmY-@HxS+A18l6>9AiL;~61eKi)Pf|I0#tF?^kGhybGc ziH9|?J0Mp@%=Zx2LtGC*#Qh=e4?+BI_J^qF#c#y(rGDQ2ns~s~zeoH-$k)&37bK$3 z<=v2od_{pnf?q%XA57pY(~7$Je@XKAb3*S0qnK}^{{846r4xR?z;mf19;IL<02U?c z-)oK|Kk%MKZqRTV(@E6#lf%LWvl14D%6UZ8Ppfac6MKpQ;5(w6)p-TuDU#>;Ilpp0 zEy`J6KW7_U*Dn*%=NZ2t>Mi2^w4+kC@sQ|_LN?nm)zhtZZ%NyFZUPrG@Wkkj&dv@+ zss8iMlRlWWoleC9h1OQoqEj1Cbu(8Jt4vr<4Fe_Wm`cSg8jtA3>3Y$~7)2b&T$!vF zkBU(ADI=l~f~%_9xS={)p_&vfoOtPkczA7D+bKJhd|t^y^^9lLDXCdJ<+%*1nzPhG z(Hhr^YR<9jvZ__4AZwK-i@KxdlugkRc;d97YPPLStGemf)8Khe=PISrG^pfDEkdec z8cvO_mDb}q1a6S0Z@lV_U+y^qV5|UJUB3> zj_uk#GN9HUa=nv}wtm0kto5AcXdnuY*QGg{ceZuiLDy=oY^f8PnZrY{hxe&vCuf*y zrL5;@1xm?jTY9p0>se6M@p74x5o=hgIyTzJ7l(&yN1m8ndvLdZ1$a2Os4)PgJY90M zaZt*R?a>MTC0x`eK`|{yR|;lDnY67*-FBt}tnrFb%%zPSv3BhqPK$1X;uGkMujHo9 z@^s0gjtwH_sBV|h7e5$KZBT5zsG$P=nk+h?V8epq=u-|T*dIW#Em6UWK0!TTB4<}a zo`%;IJPrPhT9}1mTcS8x$;g6Iz+2HvaJ*awC2N&Ry6Jdj6PKrGj$<3+6-O_FlGDd4 z1y!>(vrr8hW*(FDqQ=K<{V0cuhN<&!arvGQvV&pUEEJ8hQ|1xy-vjRZ5wD7rO!#{Y zyzhs>?{f@X;m5r;tk3I~OvBF*Z-umq?vQ@?`vd$P00uu-7{eibUI%3w&OfaG003Ne zU3{zw@O~zyeEqziDO`U1ECxPvSfBShF@2oU#X7>eV}0IlWYD=Atk3(WnDTxpM!5db z0E2sxSfBSFF=dMlm!IXBejY&VZQ?NRZ(@r6D2Q&UcT!TZ`6;r4$rq|fWkK4nD$FM}|BDx}Zz5T@_2 zVo0Cyur`p9?BeUkd`)QNw8>E|dP3gTfK|I_Zb&|M-2L z;txZKbCBs|1O3#fr!P$M0k9s^6Aj9rA${JL%V0eQhI#A>;vv#MPmXvv4|pPC{KtK~ h+;@ZM5exeOZ-){O=Z`KDQTiLnPKIY(1rZ9uzX0sx#l`>t literal 0 HcmV?d00001 diff --git a/tests/Regression/missing-check-for-x86-property-note-content/main.fmf b/tests/Regression/missing-check-for-x86-property-note-content/main.fmf new file mode 100644 index 0000000..a7afb11 --- /dev/null +++ b/tests/Regression/missing-check-for-x86-property-note-content/main.fmf @@ -0,0 +1,16 @@ +summary: missing-check-for-x86-property-note-content +description: | + Bug summary: annobin: Missing check for contents of x86 property note + Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1991931 +contact: Martin Cermak +component: +- annobin +test: ./runtest.sh +framework: beakerlib +recommend: +- annobin +duration: 48h +link: +- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1991931 +extra-summary: /tools/annobin/Regression/missing-check-for-x86-property-note-content +extra-task: /tools/annobin/Regression/missing-check-for-x86-property-note-content diff --git a/tests/Regression/missing-check-for-x86-property-note-content/runtest.sh b/tests/Regression/missing-check-for-x86-property-note-content/runtest.sh new file mode 100755 index 0000000..14392c0 --- /dev/null +++ b/tests/Regression/missing-check-for-x86-property-note-content/runtest.sh @@ -0,0 +1,40 @@ +#!/bin/bash +# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# runtest.sh of /tools/annobin/Regression/missing-check-for-x86-property-note-content +# Description: missing-check-for-x86-property-note-content +# Author: Martin Cermak +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2021 Red Hat, Inc. +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see http://www.gnu.org/licenses/. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +# Include Beaker environment +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +PACKAGE="annobin" + +rlJournalStart + rlPhaseStartTest + rlRun "annocheck main" 1 + rlRun "annocheck --fixed-format-messages main | \ + grep '^Hardened: FAIL: test: cf-protection file: main.$'" + rlPhaseEnd +rlJournalPrintText +rlJournalEnd From 1d5918a750b969d366f593ae10cde0c5d37a555b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 24 Aug 2021 17:16:30 +0100 Subject: [PATCH 068/361] Annocheck: Fix memory corruption. (#1996963) spec file: Add the creation of a gcc-plugin version info file in /usr/lib/rpm/redhat. --- ...flegacy-pass-manager-option-to-the-t.patch | 27 ------------ annobin.spec | 43 ++++++++++++++++--- sources | 2 +- 3 files changed, 38 insertions(+), 34 deletions(-) delete mode 100644 0001-llvm-plugin-Add-flegacy-pass-manager-option-to-the-t.patch diff --git a/0001-llvm-plugin-Add-flegacy-pass-manager-option-to-the-t.patch b/0001-llvm-plugin-Add-flegacy-pass-manager-option-to-the-t.patch deleted file mode 100644 index 17a1626..0000000 --- a/0001-llvm-plugin-Add-flegacy-pass-manager-option-to-the-t.patch +++ /dev/null @@ -1,27 +0,0 @@ -From bda340f0754972944ec115a72f1a8547ffa21f1c Mon Sep 17 00:00:00 2001 -From: Tom Stellard -Date: Mon, 16 Aug 2021 18:04:53 +0000 -Subject: [PATCH] llvm-plugin: Add -flegacy-pass-manager option to the test - case - -The plugin does not work with the new pass manager yet. ---- - llvm-plugin/Makefile.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/llvm-plugin/Makefile.in b/llvm-plugin/Makefile.in -index bdd8b19..92bcc9a 100644 ---- a/llvm-plugin/Makefile.in -+++ b/llvm-plugin/Makefile.in -@@ -48,7 +48,7 @@ PLUGIN_TEST_OPTIONS = \ - # -fcf-protection \ - - check: @srcdir@/hello.c -- @ $(CLANG) -Xclang -load -Xclang $(PLUGIN) $(PLUGIN_TEST_OPTIONS) -c @srcdir@/hello.c -+ @ $(CLANG) -flegacy-pass-manager -Xclang -load -Xclang $(PLUGIN) $(PLUGIN_TEST_OPTIONS) -c @srcdir@/hello.c - @ $(READELF) --wide --notes hello.o > llvm-plugin-test.out - @ grep --silent -e "annobin built by llvm version" llvm-plugin-test.out - @ grep --silent -e "running on LLVM version" llvm-plugin-test.out --- -2.26.2 - diff --git a/annobin.spec b/annobin.spec index 1a8204c..eb38cf5 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.90 +Version: 9.92 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -231,6 +231,15 @@ Requires: (gcc >= %{gcc_major} with gcc < %{gcc_next}) Requires: gcc %endif +# The next line has been stolen from redhat-rpm-config.spec. +# We install a version info file into this directory, rather than gcc's plugin +# directory, because there is no reliable way for redhat-rpm-config to +# determine the name of gcc's plugin directory. +%global rrcdir /usr/lib/rpm/redhat + +# Information about the gcc plugin is recorded in this file. +%global aver %{rrcdir}/annobin-plugin-version-info + %description plugin-gcc Installs an annobin plugin that can be used by gcc. @@ -279,6 +288,7 @@ Installs an annobin plugin that can be used by Clang. #--------------------------------------------------------------------------------- %prep + if [ -z "%{gcc_vr}" ]; then echo "*** Missing gcc_vr spec file macro, cannot continue." >&2 exit 1 @@ -339,7 +349,7 @@ CONFIG_ARGS="$CONFIG_ARGS --without-annocheck" %else # Fedora supports AArch64's -mbranch-protection=bti, RHEL does not. %if 0%{?fedora} != 0 -export CFLAGS="$CFLAGS -DAARCh64_BRANCH_PROTECTION_SUPPORTED=1" +export CFLAGS="$CFLAGS -DAARCH64_BRANCH_PROTECTION_SUPPORTED=1" %endif %endif @@ -354,8 +364,6 @@ export CLANG_TARGET_OPTIONS="-fcf-protection" %make_build -#--------------------------------------------------------------------------------- - %if %{with plugin_rebuild} # Rebuild the plugin(s), this time using the plugin itself! This # ensures that the plugin works, and that it contains annotations @@ -397,15 +405,28 @@ make -C llvm-plugin all CXXFLAGS="%{optflags} $BUILD_FLAGS" #--------------------------------------------------------------------------------- -# PLUGIN_INSTALL_DIR is used by the Clang and LLVM makefiles... %install + +# PLUGIN_INSTALL_DIR is used by the Clang and LLVM makefiles... %make_install PLUGIN_INSTALL_DIR=%{buildroot}/%{llvm_plugin_dir} %if %{with clangplugin} -# Move clang plugin to a seperate directory. +# Move the clang plugin to a seperate directory. mkdir -p %{buildroot}/%{clang_plugin_dir} mv %{buildroot}/%{llvm_plugin_dir}/annobin-for-clang.so %{buildroot}/%{clang_plugin_dir} %endif + +%if %{with gccplugin} +# Record the version of gcc that built this plugin. +mkdir -p %{buildroot}%{rrcdir} +rm -f %{buildroot}%{aver} +# Note - the comparison logic in redhat-rpm-config's %%triggger macros require +# that the plugin builder information appear as the first three numbers in the file. +echo %{gcc_vr} > %{buildroot}%{aver} +# Provide a more complete version information string on the second line. +echo "%{ANNOBIN_GCC_PLUGIN_DIR}/annobin.so.0.0.0 was built by gcc version %{gcc_vr} from the %{version} sources" >> %{buildroot}%{aver} +%endif + rm -f %{buildroot}%{_infodir}/dir #--------------------------------------------------------------------------------- @@ -414,6 +435,8 @@ rm -f %{buildroot}%{_infodir}/dir %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. +# Change the following line to: make check CLANG_TESTS="check-pre-clang-13" +# if you need to run the tests on a machine with an earlier version of Clang installed. make -k check if [ -f tests/test-suite.log ]; then cat tests/test-suite.log @@ -447,6 +470,7 @@ fi %if %{with gccplugin} %files plugin-gcc %{ANNOBIN_GCC_PLUGIN_DIR} +%{aver} %endif %if %{with annocheck} @@ -458,6 +482,13 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Aug 24 2021 Nick Clifton - 9.92-1 +- Annocheck: Fix memory corruption. (#1996963) +- spec file: Add the creation of a gcc-plugin version info file in /usr/lib/rpm/redhat. + +* Wed Aug 18 2021 Nick Clifton - 9.91-1 +- Annocheck: Fix conditionalization of AArch64's PAC+BTI detection. + * Wed Aug 18 2021 Nick Clifton - 9.90-1 - Annocheck: Add linker generated function for ppc64le exceptions. (#1981410) - LLVM Plugin: Allow checks to be selected from the command line. diff --git a/sources b/sources index 8c60d1f..0bf131b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.90.tar.xz) = 1dd320ad25f14d17c3a6973582a2c58912e3d5ffba51d459a09fc423bef2465fecb54c5a9d9202df8d68071cb5205eef2e2175d02c91fd7ba85abc103d324585 +SHA512 (annobin-9.92.tar.xz) = 6edd56c7959b80254ecf08ff3aa2a59ff31146494cd20856e52f1f632bfd0e7d5a264dcf7227215f74b5e036aaad3d7c56d40ff4d57929446eafd33620e17b50 From 29d70de971a2f5f849f615408cfacc6783146b4f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 25 Aug 2021 13:38:58 +0100 Subject: [PATCH 069/361] LLVM Plugin: Automatically choose the correct tests to run, based upon the version of Clang installed. (#1997444) spec file: Add the installation of the annobon sources into /usr/src/annobin. --- annobin.spec | 17 +++++++++++++++-- sources | 2 +- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index eb38cf5..559a42a 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.92 +Version: 9.93 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -56,9 +56,13 @@ License: GPLv3+ #--------------------------------------------------------------------------------- -Source: https://nickc.fedorapeople.org/annobin-%{version}.tar.xz +%global annobin_sources annobin-%{version}.tar.xz +Source: https://nickc.fedorapeople.org/%{annobin_sources} # For the latest sources use: git clone git://sourceware.org/git/annobin.git +# This is where a copy of the sources will be installed. +%global annobin_source_dir %{_usrsrc}/annobin + # Insert patches here, if needed. Eg: # Patch01: annobin-foo.patch @@ -425,6 +429,10 @@ rm -f %{buildroot}%{aver} echo %{gcc_vr} > %{buildroot}%{aver} # Provide a more complete version information string on the second line. echo "%{ANNOBIN_GCC_PLUGIN_DIR}/annobin.so.0.0.0 was built by gcc version %{gcc_vr} from the %{version} sources" >> %{buildroot}%{aver} + +# Also install a copy of the sources into the build tree. +mkdir -p %{buildroot}%{annobin_source_dir} +cp %{_sourcedir}/%{annobin_sources} %{buildroot}%{annobin_source_dir}/latest-annobin.tar.xz %endif rm -f %{buildroot}%{_infodir}/dir @@ -471,6 +479,7 @@ fi %files plugin-gcc %{ANNOBIN_GCC_PLUGIN_DIR} %{aver} +%{annobin_source_dir}/latest-annobin.tar.xz %endif %if %{with annocheck} @@ -482,6 +491,10 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Aug 25 2021 Nick Clifton - 9.93-1 +- LLVM Plugin: Automatically choose the correct tests to run, based upon the version of Clang installed. (#1997444) +- spec file: Add the installation of the annobon sources into /usr/src/annobin. + * Tue Aug 24 2021 Nick Clifton - 9.92-1 - Annocheck: Fix memory corruption. (#1996963) - spec file: Add the creation of a gcc-plugin version info file in /usr/lib/rpm/redhat. diff --git a/sources b/sources index 0bf131b..b3cbf2d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.92.tar.xz) = 6edd56c7959b80254ecf08ff3aa2a59ff31146494cd20856e52f1f632bfd0e7d5a264dcf7227215f74b5e036aaad3d7c56d40ff4d57929446eafd33620e17b50 +SHA512 (annobin-9.93.tar.xz) = 115a65e5cefdf19ba71185008f3bdd0114dd52c659c2c28868d8c90ef7bb7a28f5bf8b57c1e0050c0652a37e3e448873e23d843e417d1f62e676034c76f6aea4 From ba44d58e227c53d8c4f00ee92417d0b162368e71 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 31 Aug 2021 15:18:09 +0100 Subject: [PATCH 070/361] Annocheck: Skip GO/CET checks. Fix fuzzing detected failures. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 559a42a..bdaa696 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.93 +Version: 9.94 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -491,6 +491,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Aug 31 2021 Nick Clifton - 9.94-1 +- Annocheck: Skip GO/CET checks. Fix fuzzing detected failures. + * Wed Aug 25 2021 Nick Clifton - 9.93-1 - LLVM Plugin: Automatically choose the correct tests to run, based upon the version of Clang installed. (#1997444) - spec file: Add the installation of the annobon sources into /usr/src/annobin. diff --git a/sources b/sources index b3cbf2d..54e35ce 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.93.tar.xz) = 115a65e5cefdf19ba71185008f3bdd0114dd52c659c2c28868d8c90ef7bb7a28f5bf8b57c1e0050c0652a37e3e448873e23d843e417d1f62e676034c76f6aea4 +SHA512 (annobin-9.94.tar.xz) = bc093962d6e07992aca2210e3c122f2bdfc89b350a8bd93530e229ff577ca950697b16f1a7795704fe4adfbabdb951e35ca46a3c639000a66f05529dcd686688 From 9d82370d42a74f491686f7c577ca4b7ebd9ff487 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 3 Sep 2021 17:55:06 +0100 Subject: [PATCH 071/361] - Annocheck: Fix fuzzing detected failures. - Annocheck: Added --profile option. - Docs: Documented --profile option and rpminspect.yaml. --- annobin.spec | 9 +++++++-- sources | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index bdaa696..5a4eb83 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.94 +Version: 9.95 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -445,7 +445,7 @@ rm -f %{buildroot}%{_infodir}/dir # test suite logs in order to diagnose a test failure. # Change the following line to: make check CLANG_TESTS="check-pre-clang-13" # if you need to run the tests on a machine with an earlier version of Clang installed. -make -k check +make check if [ -f tests/test-suite.log ]; then cat tests/test-suite.log fi @@ -491,6 +491,11 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Sep 03 2021 Nick Clifton - 9.95-1 +- Annocheck: Fix fuzzing detected failures. +- Annocheck: Added --profile option. +- Docs: Documented --profile option and rpminspect.yaml. + * Tue Aug 31 2021 Nick Clifton - 9.94-1 - Annocheck: Skip GO/CET checks. Fix fuzzing detected failures. diff --git a/sources b/sources index 54e35ce..77bb63b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.94.tar.xz) = bc093962d6e07992aca2210e3c122f2bdfc89b350a8bd93530e229ff577ca950697b16f1a7795704fe4adfbabdb951e35ca46a3c639000a66f05529dcd686688 +SHA512 (annobin-9.95.tar.xz) = a98e4fcae1879fb12d5da033a664217de64baf18ae07653ba8934074829e238550222350ec3d1941ae995b873f0660c151e6999a352c957d1b8ca808139d51ca From fe496281b3da5ca3dc41c5bf73c58c53c985eac2 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 9 Sep 2021 14:18:24 +0100 Subject: [PATCH 072/361] - Documentation: Add node for each hardening test. - Documentation: Install online. - Annocheck: Annote FAIL and MAYB results with URL to documentation - Annocheck: Add --no-urls and --provide-urls options - Annocheck: Add --help- option. --- annobin.spec | 15 ++++++++++----- sources | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/annobin.spec b/annobin.spec index 5a4eb83..fe76201 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.95 +Version: 10.01 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -443,8 +443,6 @@ rm -f %{buildroot}%{_infodir}/dir %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. -# Change the following line to: make check CLANG_TESTS="check-pre-clang-13" -# if you need to run the tests on a machine with an earlier version of Clang installed. make check if [ -f tests/test-suite.log ]; then cat tests/test-suite.log @@ -491,10 +489,17 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Sep 09 2021 Nick Clifton - 10.01-1 +- Documentation: Add node for each hardening test. +- Documentation: Install online. +- Annocheck: Annote FAIL and MAYB results with URL to documentation +- Annocheck: Add --no-urls and --provide-urls options +- Annocheck: Add --help- option. + * Fri Sep 03 2021 Nick Clifton - 9.95-1 - Annocheck: Fix fuzzing detected failures. -- Annocheck: Added --profile option. -- Docs: Documented --profile option and rpminspect.yaml. +- Annocheck: Add --profile option. +- Docs: Document --profile option and rpminspect.yaml. * Tue Aug 31 2021 Nick Clifton - 9.94-1 - Annocheck: Skip GO/CET checks. Fix fuzzing detected failures. diff --git a/sources b/sources index 77bb63b..95236d1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.95.tar.xz) = a98e4fcae1879fb12d5da033a664217de64baf18ae07653ba8934074829e238550222350ec3d1941ae995b873f0660c151e6999a352c957d1b8ca808139d51ca +SHA512 (annobin-10.01.tar.xz) = 6f23ddc725401c67c61cf626db05bd4f6f7a96693bd52072757555bd189894bf69e4a87a20603aa36d7db5d7f82486c5582010e4eb066100b2755ec3509f839c From 92cb681581fc80430d3448d0df6b5e641fee036d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 10 Sep 2021 11:08:17 +0100 Subject: [PATCH 073/361] Annocheck: Fix exit code when tests PASS. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index fe76201..b808ceb 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.01 +Version: 10.02 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -489,6 +489,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Sep 10 2021 Nick Clifton - 10.02-1 +- Annocheck: Fix exit code when tests PASS. + * Thu Sep 09 2021 Nick Clifton - 10.01-1 - Documentation: Add node for each hardening test. - Documentation: Install online. diff --git a/sources b/sources index 95236d1..685a570 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.01.tar.xz) = 6f23ddc725401c67c61cf626db05bd4f6f7a96693bd52072757555bd189894bf69e4a87a20603aa36d7db5d7f82486c5582010e4eb066100b2755ec3509f839c +SHA512 (annobin-10.02.tar.xz) = c6a6803b62fb1d2f8a35243e9178c36c353c2c12e670c51e9c4c7c56f710d0c14eaa71de8557aa2702144d591eba048049bb8e69eb6b45a6acbadbb13bb71629 From a99d618d38485f6eb58c4a483bdd115a3d9cfa01 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 15 Sep 2021 10:43:42 +0100 Subject: [PATCH 074/361] Annocheck: Do not set CFLAGS/LDFLAGS when building. Take from environment instead. --- annobin.spec | 26 ++++++++++++++++---------- sources | 2 +- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/annobin.spec b/annobin.spec index b808ceb..a77a40a 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.02 +Version: 10.03 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -47,12 +47,14 @@ License: GPLv3+ # was built is different from the version of gcc that is now being used, and # then it will abort. # -# The default was to use plugin during rebuilds (cf BZ 1630550) but this has -# been changed because of the need to be able to rebuild annobin when a change -# to gcc breaks the version installed into the buildroot. -%if %{without plugin_rebuild} -%undefine _annotated_build -%endif +# The default is to use plugin during rebuilds (cf BZ 1630550) but this can +# be changed because of the need to be able to rebuild annobin when a change +# to gcc breaks the version installed into the buildroot. Mote however that +# uncommenting the lines below will result in annocheck not passing the rpminspect +# tests.... +# %%if %%{without plugin_rebuild} +# %%undefine _annotated_build +# %%endif #--------------------------------------------------------------------------------- @@ -346,8 +348,6 @@ CONFIG_ARGS="$CONFIG_ARGS --with-llvm" CONFIG_ARGS="$CONFIG_ARGS --without-test" %endif -export CFLAGS="$CFLAGS $RPM_OPT_FLAGS" - %if %{without annocheck} CONFIG_ARGS="$CONFIG_ARGS --without-annocheck" %else @@ -359,12 +359,15 @@ export CFLAGS="$CFLAGS -DAARCH64_BRANCH_PROTECTION_SUPPORTED=1" %set_build_flags +export CFLAGS="$CFLAGS $RPM_OPT_FLAGS %build_cflags" +export LDFLAGS="$LDFLAGS %build_ldflags" + %ifarch %{ix86} x86_64 # FIXME: There should be a better way to do this. export CLANG_TARGET_OPTIONS="-fcf-protection" %endif -%configure ${CONFIG_ARGS} || cat config.log +CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" CXXFLAGS="$CFLAGS" %configure ${CONFIG_ARGS} || cat config.log %make_build @@ -489,6 +492,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Sep 15 2021 Nick Clifton - 10.03-1 +- Annocheck: Do not set CFLAGS/LDFLAGS when building. Take from environment instead. + * Fri Sep 10 2021 Nick Clifton - 10.02-1 - Annocheck: Fix exit code when tests PASS. diff --git a/sources b/sources index 685a570..e504f40 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.02.tar.xz) = c6a6803b62fb1d2f8a35243e9178c36c353c2c12e670c51e9c4c7c56f710d0c14eaa71de8557aa2702144d591eba048049bb8e69eb6b45a6acbadbb13bb71629 +SHA512 (annobin-10.03.tar.xz) = 5341b38c4b7c1799987d3c31d298bd740c941d3c2fe65cdfcf92e580801f8af5401ad9ebf88240f3330a0aeb3f95fd188cbd24f011826aadbbe7257c31cc478d From 0aa5d1ce55af5d63cf8a3c3f44ad9f7ea567ec7e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 15 Sep 2021 12:09:38 +0100 Subject: [PATCH 075/361] Annocheck: With gaps at the start/end of the .text section, check for special symbols before displaying a MAYB result. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index a77a40a..c820deb 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.03 +Version: 10.04 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -492,6 +492,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Sep 15 2021 Nick Clifton - 10.04-1 +- Annocheck: With gaps at the start/end of the .text section, check for special symbols before displaying a MAYB result. + * Wed Sep 15 2021 Nick Clifton - 10.03-1 - Annocheck: Do not set CFLAGS/LDFLAGS when building. Take from environment instead. diff --git a/sources b/sources index e504f40..3f0d8db 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.03.tar.xz) = 5341b38c4b7c1799987d3c31d298bd740c941d3c2fe65cdfcf92e580801f8af5401ad9ebf88240f3330a0aeb3f95fd188cbd24f011826aadbbe7257c31cc478d +SHA512 (annobin-10.04.tar.xz) = 05a53c9e4aa28a52a9470e3299f84d340ecba693d74a56dda72031021a1257d566a997033e54a0f4a776e21554b9156e3aae3ef774f0d9ad977684b886e706b8 From ee93527317edb44c1f6c8b8864f80b4f2c2c0421 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 15 Sep 2021 15:00:18 +0100 Subject: [PATCH 076/361] Annocheck: Do not insist on the DT_AARCH64_PAC_PLT flag being present in AArch64 binaries. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index c820deb..0ad603c 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.04 +Version: 10.05 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -492,6 +492,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Sep 15 2021 Nick Clifton - 10.05-1 +- Annocheck: Do not insist on the DT_AARCH64_PAC_PLT flag being present in AArch64 binaries. + * Wed Sep 15 2021 Nick Clifton - 10.04-1 - Annocheck: With gaps at the start/end of the .text section, check for special symbols before displaying a MAYB result. diff --git a/sources b/sources index 3f0d8db..59a06b2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.04.tar.xz) = 05a53c9e4aa28a52a9470e3299f84d340ecba693d74a56dda72031021a1257d566a997033e54a0f4a776e21554b9156e3aae3ef774f0d9ad977684b886e706b8 +SHA512 (annobin-10.05.tar.xz) = 2ac4b0faeb06b9556df2f24c93d4bed4da014782b0ea6f9bc21a3a74ce7e547656039c51003c30e81296cae23813c3d0004409eddcbc7f60dfb39575147c3e14 From c62bd663ec00a8dccce28eca5dc7903d675c4782 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 16 Sep 2021 15:06:57 +0100 Subject: [PATCH 077/361] GCC Plugin: Fix detection of running inside the LTO compiler. (#2004917) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 0ad603c..ce6a8c1 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.05 +Version: 10.06 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -492,6 +492,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Sep 16 2021 Nick Clifton - 10.06-1 +- GCC Plugin: Fix detection of running inside the LTO compiler. (#2004917) + * Wed Sep 15 2021 Nick Clifton - 10.05-1 - Annocheck: Do not insist on the DT_AARCH64_PAC_PLT flag being present in AArch64 binaries. diff --git a/sources b/sources index 59a06b2..2018e1a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.05.tar.xz) = 2ac4b0faeb06b9556df2f24c93d4bed4da014782b0ea6f9bc21a3a74ce7e547656039c51003c30e81296cae23813c3d0004409eddcbc7f60dfb39575147c3e14 +SHA512 (annobin-10.06.tar.xz) = e397ded3fcd0a1e547399ac1b28a828aa34e813aa1e0907497d19751ef3a2ee9466c63bae633422ba7d003e707b6fb7b571c87a3aa873ed82d7e20062764cdf5 From da3ba09492cd1bab1af36dc3a6b2d5772d78b2c3 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 29 Sep 2021 13:12:12 +0100 Subject: [PATCH 078/361] Annocheck: Ignore gaps containing NOP instructions. --- annobin.spec | 9 +++++++-- sources | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index ce6a8c1..73ce216 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.06 +Version: 10.07 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -428,9 +428,11 @@ mv %{buildroot}/%{llvm_plugin_dir}/annobin-for-clang.so %{buildroot}/%{clang_plu mkdir -p %{buildroot}%{rrcdir} rm -f %{buildroot}%{aver} # Note - the comparison logic in redhat-rpm-config's %%triggger macros require -# that the plugin builder information appear as the first three numbers in the file. +# that the plugin builder information appear as "major.minor.revision-release", +# eg "11.2.1-1" on the first line of the version file. echo %{gcc_vr} > %{buildroot}%{aver} # Provide a more complete version information string on the second line. +# This is not used by the comparison logic, but makes the file more useful to humans. echo "%{ANNOBIN_GCC_PLUGIN_DIR}/annobin.so.0.0.0 was built by gcc version %{gcc_vr} from the %{version} sources" >> %{buildroot}%{aver} # Also install a copy of the sources into the build tree. @@ -492,6 +494,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Sep 29 2021 Nick Clifton - 10.07-1 +- Annocheck: Ignore gaps containing NOP instructions. + * Thu Sep 16 2021 Nick Clifton - 10.06-1 - GCC Plugin: Fix detection of running inside the LTO compiler. (#2004917) diff --git a/sources b/sources index 2018e1a..6536896 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.06.tar.xz) = e397ded3fcd0a1e547399ac1b28a828aa34e813aa1e0907497d19751ef3a2ee9466c63bae633422ba7d003e707b6fb7b571c87a3aa873ed82d7e20062764cdf5 +SHA512 (annobin-10.07.tar.xz) = f600e06cb6ee0f2663a8ff3de23df7ac716a79447caa3f2ca59665ccf4860809b4193ebff5149d109e903cd11bf758775b5261640cb3f948be561861c00526dc From 5f79645f586fcca47acae5ff03044b8a296c25d8 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 1 Oct 2021 13:11:12 +0100 Subject: [PATCH 079/361] - Annocheck: Fix covscan detected problems. - Annocheck: Add --profile=el8. - gcc-plugin: Conditionalize generation of branch protection note. --- annobin.spec | 7 ++++++- sources | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 73ce216..f79b24a 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.07 +Version: 10.08 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -494,6 +494,11 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Oct 01 2021 Nick Clifton - 10.08-1 +- Annocheck: Fix covscan detected problems. +- Annocheck: Add --profile=el8. +- gcc-plugin: Conditionalize generation of branch protection note. + * Wed Sep 29 2021 Nick Clifton - 10.07-1 - Annocheck: Ignore gaps containing NOP instructions. diff --git a/sources b/sources index 6536896..eccdfa9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.07.tar.xz) = f600e06cb6ee0f2663a8ff3de23df7ac716a79447caa3f2ca59665ccf4860809b4193ebff5149d109e903cd11bf758775b5261640cb3f948be561861c00526dc +SHA512 (annobin-10.08.tar.xz) = 2d2cffa758adbb555e9588ae18636ee1b49a0baf7249fbbc10c1fdd1991b74403265bc9f6591dc70b14889ec56d3d3229a0141eb755068c4fecc6257450c0218 From 37b5de8c9b8f14138b9d9e18a3b2fc52a6ecbe6d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 4 Oct 2021 15:26:35 +0100 Subject: [PATCH 080/361] Annocheck: Add more cases of glibc startup functions. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index f79b24a..3150dd5 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.08 +Version: 10.09 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -494,6 +494,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Oct 04 2021 Nick Clifton - 10.09-1 +- Annocheck: Add more cases of glibc startup functions. + * Fri Oct 01 2021 Nick Clifton - 10.08-1 - Annocheck: Fix covscan detected problems. - Annocheck: Add --profile=el8. diff --git a/sources b/sources index eccdfa9..447cc02 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.08.tar.xz) = 2d2cffa758adbb555e9588ae18636ee1b49a0baf7249fbbc10c1fdd1991b74403265bc9f6591dc70b14889ec56d3d3229a0141eb755068c4fecc6257450c0218 +SHA512 (annobin-10.09.tar.xz) = 6cf6a797719a6150cf61014ff456df0bc2a7d8adf50e6219aace692562d48b7a7a6954a2a3d29d6a511ea234e3a36b50beddef32d46cb4ebd6ddc23ab16b36e4 From c27947f871ea063c9ac18d73de4fc7018df0c594 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 5 Oct 2021 14:28:09 +0100 Subject: [PATCH 081/361] Annocheck: Fix cf-prot test to fail if the CET notes are missing. Annocheck: Skip gaps in the .plt section. Plugins: Add -g option when building LLVM and Clang. --- annobin.spec | 9 +++++++-- sources | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 3150dd5..b30720b 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.09 +Version: 10.10 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -494,7 +494,12 @@ fi #--------------------------------------------------------------------------------- %changelog -* Tue Oct 04 2021 Nick Clifton - 10.09-1 +* Tue Oct 05 2021 Nick Clifton - 10.10-1 +- Annocheck: Fix cf-prot test to fail if the CET notes are missing. +- Annocheck: Skip gaps in the .plt section. +- Plugins: Add -g option when building LLVM and Clang. + +* Mon Oct 04 2021 Nick Clifton - 10.09-1 - Annocheck: Add more cases of glibc startup functions. * Fri Oct 01 2021 Nick Clifton - 10.08-1 diff --git a/sources b/sources index 447cc02..a8b438e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.09.tar.xz) = 6cf6a797719a6150cf61014ff456df0bc2a7d8adf50e6219aace692562d48b7a7a6954a2a3d29d6a511ea234e3a36b50beddef32d46cb4ebd6ddc23ab16b36e4 +SHA512 (annobin-10.10.tar.xz) = 5ad1deecd4a109ff8063aa0593fcabe10eacad273bf7ad31789c2daf81e9af7337ee0cbbc65d9c7541a1878b7e34128a87f0b8e7c27eb316014a613ad5ebca40 From efe8b5622bc1b79b0b7db6b87f5c04bcbe2f1099 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 6 Oct 2021 10:59:43 +0100 Subject: [PATCH 082/361] Annocheck: Fix covscan detected flaws. plugins: Add more required build options. --- annobin.spec | 6 +++++- sources | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index b30720b..20876c9 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.10 +Version: 10.11 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -494,6 +494,10 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Oct 05 2021 Nick Clifton - 10.11-1 +- Annocheck: Fix covscan detected flaws. +- plugins: Add more required build options. + * Tue Oct 05 2021 Nick Clifton - 10.10-1 - Annocheck: Fix cf-prot test to fail if the CET notes are missing. - Annocheck: Skip gaps in the .plt section. diff --git a/sources b/sources index a8b438e..1c1d13a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.10.tar.xz) = 5ad1deecd4a109ff8063aa0593fcabe10eacad273bf7ad31789c2daf81e9af7337ee0cbbc65d9c7541a1878b7e34128a87f0b8e7c27eb316014a613ad5ebca40 +SHA512 (annobin-10.11.tar.xz) = 73ff710cb47b6adaf4e7217b034cf073c256edd7faaf610c6ffe1dea7ca100861ef5ac65ecc14b42cd17ffac54ea051e429e5b2fb965fa81f49376d5e8f3f6f0 From f25c7c2336a077d37fc3c9d6406af5fcc70bcfe5 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 8 Oct 2021 14:15:39 +0100 Subject: [PATCH 083/361] Annocheck: Fix MAYB results for mixed GO/C files. Annocheck: Move some messages from VERBOSE to VERBOSE2. Annocheck: Scan zero-length tool notes. --- annobin.spec | 7 ++++++- sources | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 20876c9..6497512 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.11 +Version: 10.12 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -494,6 +494,11 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Oct 08 2021 Nick Clifton - 10.12-1 +- Annocheck: Fix MAYB results for mixed GO/C files. +- Annocheck: Move some messages from VERBOSE to VERBOSE2. +- Annocheck: Scan zero-length tool notes. + * Tue Oct 05 2021 Nick Clifton - 10.11-1 - Annocheck: Fix covscan detected flaws. - plugins: Add more required build options. diff --git a/sources b/sources index 1c1d13a..1c5fa53 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.11.tar.xz) = 73ff710cb47b6adaf4e7217b034cf073c256edd7faaf610c6ffe1dea7ca100861ef5ac65ecc14b42cd17ffac54ea051e429e5b2fb965fa81f49376d5e8f3f6f0 +SHA512 (annobin-10.12.tar.xz) = 5c890b333764cb84a833b5e49f38fe26c4afb29acf528f24fbfa4c8985eab4c281974b0dbcd1918638d35303dfcb7cc7ec22003064c86b72779abadf48b41904 From f1b2a85f11904dd0bee65b51b12af853d8f49e65 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 8 Oct 2021 16:25:13 +0100 Subject: [PATCH 084/361] Annocheck: Fix memory corruptions when using --debug-path and when a corrupt note is found. Resolves: #2011438 --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 6497512..58b252d 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.12 +Version: 10.13 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -494,6 +494,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Oct 08 2021 Nick Clifton - 10.13-1 +- Annocheck: Fix memory corruptions when using --debug-path and when a corrupt note is found. (#20011438) + * Fri Oct 08 2021 Nick Clifton - 10.12-1 - Annocheck: Fix MAYB results for mixed GO/C files. - Annocheck: Move some messages from VERBOSE to VERBOSE2. diff --git a/sources b/sources index 1c5fa53..6f4c387 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.12.tar.xz) = 5c890b333764cb84a833b5e49f38fe26c4afb29acf528f24fbfa4c8985eab4c281974b0dbcd1918638d35303dfcb7cc7ec22003064c86b72779abadf48b41904 +SHA512 (annobin-10.13.tar.xz) = 96a708a2e5cf2e816faa44160dd1e6200660237bf9341b9889d0f2ad5b31830bf4ef11d438662ff29c9170a0250158d609aaedef4ee6faa1e2b2134e4860b3d7 From 825be9a6a22631efd3d284b4c32939e5d14143de Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 7 Oct 2021 23:27:54 +0000 Subject: [PATCH 085/361] Rebuild for llvm-13.0.0 --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 58b252d..895ce5c 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.13 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -494,6 +494,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Oct 12 2021 Tom Stellard - 10.13-2 +- Rebuild for llvm-13.0.0 + * Fri Oct 08 2021 Nick Clifton - 10.13-1 - Annocheck: Fix memory corruptions when using --debug-path and when a corrupt note is found. (#20011438) From 8477e1751db0c4539cb88c65ff228f0642cc545b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 13 Oct 2021 11:55:02 +0100 Subject: [PATCH 086/361] Annocheck: Add tests based upon recent bug fixes. --- annobin.spec | 9 ++++++++- sources | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 58b252d..3f88599 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.13 +Version: 10.15 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -131,6 +131,7 @@ Provides: %{name} = %{version}-%{release} Obsoletes: %{name} < %{version}-%{release} # The documentation uses pod2man... BuildRequires: perl-interpreter perl-podlators gawk make +BuildRequires: sharutils %description docs Provides the documentation files and example shell scripts for use with annobin. @@ -494,6 +495,12 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Oct 13 2021 Nick Clifton - 10.15-1 +- Annocheck: Add tests based upon recent bug fixes. + +* Mon Oct 11 2021 Nick Clifton - 10.14-1 +- Annocheck: Another tweak to glibc detection code. + * Fri Oct 08 2021 Nick Clifton - 10.13-1 - Annocheck: Fix memory corruptions when using --debug-path and when a corrupt note is found. (#20011438) diff --git a/sources b/sources index 6f4c387..6c3460b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.13.tar.xz) = 96a708a2e5cf2e816faa44160dd1e6200660237bf9341b9889d0f2ad5b31830bf4ef11d438662ff29c9170a0250158d609aaedef4ee6faa1e2b2134e4860b3d7 +SHA512 (annobin-10.15.tar.xz) = b0a8de5b9527e11d2ad60b1ca552772f524c3a1b1ba9591a5366403d54170211da13463dc13a52f829cd9375d91e4da92dadaf2d7a78f95cc3e6ea90aaf605ce From 0c5b1fec47fde341c417a914155fb2f1c0b96be2 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 14 Oct 2021 20:04:48 +0100 Subject: [PATCH 087/361] Fix configuring annocheck without gcc-plugin. - Annocheck: Better reporting of debuginfod problems. - Tests: Fix bugs in debuginfod test. --- annobin.spec | 17 +++++++++++------ sources | 2 +- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/annobin.spec b/annobin.spec index 8df0878..5aec687 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.15 +Version: 10.16 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -37,7 +37,7 @@ License: GPLv3+ # checking logic or when building on RHEL-7 or earlier. %global with_hard_gcc_version_requirement 1 -%bcond_with plugin_rebuild +%bcond_without plugin_rebuild # Allow the building of annobin without using annobin itself. # This is because if we are bootstrapping a new build environment we can have # a new version of gcc installed, but without a new of annobin installed. @@ -464,10 +464,10 @@ fi %doc %{_datadir}/doc/annobin-plugin/annotation.proposal.txt %{_infodir}/annobin.info* %{_mandir}/man1/annobin.1* -%{_mandir}/man1/built-by.1* -%{_mandir}/man1/check-abi.1* -%{_mandir}/man1/hardened.1* -%{_mandir}/man1/run-on-binaries-in.1* +%exclude %{_mandir}/man1/built-by.1* +%exclude %{_mandir}/man1/check-abi.1* +%exclude %{_mandir}/man1/hardened.1* +%exclude %{_mandir}/man1/run-on-binaries-in.1* %if %{with llvmplugin} %files plugin-llvm @@ -495,6 +495,11 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Oct 14 2021 Nick Clifton - 10.16-1 +- Fix configuring annocheck without gcc-plugin. +- Annocheck: Better reporting of debuginfod problems. +- Tests: Fix bugs in debuginfod test. + * Wed Oct 13 2021 Nick Clifton - 10.15-1 - Annocheck: Add tests based upon recent bug fixes. diff --git a/sources b/sources index 6c3460b..6d6f981 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.15.tar.xz) = b0a8de5b9527e11d2ad60b1ca552772f524c3a1b1ba9591a5366403d54170211da13463dc13a52f829cd9375d91e4da92dadaf2d7a78f95cc3e6ea90aaf605ce +SHA512 (annobin-10.16.tar.xz) = 34c4d33c774a088ed8f9065322d9f7125639e0c113cf6ffe724d54bcd83d3fda69550dcd234cc0efe5134f460914323eb981910b4faa3b42bc9b90a60b7d1abc From 7bc94a3f7cd51f9a9cd0b59f84c393fda8f49631 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 18 Oct 2021 14:24:09 +0100 Subject: [PATCH 088/361] Add a requirement on llvm-libs for clang and llvm plugins. Resolves: #2014573 --- annobin.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 5aec687..79c1af7 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.16 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -130,8 +130,7 @@ BuildArch: noarch Provides: %{name} = %{version}-%{release} Obsoletes: %{name} < %{version}-%{release} # The documentation uses pod2man... -BuildRequires: perl-interpreter perl-podlators gawk make -BuildRequires: sharutils +BuildRequires: perl-interpreter perl-podlators gawk make sharutils %description docs Provides the documentation files and example shell scripts for use with annobin. @@ -259,6 +258,7 @@ Installs an annobin plugin that can be used by gcc. Summary: annobin llvm plugin Requires: %{name}-docs = %{version}-%{release} +Requires: llvm-libs Conflicts: %{name} <= 9.60-1 BuildRequires: clang clang-devel llvm llvm-devel compiler-rt @@ -274,6 +274,7 @@ Installs an annobin plugin that can be used by LLVM tools. Summary: annobin clang plugin Requires: %{name}-docs = %{version}-%{release} +Requires: llvm-libs Conflicts: %{name} <= 9.60-1 BuildRequires: clang clang-devel llvm llvm-devel compiler-rt @@ -495,6 +496,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Oct 18 2021 Nick Clifton - 10.16-2 +- Add a requirement on llvm-libs for clang and llvm plugins. (#2014573) + * Thu Oct 14 2021 Nick Clifton - 10.16-1 - Fix configuring annocheck without gcc-plugin. - Annocheck: Better reporting of debuginfod problems. From 3f7c00bf573cbb6e713c281f185d405102ce9216 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 18 Oct 2021 16:17:25 +0100 Subject: [PATCH 089/361] Better reporting of problems in object files. Resolves: #2013708 --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 79c1af7..bd16b41 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.16 -Release: 2%{?dist} +Version: 10.17 +Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -496,6 +496,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Oct 18 2021 Nick Clifton - 10.17-1 +- Better reporting of problems in object files. (#2013708) + * Mon Oct 18 2021 Nick Clifton - 10.16-2 - Add a requirement on llvm-libs for clang and llvm plugins. (#2014573) diff --git a/sources b/sources index 6d6f981..4ed532e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.16.tar.xz) = 34c4d33c774a088ed8f9065322d9f7125639e0c113cf6ffe724d54bcd83d3fda69550dcd234cc0efe5134f460914323eb981910b4faa3b42bc9b90a60b7d1abc +SHA512 (annobin-10.17.tar.xz) = ebdedb9310ad9dc5c31f1689eadefd6e55af629859cb742c0b2fb3c05c1c94c9e3fb73e0edb4d2a08d5d0e124a6e9bd1179420f304ad57f79f46ace348ee5720 From 0bd26e8615aa334dc139c6889456a907a29cfc5d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 20 Oct 2021 17:49:04 +0100 Subject: [PATCH 090/361] Complain about DT_RPATH for Fedora binaries. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index bd16b41..925ae23 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.17 +Version: 10.18 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -496,6 +496,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Oct 20 2021 Nick Clifton - 10.18-1 +- Complain about DT_RPATH for Fedora binaries. + * Mon Oct 18 2021 Nick Clifton - 10.17-1 - Better reporting of problems in object files. (#2013708) diff --git a/sources b/sources index 4ed532e..a676d64 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.17.tar.xz) = ebdedb9310ad9dc5c31f1689eadefd6e55af629859cb742c0b2fb3c05c1c94c9e3fb73e0edb4d2a08d5d0e124a6e9bd1179420f304ad57f79f46ace348ee5720 +SHA512 (annobin-10.18.tar.xz) = b1d31f80b098a224ea63e8587bd68e5462f4ed7c3ef43fa1561e5dedb996bb9e0b522306c2c1dbc05a1dba527477ce8715e31a519fca8dbdd9355a96549e7993 From 7f58204567cdce8b0626362049660312828d5e51 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 21 Oct 2021 13:48:54 +0100 Subject: [PATCH 091/361] gcc-plugin: Fix attaching the .text section to the .text.group section. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 925ae23..ba88026 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.18 +Version: 10.19 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -496,6 +496,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Oct 21 2021 Nick Clifton - 10.19-1 +- gcc-plugin: Fix attaching the .text section to the .text.group section. + * Wed Oct 20 2021 Nick Clifton - 10.18-1 - Complain about DT_RPATH for Fedora binaries. diff --git a/sources b/sources index a676d64..e3abc8a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.18.tar.xz) = b1d31f80b098a224ea63e8587bd68e5462f4ed7c3ef43fa1561e5dedb996bb9e0b522306c2c1dbc05a1dba527477ce8715e31a519fca8dbdd9355a96549e7993 +SHA512 (annobin-10.19.tar.xz) = 8cefaadcd7100b4734e0acb03eeaa41f5269ae484918c9d3e4959b2d0241aba1f1e5aaee3e2ad36e8f030ff2d7dd778902cac385ea050202845cbf0e83f67545 From 7add09b73effd38992220b02276d5e51fdeecde9 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 26 Oct 2021 08:28:59 +0100 Subject: [PATCH 092/361] Annocheck: Add more glibc function names. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index ba88026..00d9d76 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.19 +Version: 10.20 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -496,6 +496,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Oct 26 2021 Nick Clifton - 10.20-1 +- Annocheck: Add more glibc function names. + * Thu Oct 21 2021 Nick Clifton - 10.19-1 - gcc-plugin: Fix attaching the .text section to the .text.group section. diff --git a/sources b/sources index e3abc8a..eeb8e05 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.19.tar.xz) = 8cefaadcd7100b4734e0acb03eeaa41f5269ae484918c9d3e4959b2d0241aba1f1e5aaee3e2ad36e8f030ff2d7dd778902cac385ea050202845cbf0e83f67545 +SHA512 (annobin-10.20.tar.xz) = 213f0b43a47f55796830d6c5339ae95ab635aefbededab7face823c2a345fe79266625802e271f69d8fdd48c2de0949766e5df5ff7969fe12bbc2e3de0d07b36 From ee53f9336e4dc46b9e8a1db94d2cc9a1659c0959 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 26 Oct 2021 15:58:02 +0100 Subject: [PATCH 093/361] Annocheck: Do not fail if a --skip- option does not match a known test. ldconfig-test: Skip the LTO check. --- annobin.spec | 6 +++++- sources | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 00d9d76..554b94a 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.20 +Version: 10.21 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -496,6 +496,10 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Oct 26 2021 Nick Clifton - 10.21-1 +- Annocheck: Do not fail if a --skip- option does not match a known test. +- ldconfig-test: Skip the LTO check. + * Tue Oct 26 2021 Nick Clifton - 10.20-1 - Annocheck: Add more glibc function names. diff --git a/sources b/sources index eeb8e05..987e77f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.20.tar.xz) = 213f0b43a47f55796830d6c5339ae95ab635aefbededab7face823c2a345fe79266625802e271f69d8fdd48c2de0949766e5df5ff7969fe12bbc2e3de0d07b36 +SHA512 (annobin-10.21.tar.xz) = 96ee640c6b14340deabdb2b3242b00ebbd284d03f83192c24b70db3bfd6bca7a9e5c17f03f280b1f150d39e83188235f8c8dc1d8b17e14034ab32d4d4cc50731 From 18219884f150e7aa4b814e9e8e3346e82d28ba92 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 27 Oct 2021 11:10:47 +0100 Subject: [PATCH 094/361] gcc-plugin: Default to link-order grouping for PPC64LE. (#2016458) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 554b94a..6b454f0 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.21 +Version: 10.22 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -496,6 +496,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Oct 27 2021 Nick Clifton - 10.22-1 +- gcc-plugin: Default to link-order grouping for PPC64LE. (#2016458) + * Tue Oct 26 2021 Nick Clifton - 10.21-1 - Annocheck: Do not fail if a --skip- option does not match a known test. - ldconfig-test: Skip the LTO check. diff --git a/sources b/sources index 987e77f..1105859 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.21.tar.xz) = 96ee640c6b14340deabdb2b3242b00ebbd284d03f83192c24b70db3bfd6bca7a9e5c17f03f280b1f150d39e83188235f8c8dc1d8b17e14034ab32d4d4cc50731 +SHA512 (annobin-10.22.tar.xz) = 865a63d2a0da551b2514f1b1800f4df8f3cffe25c1598f8587a26951065f517840181b069cd1041c350a1f89ccc28aa99fded55c2044db3eca42873b4310d109 From 92c34892f6013b7ac7e5d59a884c3d16a12d9033 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 8 Nov 2021 13:47:26 +0000 Subject: [PATCH 095/361] Annocheck: Add a test for unicode characters in identifiers. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 6b454f0..8d823d9 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.22 +Version: 10.23 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -496,6 +496,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Nov 08 2021 Nick Clifton - 10.23-1 +- Annocheck: Add a test for unicode characters in identifiers. + * Wed Oct 27 2021 Nick Clifton - 10.22-1 - gcc-plugin: Default to link-order grouping for PPC64LE. (#2016458) diff --git a/sources b/sources index 1105859..da0318f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.22.tar.xz) = 865a63d2a0da551b2514f1b1800f4df8f3cffe25c1598f8587a26951065f517840181b069cd1041c350a1f89ccc28aa99fded55c2044db3eca42873b4310d109 +SHA512 (annobin-10.23.tar.xz) = d00d33a9d9ead39f2b7927e232716bca1d21b5e25543b3b23ac0e43ae6e9b339f8145c006e3f14931de46c7c6d079adcba6e8015166249bbb2c14105169ebc95 From 93b2318897983524b8a102d07fd05214c7cc9364 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 10 Nov 2021 15:08:37 +0000 Subject: [PATCH 096/361] Annocheck: Add test for the presence of unicode characters in identifiers. Resolves: #2018850 --- annobin.spec | 8 +- annobin.unicode.patch | 404 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 410 insertions(+), 2 deletions(-) create mode 100644 annobin.unicode.patch diff --git a/annobin.spec b/annobin.spec index 8a23b2f..bc6bbfc 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 9.79 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark # Maintainer: nickc@redhat.com @@ -57,7 +57,7 @@ Source: https://nickc.fedorapeople.org/annobin-%{version}.tar.xz # For the latest sources use: git clone git://sourceware.org/git/annobin.git # Insert patches here, if needed. Eg: -# Patch01: annobin-foo.patch +Patch01: annobin.unicode.patch #--------------------------------------------------------------------------------- @@ -194,6 +194,7 @@ fi echo "Requires: (gcc >= %{gcc_major} and gcc < %{gcc_next})" %autosetup -p1 +chmod +x tests/unicode-test # The plugin has to be configured with the same arcane configure # scripts used by gcc. Hence we must not allow the Fedora build @@ -324,6 +325,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Nov 10 2021 Nick Clifton - 9.79-3 +- Annocheck: Add test for the presence of unicode characters in identifiers. (#2018850) + * Tue Aug 10 2021 Tom Stellard - 9.79-2 - Rebuild for 12.0.1 diff --git a/annobin.unicode.patch b/annobin.unicode.patch new file mode 100644 index 0000000..1b8fc06 --- /dev/null +++ b/annobin.unicode.patch @@ -0,0 +1,404 @@ +diff -rupN annobin.orig/Makefile.in annobin-9.87/Makefile.in +--- annobin.orig/Makefile.in 2021-11-10 14:34:16.366259510 +0000 ++++ annobin-9.87/Makefile.in 2021-11-10 14:35:15.947890504 +0000 +@@ -323,6 +323,7 @@ plugindir = @plugindir@ + prefix = @prefix@ + program_transform_name = @program_transform_name@ + psdir = @psdir@ ++runstatedir = @runstatedir@ + sbindir = @sbindir@ + sharedstatedir = @sharedstatedir@ + srcdir = @srcdir@ +diff -rupN annobin.orig/annocheck/Makefile.in annobin-9.87/annocheck/Makefile.in +--- annobin.orig/annocheck/Makefile.in 2021-11-10 14:34:16.368259498 +0000 ++++ annobin-9.87/annocheck/Makefile.in 2021-11-10 14:35:15.948890497 +0000 +@@ -314,6 +314,7 @@ plugindir = @plugindir@ + prefix = @prefix@ + program_transform_name = @program_transform_name@ + psdir = @psdir@ ++runstatedir = @runstatedir@ + sbindir = @sbindir@ + sharedstatedir = @sharedstatedir@ + srcdir = @srcdir@ +diff -rupN annobin.orig/annocheck/hardened.c annobin-9.87/annocheck/hardened.c +--- annobin.orig/annocheck/hardened.c 2021-11-10 14:34:16.368259498 +0000 ++++ annobin-9.87/annocheck/hardened.c 2021-11-10 14:35:53.677656812 +0000 +@@ -40,6 +40,7 @@ + #define SOURCE_STRING_SECTION "string section" + #define SOURCE_COMMENT_SECTION "comment section" + #define SOURCE_RODATA_SECTION ".rodata section" ++#define SOURCE_SYMBOL_SECTION "symbol section" + + #define GOLD_COLOUR "\e[33;40m" + #define RED_COLOUR "\x1B[31;47m" +@@ -208,6 +209,7 @@ enum test_index + TEST_STACK_REALIGN, + TEST_TEXTREL, + TEST_THREADS, ++ TEST_UNICODE, + TEST_WARNINGS, + TEST_WRITEABLE_GOT, + +@@ -252,6 +254,7 @@ static test tests [TEST_MAX] = + TEST (stack-realign, STACK_REALIGN, "Compiled with -mstackrealign (i686 only)"), + TEST (textrel, TEXTREL, "There are no text relocations in the binary"), + TEST (threads, THREADS, "Compiled with -fexceptions"), ++ TEST (unicode, UNICODE, "No unicode symbol names"), + TEST (warnings, WARNINGS, "Compiled with -Wall"), + TEST (writeable-got, WRITEABLE_GOT, "The .got section is not writeable"), + }; +@@ -1067,6 +1070,11 @@ interesting_sec (annocheck_data * da + if (streq (sec->secname, ".gdb_index")) + per_file.debuginfo_file = true; + ++ if (tests[TEST_UNICODE].enabled ++ && (sec->shdr.sh_type == SHT_SYMTAB ++ || sec->shdr.sh_type == SHT_DYNSYM)) ++ return true; ++ + if (streq (sec->secname, ".text")) + { + /* Separate debuginfo files have a .text section with a non-zero +@@ -3086,6 +3094,64 @@ check_code_section (annocheck_data * + } + + static bool ++contains_suspicious_characters (const unsigned char * name) ++{ ++ uint i; ++ uint len = strlen ((const char *) name); ++ ++ /* FIXME: Test that locale is UTF-8. */ ++ ++ for (i = 0; i < len; i++) ++ { ++ unsigned char c = name[i]; ++ ++ if (isgraph (c)) ++ continue; ++ ++ /* Control characters are always suspect. So are spaces and DEL */ ++ if (iscntrl (c) || c == ' ' || c == 0x7f) ++ return true; ++ ++ if (c < 0x7f) /* This test is probably redundant. */ ++ continue; ++ ++ return true; ++ } ++ ++ return false; ++} ++ ++static bool ++check_symbol_section (annocheck_data * data, annocheck_section * sec) ++{ ++ if (! tests[TEST_UNICODE].enabled) ++ return true; ++ ++ /* Scan the symbols looking for non-ASCII characters in their names ++ that might cause problems. Note - we do not examine the string ++ tables directly as there are perfectly legitimate reasons why these ++ characters might appear in strings. But when they are used for ++ identifier names, their use is ... problematic. */ ++ GElf_Sym sym; ++ uint symndx; ++ ++ for (symndx = 1; gelf_getsym (sec->data, symndx, & sym) != NULL; symndx++) ++ { ++ const char * symname = elf_strptr (data->elf, sec->shdr.sh_link, sym.st_name); ++ ++ if (contains_suspicious_characters ((const unsigned char *) symname)) ++ { ++ fail (data, TEST_UNICODE, SOURCE_SYMBOL_SECTION, "suspicious characters were found in a symbol name"); ++ einfo (VERBOSE, "%s: info: symname: '%s', (%lu bytes long) in section: %s", ++ get_filename (data), symname, (unsigned long) strlen (symname), sec->secname); ++ if (!BE_VERBOSE) ++ break; ++ } ++ } ++ return true; ++} ++ ++static bool + check_sec (annocheck_data * data, + annocheck_section * sec) + { +@@ -3096,6 +3162,8 @@ check_sec (annocheck_data * data, + selected in interesting_sec(). */ + switch (sec->shdr.sh_type) + { ++ case SHT_SYMTAB: ++ case SHT_DYNSYM: return check_symbol_section (data, sec); + case SHT_NOTE: return check_note_section (data, sec); + case SHT_STRTAB: return check_string_section (data, sec); + case SHT_DYNAMIC: return check_dynamic_section (data, sec); +@@ -3823,6 +3891,7 @@ finish (annocheck_data * data) + case TEST_RWX_SEG: + case TEST_TEXTREL: + case TEST_THREADS: ++ case TEST_UNICODE: + case TEST_WRITEABLE_GOT: + /* The absence of a result for these tests actually means that they have passed. */ + pass (data, i, SOURCE_FINAL_SCAN, NULL); +diff -rupN annobin.orig/configure annobin-9.87/configure +--- annobin.orig/configure 2021-11-10 14:34:16.366259510 +0000 ++++ annobin-9.87/configure 2021-11-10 14:35:15.950890485 +0000 +@@ -765,6 +765,7 @@ infodir + docdir + oldincludedir + includedir ++runstatedir + localstatedir + sharedstatedir + sysconfdir +@@ -863,6 +864,7 @@ datadir='${datarootdir}' + sysconfdir='${prefix}/etc' + sharedstatedir='${prefix}/com' + localstatedir='${prefix}/var' ++runstatedir='${localstatedir}/run' + includedir='${prefix}/include' + oldincludedir='/usr/include' + docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +@@ -1115,6 +1117,15 @@ do + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + ++ -runstatedir | --runstatedir | --runstatedi | --runstated \ ++ | --runstate | --runstat | --runsta | --runst | --runs \ ++ | --run | --ru | --r) ++ ac_prev=runstatedir ;; ++ -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ ++ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ ++ | --run=* | --ru=* | --r=*) ++ runstatedir=$ac_optarg ;; ++ + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ +@@ -1252,7 +1263,7 @@ fi + for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ +- libdir localedir mandir ++ libdir localedir mandir runstatedir + do + eval ac_val=\$$ac_var + # Remove trailing slashes. +@@ -1405,6 +1416,7 @@ Fine tuning of the installation director + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] ++ --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] +diff -rupN annobin.orig/doc/Makefile.in annobin-9.87/doc/Makefile.in +--- annobin.orig/doc/Makefile.in 2021-11-10 14:34:16.366259510 +0000 ++++ annobin-9.87/doc/Makefile.in 2021-11-10 14:35:15.951890479 +0000 +@@ -329,6 +329,7 @@ plugindir = @plugindir@ + prefix = @prefix@ + program_transform_name = @program_transform_name@ + psdir = @psdir@ ++runstatedir = @runstatedir@ + sbindir = @sbindir@ + sharedstatedir = @sharedstatedir@ + srcdir = @srcdir@ +diff -rupN annobin.orig/doc/annobin.info annobin-9.87/doc/annobin.info +--- annobin.orig/doc/annobin.info 2021-11-10 14:34:16.366259510 +0000 ++++ annobin-9.87/doc/annobin.info 2021-11-10 14:35:15.951890479 +0000 +@@ -751,6 +751,7 @@ File: annobin.info, Node: Hardened, Ne + [-skip-stack-realign] + [-skip-textrel] + [-skip-threads] ++ [-skip-unicode] + [-skip-warnings] + [-skip-writeable-got] + [-test-NAME] +@@ -877,6 +878,10 @@ code to support the test. + Check that the program was built by a production-ready compiler. + Disabled by '--skip-production'. + ++'Unicode' ++ This test checks for the presence of multibyte characters in symbol ++ names, which are unusual and potentially dangerous. ++ + The tool does support a couple of other command line options as well: + + '--skip-future' +diff -rupN annobin.orig/doc/annobin.texi annobin-9.87/doc/annobin.texi +--- annobin.orig/doc/annobin.texi 2021-11-10 14:34:16.366259510 +0000 ++++ annobin-9.87/doc/annobin.texi 2021-11-10 14:35:15.951890479 +0000 +@@ -855,6 +855,7 @@ annocheck + [@b{--skip-stack-realign}] + [@b{--skip-textrel}] + [@b{--skip-threads}] ++ [@b{--skip-unicode}] + [@b{--skip-warnings}] + [@b{--skip-writeable-got}] + [@b{--test-@var{name}}] +@@ -996,6 +997,11 @@ Check that the program makes consistent + @item Production Ready Compiler + Check that the program was built by a production-ready compiler. + Disabled by @option{--skip-production}. ++ ++@item Unicode ++This test checks for the presence of multibyte characters in symbol ++names, which are unusual and potentially dangerous. ++ + @end table + + The tool does support a couple of other command line options as well: +diff -rupN annobin.orig/gcc-plugin/Makefile.in annobin-9.87/gcc-plugin/Makefile.in +--- annobin.orig/gcc-plugin/Makefile.in 2021-11-10 14:34:16.368259498 +0000 ++++ annobin-9.87/gcc-plugin/Makefile.in 2021-11-10 14:35:15.951890479 +0000 +@@ -333,6 +333,7 @@ plugindir = @plugindir@ + prefix = @prefix@ + program_transform_name = @program_transform_name@ + psdir = @psdir@ ++runstatedir = @runstatedir@ + sbindir = @sbindir@ + sharedstatedir = @sharedstatedir@ + srcdir = @srcdir@ +diff -rupN annobin.orig/scripts/Makefile.in annobin-9.87/scripts/Makefile.in +--- annobin.orig/scripts/Makefile.in 2021-11-10 14:34:16.366259510 +0000 ++++ annobin-9.87/scripts/Makefile.in 2021-11-10 14:35:15.951890479 +0000 +@@ -284,6 +284,7 @@ plugindir = @plugindir@ + prefix = @prefix@ + program_transform_name = @program_transform_name@ + psdir = @psdir@ ++runstatedir = @runstatedir@ + sbindir = @sbindir@ + sharedstatedir = @sharedstatedir@ + srcdir = @srcdir@ +diff -rupN annobin.orig/tests/Makefile.am annobin-9.87/tests/Makefile.am +--- annobin.orig/tests/Makefile.am 2021-11-10 14:34:16.369259492 +0000 ++++ annobin-9.87/tests/Makefile.am 2021-11-10 14:35:15.951890479 +0000 +@@ -22,6 +22,7 @@ TESTS=compile-test \ + missing-notes-test \ + active-checks-test \ + property-note-test \ ++ unicode-test \ + hardening-fail-test + + if HAVE_DEBUGINFOD +diff -rupN annobin.orig/tests/Makefile.in annobin-9.87/tests/Makefile.in +--- annobin.orig/tests/Makefile.in 2021-11-10 14:34:16.369259492 +0000 ++++ annobin-9.87/tests/Makefile.in 2021-11-10 14:35:15.952890473 +0000 +@@ -459,6 +459,7 @@ plugindir = @plugindir@ + prefix = @prefix@ + program_transform_name = @program_transform_name@ + psdir = @psdir@ ++runstatedir = @runstatedir@ + sbindir = @sbindir@ + sharedstatedir = @sharedstatedir@ + srcdir = @srcdir@ +@@ -479,7 +480,7 @@ TESTS = compile-test abi-test active-che + hardening-test instrumentation-test lto-test \ + missing-notes-test objcopy-test section-size-test \ + missing-notes-test active-checks-test property-note-test \ +- hardening-fail-test $(am__append_1) ++ unicode-test hardening-fail-test $(am__append_1) + all: all-am + + .SUFFIXES: +@@ -764,6 +765,13 @@ property-note-test.log: property-note-te + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ + --log-file $$b.log --trs-file $$b.trs \ + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ ++ "$$tst" $(AM_TESTS_FD_REDIRECT) ++unicode-test.log: unicode-test ++ @p='unicode-test'; \ ++ b='unicode-test'; \ ++ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ ++ --log-file $$b.log --trs-file $$b.trs \ ++ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ + "$$tst" $(AM_TESTS_FD_REDIRECT) + debuginfod-test.log: debuginfod-test + @p='debuginfod-test'; \ +diff -rupN annobin.orig/tests/trick-hello.s annobin-9.87/tests/trick-hello.s +--- annobin.orig/tests/trick-hello.s 1970-01-01 01:00:00.000000000 +0100 ++++ annobin-9.87/tests/trick-hello.s 2021-11-10 14:35:15.947890504 +0000 +@@ -0,0 +1,33 @@ ++ .file "trick-hello.c" ++ .text ++ .section .rodata ++.LC0: ++ .string "hah, gotcha!" ++ .text ++ .globl he‮oll‬ ++ .type he‮oll‬, %function ++he‮oll‬: ++.LFB0: ++ nop ++.LFE0: ++ .size he‮oll‬, .-he‮oll‬ ++ .section .rodata ++.LC1: ++ .string "Hello world" ++ .text ++ .globl hello ++ .type hello, %function ++hello: ++.LFB1: ++ nop ++.LFE1: ++ .size hello, .-hello ++ .globl main ++ .type main, %function ++main: ++.LFB2: ++ nop ++.LFE2: ++ .size main, .-main ++ .ident "GCC: (GNU) 11.2.1 20210728 (Red Hat 11.2.1-1)" ++ .section .note.GNU-stack,"",%progbits +diff -rupN annobin.orig/tests/unicode-test annobin-9.87/tests/unicode-test +--- annobin.orig/tests/unicode-test 1970-01-01 01:00:00.000000000 +0100 ++++ annobin-9.87/tests/unicode-test 2021-11-10 14:35:15.947890504 +0000 +@@ -0,0 +1,45 @@ ++#!/bin/bash ++ ++# Copyright (c) 2021 Red Hat. ++# ++# This is free software; you can redistribute it and/or modify it ++# under the terms of the GNU General Public License as published ++# by the Free Software Foundation; either version 3, or (at your ++# option) any later version. ++# ++# It is distributed in the hope that it will be useful, but ++# WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++# GNU General Public License for more details. ++ ++TEST_NAME=unicode ++. $srcdir/common.sh ++ ++OPTS="-O2 -g -Wl,-z,now -pie -fpie" ++ ++start_test ++ ++$GCC $OPTS $srcdir/trick-hello.s -o trick-hello.exe ++if [ $? != 0 ]; ++then ++ echo "unicode-test: FAIL: Could not compile test source file" ++ end_test ++ exit 1 ++fi ++ ++# Run annocheck ++ ++OPTS="--ignore-gaps --skip-all --test-unicode" ++ ++$ANNOCHECK trick-hello.exe $OPTS > unicode.out ++grep -e "FAIL: unicode" unicode.out ++if [ $? != 0 ]; ++then ++ echo "unicode-test: FAIL: annocheck did not detect suspicious symbol names" ++ $ANNOCHECK trick-hello.exe $OPTS --verbose ++ end_test ++ exit 1 ++fi ++ ++end_test ++ From 5faade2ad7661ef54d905d47a3ec6bc73b6370f5 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 16 Nov 2021 11:14:14 +0000 Subject: [PATCH 097/361] Add support for more special glibc functions. Fix building LLVM and Clang plugins for the ARM architecture. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 8d823d9..ddf55f3 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.23 +Version: 10.24 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -496,6 +496,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Nov 15 2021 Nick Clifton - 10.24-1 +- Annocheck: Add exception for /usr/sbin/ldconfig. (#2022973) + * Mon Nov 08 2021 Nick Clifton - 10.23-1 - Annocheck: Add a test for unicode characters in identifiers. diff --git a/sources b/sources index da0318f..4654b1b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.23.tar.xz) = d00d33a9d9ead39f2b7927e232716bca1d21b5e25543b3b23ac0e43ae6e9b339f8145c006e3f14931de46c7c6d079adcba6e8015166249bbb2c14105169ebc95 +SHA512 (annobin-10.24.tar.xz) = bfbd60d0cbf7d927a6beeb5454d276de9afdce9afe2c32841f6942570eda39873e637bf3882d8f483d87c76a7ad691902083084f6483d97d046df1e05c515614 From cfbdb08f28fe0b6a867f38596a2aa6ee5a52451d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 16 Nov 2021 17:01:20 +0000 Subject: [PATCH 098/361] gcc-plugin: Revert 10.22 change. (#2023437) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index ddf55f3..e979ae3 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.24 +Version: 10.25 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -496,6 +496,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Nov 16 2021 Nick Clifton - 10.25-1 +- gcc-plugin: Revert 10.22 change. (#2023437) + * Mon Nov 15 2021 Nick Clifton - 10.24-1 - Annocheck: Add exception for /usr/sbin/ldconfig. (#2022973) diff --git a/sources b/sources index 4654b1b..eb8773d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.24.tar.xz) = bfbd60d0cbf7d927a6beeb5454d276de9afdce9afe2c32841f6942570eda39873e637bf3882d8f483d87c76a7ad691902083084f6483d97d046df1e05c515614 +SHA512 (annobin-10.25.tar.xz) = 8dbd3a052d56d2104f5a29fff7679a0acea45886fe43fa204f6e309e6c51dfa8859a91238ba44812578939a3d53af367e9e9672f7e607a150ff71acc7c5e168d From ddf58cca976f5c8ebdc4e314fbd458e01a05fd4b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 18 Nov 2021 13:29:22 +0000 Subject: [PATCH 099/361] gcc-plugin: Try another fix for ppc64le section grouping. (#2023437) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index e979ae3..1517eb0 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.25 +Version: 10.26 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -496,6 +496,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Nov 18 2021 Nick Clifton - 10.26-1 +- gcc-plugin: Try another fix for ppc64le section grouping. (#2023437) + * Tue Nov 16 2021 Nick Clifton - 10.25-1 - gcc-plugin: Revert 10.22 change. (#2023437) diff --git a/sources b/sources index eb8773d..6e5af8f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.25.tar.xz) = 8dbd3a052d56d2104f5a29fff7679a0acea45886fe43fa204f6e309e6c51dfa8859a91238ba44812578939a3d53af367e9e9672f7e607a150ff71acc7c5e168d +SHA512 (annobin-10.26.tar.xz) = bfea794990adf3121fb114e25f6e0287bb9676063c8b9edb226cbd683bff272510c4b967a332091403d44a3b0a1ea85d7c1b6651fec12d13dbe1021ba0a465bf From 9fd7a9a7dc5464088687933e5a6576b44f97cb22 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 19 Nov 2021 12:25:11 +0000 Subject: [PATCH 100/361] Annocheck: Skip missing fortify/warning notes for ARM32. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 1517eb0..f7b6381 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.26 +Version: 10.27 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -496,6 +496,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Nov 19 2021 Nick Clifton - 10.27-1 +- Annocheck: Skip missing fortify/warning notes for ARM32. + * Thu Nov 18 2021 Nick Clifton - 10.26-1 - gcc-plugin: Try another fix for ppc64le section grouping. (#2023437) diff --git a/sources b/sources index 6e5af8f..9b09e54 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.26.tar.xz) = bfea794990adf3121fb114e25f6e0287bb9676063c8b9edb226cbd683bff272510c4b967a332091403d44a3b0a1ea85d7c1b6651fec12d13dbe1021ba0a465bf +SHA512 (annobin-10.27.tar.xz) = 4345b668880e0fcc23ba64186d963dc836e68bca13711c934d0f58df5c5e198e1ddbea36e6f3b95a02e2667b291d5cec3f3b36cdaf7e108384560fb4624eacd5 From 14b9ff320e232900b56f5799154770fa60799c78 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 24 Nov 2021 14:03:50 +0000 Subject: [PATCH 101/361] gcc-plugin: Fix bug creating empty attachments. Annocheck: Change MAYB result to SKIP for DT_RPATH. (#2026300) --- annobin.spec | 6 +++++- sources | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index f7b6381..f104249 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.27 +Version: 10.29 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -496,6 +496,10 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Nov 24 2021 Nick Clifton - 10.29-1 +- gcc-plugin: Fix bug creating empty attachments. +- Annocheck: Change MAYB result to SKIP for DT_RPATH. (#2026300) + * Fri Nov 19 2021 Nick Clifton - 10.27-1 - Annocheck: Skip missing fortify/warning notes for ARM32. diff --git a/sources b/sources index 9b09e54..943e488 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.27.tar.xz) = 4345b668880e0fcc23ba64186d963dc836e68bca13711c934d0f58df5c5e198e1ddbea36e6f3b95a02e2667b291d5cec3f3b36cdaf7e108384560fb4624eacd5 +SHA512 (annobin-10.29.tar.xz) = 21b9ef999f2cb3b93aa24d5e71959d9573d782547e938ff90196d430c9ae9edab641c486068bd40eea6b4a1498cbcab88cec47dcb8b177f8874643415191bff1 From 3bf68f34bb08b05be366785049b8bfcee3edbb0f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 1 Dec 2021 15:53:49 +0000 Subject: [PATCH 102/361] Initial checkin of libannocheck --- annobin.spec | 7 ++++++- sources | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index f104249..5d79020 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.29 +Version: 10.30 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -489,6 +489,8 @@ fi %if %{with annocheck} %files annocheck +%{_includedir}/libannocheck.h +%{_libdir}/libannocheck.* %{_bindir}/annocheck %{_mandir}/man1/annocheck.1* %endif @@ -496,6 +498,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Dec 01 2021 Nick Clifton - 10.30-1 +- Annocheck: Initial deployment of libannocheck. + * Wed Nov 24 2021 Nick Clifton - 10.29-1 - gcc-plugin: Fix bug creating empty attachments. - Annocheck: Change MAYB result to SKIP for DT_RPATH. (#2026300) diff --git a/sources b/sources index 943e488..c113b44 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.29.tar.xz) = 21b9ef999f2cb3b93aa24d5e71959d9573d782547e938ff90196d430c9ae9edab641c486068bd40eea6b4a1498cbcab88cec47dcb8b177f8874643415191bff1 +SHA512 (annobin-10.30.tar.xz) = 4bcdfed0fbb1f35bcae940c10f252fea94c1072cd2b6b032bf6fc2a6eef4357ecd0a62ca1a73b0dd3cca659978b68dd6be6ce8cdab76d0133882ee9363c03a10 From c99cca3ac4623988daa1a01cfd9da873274b4db0 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 2 Dec 2021 15:38:52 +0000 Subject: [PATCH 103/361] Annocheck: Allow spaces in golang symbols. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 5d79020..8154dc1 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.30 +Version: 10.31 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -498,6 +498,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Dec 02 2021 Nick Clifton - 10.31-1 +- Annocheck: Allow spaces in golang symbols. + * Wed Dec 01 2021 Nick Clifton - 10.30-1 - Annocheck: Initial deployment of libannocheck. diff --git a/sources b/sources index c113b44..b6c2d1c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.30.tar.xz) = 4bcdfed0fbb1f35bcae940c10f252fea94c1072cd2b6b032bf6fc2a6eef4357ecd0a62ca1a73b0dd3cca659978b68dd6be6ce8cdab76d0133882ee9363c03a10 +SHA512 (annobin-10.31.tar.xz) = e1702652fef0b4acd57b96edba815154d6473023b120243f6d66b46bd5bcc3d46f33bbb3e64e27281028e857c8657cef0f4aa6c92a13c710943fab865bd5d6b8 From 4db2c31c2c8d5e1eeafed25ddfa2481c23914050 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 2 Dec 2021 16:03:34 +0000 Subject: [PATCH 104/361] Annocheck: allow spaces in golang symbols --- annobin-golang-spaces-in-symbols.patch | 13 +++++++++++++ annobin.spec | 6 +++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 annobin-golang-spaces-in-symbols.patch diff --git a/annobin-golang-spaces-in-symbols.patch b/annobin-golang-spaces-in-symbols.patch new file mode 100644 index 0000000..15be24b --- /dev/null +++ b/annobin-golang-spaces-in-symbols.patch @@ -0,0 +1,13 @@ +--- annobin.orig/annocheck/hardened.c 2021-12-02 15:27:27.325863983 +0000 ++++ annobin-9.87/annocheck/hardened.c 2021-12-02 15:28:03.915609648 +0000 +@@ -3108,6 +3108,10 @@ contains_suspicious_characters (const un + if (isgraph (c)) + continue; + ++ /* Golang allows spaces in some symbols. */ ++ if (c == ' ' && (per_file.lang == LANG_GO || (per_file.seen_tools & TOOL_GO))) ++ continue; ++ + /* Control characters are always suspect. So are spaces and DEL */ + if (iscntrl (c) || c == ' ' || c == 0x7f) + return true; diff --git a/annobin.spec b/annobin.spec index bc6bbfc..27ad742 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 9.79 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark # Maintainer: nickc@redhat.com @@ -58,6 +58,7 @@ Source: https://nickc.fedorapeople.org/annobin-%{version}.tar.xz # Insert patches here, if needed. Eg: Patch01: annobin.unicode.patch +Patch03: annobin-golang-spaces-in-symbols.patch #--------------------------------------------------------------------------------- @@ -325,6 +326,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Dec 02 2021 Nick Clifton - 9.79-4 +- Annocheck: Allow spaces in golang symbols. + * Wed Nov 10 2021 Nick Clifton - 9.79-3 - Annocheck: Add test for the presence of unicode characters in identifiers. (#2018850) From c7d76e06c2c2fbb0337b1320f3c5628586b994b4 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 6 Dec 2021 12:19:06 +0000 Subject: [PATCH 105/361] Annocheck: Ignore gaps in binaries at least partial built by golang. Resolves: #2028583 --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 8154dc1..2e4d507 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.31 +Version: 10.32 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -498,6 +498,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Dec 06 2021 Nick Clifton - 10.32-1 +- Annocheck: Ignore gaps in binaries at least partial built by golang. (#2028583) + * Thu Dec 02 2021 Nick Clifton - 10.31-1 - Annocheck: Allow spaces in golang symbols. diff --git a/sources b/sources index b6c2d1c..1d308d1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.31.tar.xz) = e1702652fef0b4acd57b96edba815154d6473023b120243f6d66b46bd5bcc3d46f33bbb3e64e27281028e857c8657cef0f4aa6c92a13c710943fab865bd5d6b8 +SHA512 (annobin-10.32.tar.xz) = b161f0753ebb1a9fa32531944597f37173ebe3d0de84acec123f642078cbfca10ac4b5044d03bfb98e706b6438359df80c1b50efff089a0ec52b36f4a7097e1b From ce231f4bd956bb0a670e3e29e1469bef6924eacd Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 6 Dec 2021 14:43:50 +0000 Subject: [PATCH 106/361] Tests: Fix gaps and stat tests to use newly built annobin plugin. (#2028063) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 2e4d507..608586c 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.32 +Version: 10.33 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -498,6 +498,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Dec 06 2021 Nick Clifton - 10.33-1 +- Tests: Fix gaps and stat tests to use newly built annobin plugin. (#2028063) + * Mon Dec 06 2021 Nick Clifton - 10.32-1 - Annocheck: Ignore gaps in binaries at least partial built by golang. (#2028583) diff --git a/sources b/sources index 1d308d1..5fbf684 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.32.tar.xz) = b161f0753ebb1a9fa32531944597f37173ebe3d0de84acec123f642078cbfca10ac4b5044d03bfb98e706b6438359df80c1b50efff089a0ec52b36f4a7097e1b +SHA512 (annobin-10.33.tar.xz) = b393be397e29dcac644634655e872fa934f254724ddc7eb17891b5086000f4ef31f165ec168b8219aa36e53e43d74f33c840704a2a463ba1577e047a96e2ad2d From d83b796c87179b5bb7bb32112a9f839bba530cef Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 6 Dec 2021 17:49:41 +0000 Subject: [PATCH 107/361] Tests: Fix gaps and stat tests to use newly built annobin plugin. (#2028063) --- annobin.spec | 4 ++-- sources | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 608586c..6993663 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.33 +Version: 10.34 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -498,7 +498,7 @@ fi #--------------------------------------------------------------------------------- %changelog -* Mon Dec 06 2021 Nick Clifton - 10.33-1 +* Mon Dec 06 2021 Nick Clifton - 10.34-1 - Tests: Fix gaps and stat tests to use newly built annobin plugin. (#2028063) * Mon Dec 06 2021 Nick Clifton - 10.32-1 diff --git a/sources b/sources index 5fbf684..fcb47e0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.33.tar.xz) = b393be397e29dcac644634655e872fa934f254724ddc7eb17891b5086000f4ef31f165ec168b8219aa36e53e43d74f33c840704a2a463ba1577e047a96e2ad2d +SHA512 (annobin-10.34.tar.xz) = df428d6a76ccde186b46a2af460a8f4f80ef8313a30e9ad2e8eeeab6b0bb997e9e6f0b10a2ce36fef0fa63591824bc868ca840e980bedab9775942ae41c82aa4 From 77a92a7119f6058a05c17cfe372ab78f2b297771 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 13 Dec 2021 12:55:43 +0000 Subject: [PATCH 108/361] Tests: Fix fortify and debuginfod tests to use newly built annobin plugin. --- annobin.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/annobin.spec b/annobin.spec index 6993663..e6e1820 100644 --- a/annobin.spec +++ b/annobin.spec @@ -498,6 +498,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Dec 13 2021 Nick Clifton - 10.35-1 +- Tests: Fix fortify and debuginfod tests to use newly built annobin plugin. + * Mon Dec 06 2021 Nick Clifton - 10.34-1 - Tests: Fix gaps and stat tests to use newly built annobin plugin. (#2028063) From 0e6be40a3ccf8208d2624e0c376ff514187ef523 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 13 Dec 2021 13:41:04 +0000 Subject: [PATCH 109/361] Tests: Fix fortify and debuginfod tests to use newly built annobin plugin. --- annobin.spec | 2 +- sources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index e6e1820..5cad0f0 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.34 +Version: 10.35 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com diff --git a/sources b/sources index fcb47e0..d163b8e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.34.tar.xz) = df428d6a76ccde186b46a2af460a8f4f80ef8313a30e9ad2e8eeeab6b0bb997e9e6f0b10a2ce36fef0fa63591824bc868ca840e980bedab9775942ae41c82aa4 +SHA512 (annobin-10.35.tar.xz) = 81b2277c55cb075e294ab1f44f7863e9893eb21e4ee67373d14fa1cfa63a50328f3dfde9ace637488fa5fd07f566d9fb869932df1f27b8360ecffd50c1eab2ed From 0c278a5d7377eaf21fce501849e29c7fd424ca22 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 13 Dec 2021 17:54:33 +0000 Subject: [PATCH 110/361] GCC Plugin: Do not record missing -mstackrealign in LTO mode. (#2030298) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 5cad0f0..b13dc7f 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.35 +Version: 10.36 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -498,6 +498,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Dec 13 2021 Nick Clifton - 10.36-1 +- GCC Plugin: Do not record missing -mstackrealign in LTO mode. (#2030298) + * Mon Dec 13 2021 Nick Clifton - 10.35-1 - Tests: Fix fortify and debuginfod tests to use newly built annobin plugin. diff --git a/sources b/sources index d163b8e..a8db7f8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.35.tar.xz) = 81b2277c55cb075e294ab1f44f7863e9893eb21e4ee67373d14fa1cfa63a50328f3dfde9ace637488fa5fd07f566d9fb869932df1f27b8360ecffd50c1eab2ed +SHA512 (annobin-10.36.tar.xz) = e4af0b132c8001ab2dec793f8aa12065a58e8eec6fe2f1df74d93760a95343c2305bc37130d13bbcfdea3617817df095d5ff859b3b2df58fee0fe6a165c33b29 From 7c94cb66cc3fd94871fc8bd25564dad8577ca36c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 14 Dec 2021 10:04:35 +0000 Subject: [PATCH 111/361] Annocheck: Do not complaining about missing -mstackrealign notes in LTO mode. (#2030298) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index b13dc7f..866395b 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.36 +Version: 10.37 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -498,6 +498,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Dec 14 2021 Nick Clifton - 10.37-1 +- Annocheck: Do not complaining about missing -mstackrealign notes in LTO mode. (#2030298) + * Mon Dec 13 2021 Nick Clifton - 10.36-1 - GCC Plugin: Do not record missing -mstackrealign in LTO mode. (#2030298) diff --git a/sources b/sources index a8db7f8..ac93035 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.36.tar.xz) = e4af0b132c8001ab2dec793f8aa12065a58e8eec6fe2f1df74d93760a95343c2305bc37130d13bbcfdea3617817df095d5ff859b3b2df58fee0fe6a165c33b29 +SHA512 (annobin-10.37.tar.xz) = fc6f45a4f728e5cc8fa644d8bba3b876bb24eec3c3b2e10240e8b9c3eb9f0472b80066ffc7bc174421958d9e45dc3189d0b7303c27f067874277a18b2003a072 From 15b34fde9cff205da0e282c309f4b72239851de9 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 14 Dec 2021 17:55:37 +0000 Subject: [PATCH 112/361] Fix for RHEL-7 --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 866395b..8616fc1 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.37 +Version: 10.38 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -498,6 +498,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Dec 14 2021 Nick Clifton - 10.38-1 +- Annocheck: Add special case for x86_64 RHEL-7 gaps. (#2031133) + * Tue Dec 14 2021 Nick Clifton - 10.37-1 - Annocheck: Do not complaining about missing -mstackrealign notes in LTO mode. (#2030298) diff --git a/sources b/sources index ac93035..3c3c686 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.37.tar.xz) = fc6f45a4f728e5cc8fa644d8bba3b876bb24eec3c3b2e10240e8b9c3eb9f0472b80066ffc7bc174421958d9e45dc3189d0b7303c27f067874277a18b2003a072 +SHA512 (annobin-10.38.tar.xz) = c03c4969e7ea83e6fe4275606c68607ea72d2c6d3d83acc01a32e1d076a066538b94f37e1e6b580922d0d96cfc68417754d964da5550685764bfca0186ea6b69 From ec8f2b145d9553a3477bc3dfafe19b0861f5514e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 17 Dec 2021 15:46:16 +0000 Subject: [PATCH 113/361] - Annocheck: Add /usr/lib/ld-linux-aarch64.so.1 to the list of known glibc binaries. (#2033255) - Doc: Note that ENDBR is only needed as the landing pad for indirect branches/calls. (#28705) - Spec File: Store full gcc version release string in plugin info file. (#2030671) --- annobin.spec | 25 ++++++++++++++++++++----- sources | 2 +- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/annobin.spec b/annobin.spec index 8616fc1..faea7be 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.38 +Version: 10.39 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -398,6 +398,17 @@ BUILD_FLAGS="$BUILD_FLAGS -fplugin=annobin -fplugin-arg-annobin-disable" make -C gcc-plugin CXXFLAGS="%{optflags} $BUILD_FLAGS" rm %{_tmppath}/tmp_annobin.so + +# Record the version of gcc that built this plugin. +mkdir -p %{buildroot}%{rrcdir} +rm -f %{buildroot}%{aver} +# Note - we cannot just store %%{gcc_vr} as sometimes the gcc rpm version changes +# without the NVR being altered. See BZ #2030671 for more discussion on this. +echo `rpm -q gcc --qf '%{version}-%{release}'` > %{buildroot}%{aver} +# Provide a more complete version information string on the second line. +# This is not used by the comparison logic, but makes the file more useful to humans. +echo "%{ANNOBIN_GCC_PLUGIN_DIR}/annobin.so.0.0.0 was built by gcc version %{gcc_vr} from the %{version} sources" >> %{buildroot}%{aver} + %endif %if %{with clangplugin} @@ -429,10 +440,9 @@ mv %{buildroot}/%{llvm_plugin_dir}/annobin-for-clang.so %{buildroot}/%{clang_plu # Record the version of gcc that built this plugin. mkdir -p %{buildroot}%{rrcdir} rm -f %{buildroot}%{aver} -# Note - the comparison logic in redhat-rpm-config's %%triggger macros require -# that the plugin builder information appear as "major.minor.revision-release", -# eg "11.2.1-1" on the first line of the version file. -echo %{gcc_vr} > %{buildroot}%{aver} +# Note - we cannot just store %%{gcc_vr} as sometimes the gcc rpm version changes +# without the NVR being altered. See BZ #2030671 for more discussion on this. +echo `rpm -q gcc --qf '%%{version}-%%{release}'` > %{buildroot}%{aver} # Provide a more complete version information string on the second line. # This is not used by the comparison logic, but makes the file more useful to humans. echo "%{ANNOBIN_GCC_PLUGIN_DIR}/annobin.so.0.0.0 was built by gcc version %{gcc_vr} from the %{version} sources" >> %{buildroot}%{aver} @@ -498,6 +508,11 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Dec 17 2021 Nick Clifton - 10.39-1 +- Annocheck: Add /usr/lib/ld-linux-aarch64.so.1 to the list of known glibc binaries. (#2033255) +- Doc: Note that ENDBR is only needed as the landing pad for indirect branches/calls. (#28705) +- Spec File: Store full gcc version release string in plugin info file. (#2030671) + * Tue Dec 14 2021 Nick Clifton - 10.38-1 - Annocheck: Add special case for x86_64 RHEL-7 gaps. (#2031133) diff --git a/sources b/sources index 3c3c686..7157b77 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.38.tar.xz) = c03c4969e7ea83e6fe4275606c68607ea72d2c6d3d83acc01a32e1d076a066538b94f37e1e6b580922d0d96cfc68417754d964da5550685764bfca0186ea6b69 +SHA512 (annobin-10.39.tar.xz) = 3905a9d7d57d9d588e158a9f43ba30c0774162b5078f2cfd88e907d2cd1dac0c8c0626d96bbf35ed8507dd4f733cfe324d21eb11125ec227141747fed3729af8 From b4ba4e0d3c30f24f45584b0c28e9ce2474c62918 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 4 Jan 2022 11:42:27 +0000 Subject: [PATCH 114/361] Annocheck: Do not complaining about missing stack clash notes if the compilation used LTO. (#2034946) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index faea7be..bf143b0 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.39 +Version: 10.40 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -508,6 +508,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Jan 04 2022 Nick Clifton - 10.34-1 +- Annocheck: Do not complaining about missing stack clash notes if the compilation used LTO. (#2034946) + * Fri Dec 17 2021 Nick Clifton - 10.39-1 - Annocheck: Add /usr/lib/ld-linux-aarch64.so.1 to the list of known glibc binaries. (#2033255) - Doc: Note that ENDBR is only needed as the landing pad for indirect branches/calls. (#28705) diff --git a/sources b/sources index 7157b77..32c0d23 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.39.tar.xz) = 3905a9d7d57d9d588e158a9f43ba30c0774162b5078f2cfd88e907d2cd1dac0c8c0626d96bbf35ed8507dd4f733cfe324d21eb11125ec227141747fed3729af8 +SHA512 (annobin-10.40.tar.xz) = 82940c7de617c0e3ff2499cca09c589077e36315b5ae61924cd80bda8a036ae5f9a8add639d73a81d7c31f21f123276d2fa2cae0e978f2b818609baf1e079230 From 1e262d15b35d5bcaf3d47689cd98e17277bfdb19 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 5 Jan 2022 12:06:02 +0000 Subject: [PATCH 115/361] - Annocheck: Ignore gaps that contain the _start symbol (for AArch64). (#1995224) - Annocheck: Ignore more glibc special binaries. (#2037220) --- annobin.spec | 8 ++++++-- sources | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index bf143b0..9780930 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.40 +Version: 10.41 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -508,7 +508,11 @@ fi #--------------------------------------------------------------------------------- %changelog -* Tue Jan 04 2022 Nick Clifton - 10.34-1 +* Wed Jan 05 2022 Nick Clifton - 10.41-1 +- Annocheck: Ignore gaps that contain the _start symbol (for AArch64). (#1995224) +- Annocheck: Ignore more glibc special binaries. (#2037220) + +* Tue Jan 04 2022 Nick Clifton - 10.40-1 - Annocheck: Do not complaining about missing stack clash notes if the compilation used LTO. (#2034946) * Fri Dec 17 2021 Nick Clifton - 10.39-1 diff --git a/sources b/sources index 32c0d23..4c3b3e4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.40.tar.xz) = 82940c7de617c0e3ff2499cca09c589077e36315b5ae61924cd80bda8a036ae5f9a8add639d73a81d7c31f21f123276d2fa2cae0e978f2b818609baf1e079230 +SHA512 (annobin-10.41.tar.xz) = ef3f60b20556c9ae8eb0aee960c0bf135033d6def89d28aebf8b77159ddcfc2e9a321c29124c16297517981fc16e41d4a729312ea9759725f6480d94e5dcb9ad From 0000a56eab898480821117d4461531a12f5cc4a8 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 5 Jan 2022 15:38:48 +0000 Subject: [PATCH 116/361] Annocheck: Extend list of known glibc functions. (#2037333) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 9780930..0948034 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.41 +Version: 10.42 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -508,6 +508,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Jan 05 2022 Nick Clifton - 10.42-1 +- Annocheck: Extend list of known glibc functions. (#2037333) + * Wed Jan 05 2022 Nick Clifton - 10.41-1 - Annocheck: Ignore gaps that contain the _start symbol (for AArch64). (#1995224) - Annocheck: Ignore more glibc special binaries. (#2037220) diff --git a/sources b/sources index 4c3b3e4..69cf47b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.41.tar.xz) = ef3f60b20556c9ae8eb0aee960c0bf135033d6def89d28aebf8b77159ddcfc2e9a321c29124c16297517981fc16e41d4a729312ea9759725f6480d94e5dcb9ad +SHA512 (annobin-10.42.tar.xz) = 16b5557cd323794105813d4e9c78f9e25b0d636ea42e40a4f485780f4d045365046eaf38be188945c3be880872a5fb809c47babee481e1a6d0fc5f43bab817bd From ee78766bff5f93ff834a7fa54550a4f8e869f7cb Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 7 Jan 2022 14:10:23 +0000 Subject: [PATCH 117/361] Annocheck: ARM: Do not fail tests that rely upon annobin notes. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 0948034..56e8643 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.42 +Version: 10.43 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -508,6 +508,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Jan 07 2022 Nick Clifton - 10.43-1 +- Annocheck: ARM: Do not fail tests that rely upon annobin notes. + * Wed Jan 05 2022 Nick Clifton - 10.42-1 - Annocheck: Extend list of known glibc functions. (#2037333) diff --git a/sources b/sources index 69cf47b..5c6a1a7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.42.tar.xz) = 16b5557cd323794105813d4e9c78f9e25b0d636ea42e40a4f485780f4d045365046eaf38be188945c3be880872a5fb809c47babee481e1a6d0fc5f43bab817bd +SHA512 (annobin-10.43.tar.xz) = 4a58e08508ad0376f873e286653bd20d7f197e443332095fafb373140df6a0980ced1f030e17baedd4892195e636e4485a41e2d0393180725cb72e125e6da136 From a14426ce956513d757a5d28e93dac7561873456d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 7 Jan 2022 15:09:37 +0000 Subject: [PATCH 118/361] Annocheck: Add even more glibc function names. (#2037333) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 56e8643..de04ae5 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.43 +Version: 10.44 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -508,6 +508,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Jan 07 2022 Nick Clifton - 10.44-1 +- Annocheck: Add even more glibc function names. (#2037333) + * Fri Jan 07 2022 Nick Clifton - 10.43-1 - Annocheck: ARM: Do not fail tests that rely upon annobin notes. diff --git a/sources b/sources index 5c6a1a7..698c327 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.43.tar.xz) = 4a58e08508ad0376f873e286653bd20d7f197e443332095fafb373140df6a0980ced1f030e17baedd4892195e636e4485a41e2d0393180725cb72e125e6da136 +SHA512 (annobin-10.44.tar.xz) = 6ffa1cc12332233ffdf9737b7c23046d9ce0c123991fe56562f42a7f17d063dbfdaa817b9fa8e433603e1e20fa7e5a52757091cd3748cd55ba2676de86fb1563 From c34a9f5bc53ceae98591fd1848648141cf63c655 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sun, 9 Jan 2022 20:08:02 +0100 Subject: [PATCH 119/361] 10.44-2 --- annobin.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index de04ae5..c053342 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.44 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -37,7 +37,7 @@ License: GPLv3+ # checking logic or when building on RHEL-7 or earlier. %global with_hard_gcc_version_requirement 1 -%bcond_without plugin_rebuild +%bcond_with plugin_rebuild # Allow the building of annobin without using annobin itself. # This is because if we are bootstrapping a new build environment we can have # a new version of gcc installed, but without a new of annobin installed. @@ -508,6 +508,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Sun Jan 09 2022 Jakub Jelinek - 10.44-2 +- Rebuild against new GCC. + * Fri Jan 07 2022 Nick Clifton - 10.44-1 - Annocheck: Add even more glibc function names. (#2037333) From 550ef1b763a1ed2b8daeeca88feb0565537cf260 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 10 Jan 2022 00:25:58 +0100 Subject: [PATCH 120/361] 10.44-2 --- annobin.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index c053342..82f84c0 100644 --- a/annobin.spec +++ b/annobin.spec @@ -35,7 +35,7 @@ License: GPLv3+ # Set this to zero to disable the requirement for a specific version of gcc. # This should only be needed if there is some kind of problem with the version # checking logic or when building on RHEL-7 or earlier. -%global with_hard_gcc_version_requirement 1 +%global with_hard_gcc_version_requirement 0 %bcond_with plugin_rebuild # Allow the building of annobin without using annobin itself. From ffabcb06f2c3a5e2646b60318b2664d8d458d0c7 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 10 Jan 2022 00:49:59 +0100 Subject: [PATCH 121/361] 10.44-3 --- annobin.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 82f84c0..2f929e6 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.44 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -35,9 +35,9 @@ License: GPLv3+ # Set this to zero to disable the requirement for a specific version of gcc. # This should only be needed if there is some kind of problem with the version # checking logic or when building on RHEL-7 or earlier. -%global with_hard_gcc_version_requirement 0 +%global with_hard_gcc_version_requirement 1 -%bcond_with plugin_rebuild +%bcond_without plugin_rebuild # Allow the building of annobin without using annobin itself. # This is because if we are bootstrapping a new build environment we can have # a new version of gcc installed, but without a new of annobin installed. @@ -508,6 +508,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Sun Jan 09 2022 Jakub Jelinek - 10.44-3 +- Rebuild against new GCC. + * Sun Jan 09 2022 Jakub Jelinek - 10.44-2 - Rebuild against new GCC. From a40c58d2d4abde72f4bd931aed4ec7ceb15e2078 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 10 Jan 2022 01:00:55 +0100 Subject: [PATCH 122/361] 10.44-4 --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 2f929e6..5a6f172 100644 --- a/annobin.spec +++ b/annobin.spec @@ -37,7 +37,7 @@ License: GPLv3+ # checking logic or when building on RHEL-7 or earlier. %global with_hard_gcc_version_requirement 1 -%bcond_without plugin_rebuild +%bcond_with plugin_rebuild # Allow the building of annobin without using annobin itself. # This is because if we are bootstrapping a new build environment we can have # a new version of gcc installed, but without a new of annobin installed. @@ -508,6 +508,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Sun Jan 09 2022 Jakub Jelinek - 10.44-4 +- Rebuild against new GCC. + * Sun Jan 09 2022 Jakub Jelinek - 10.44-3 - Rebuild against new GCC. From b097ccc79bff326f80b2888fbb306b023d984711 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 10 Jan 2022 01:01:41 +0100 Subject: [PATCH 123/361] 10.44-4 --- annobin.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 5a6f172..844a83d 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.44 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ From c53c5783da038d1164280e5bbd0c90c2dc5c6c5f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 10 Jan 2022 09:16:01 +0000 Subject: [PATCH 124/361] NVR bump and disable annobin during build --- annobin.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 844a83d..e9c17c5 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.44 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -53,7 +53,7 @@ License: GPLv3+ # uncommenting the lines below will result in annocheck not passing the rpminspect # tests.... # %%if %%{without plugin_rebuild} -# %%undefine _annotated_build +%undefine _annotated_build # %%endif #--------------------------------------------------------------------------------- From 244433eec3c9adf142a7629b09c39696c32f5e50 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 10 Jan 2022 09:33:18 +0000 Subject: [PATCH 125/361] GCC Plugin: Replace CLVC_BOOLEAN with CLVC_BIT_SET/CLVC_BIT_CLEAR. --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index e9c17c5..b74c9dc 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.44 -Release: 5%{?dist} +Version: 10.45 +Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -508,6 +508,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Jan 10 2022 Nick Clifton - 10.45-1 +- GCC Plugin: Replace CLVC_BOOLEAN with CLVC_BIT_SET/CLVC_BIT_CLEAR. + * Sun Jan 09 2022 Jakub Jelinek - 10.44-4 - Rebuild against new GCC. diff --git a/sources b/sources index 698c327..44eb27c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.44.tar.xz) = 6ffa1cc12332233ffdf9737b7c23046d9ce0c123991fe56562f42a7f17d063dbfdaa817b9fa8e433603e1e20fa7e5a52757091cd3748cd55ba2676de86fb1563 +SHA512 (annobin-10.45.tar.xz) = c129af7a66b120ecc2f00933c29217b65c4bc86c80b5ec89a08a80b6b4e21ac3eb752a87466325d71c5a9adacf8f98277b3429a6a7bff8cc2a0664471c027383 From efff188861bd6d859ac954f6a01dbca9bd52919f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 10 Jan 2022 12:02:15 +0000 Subject: [PATCH 126/361] Add fix for fortify test --- annobin.fortify-test.patch | 85 ++++++++++++++++++++++++++++++++++++++ annobin.spec | 2 +- 2 files changed, 86 insertions(+), 1 deletion(-) create mode 100644 annobin.fortify-test.patch diff --git a/annobin.fortify-test.patch b/annobin.fortify-test.patch new file mode 100644 index 0000000..4d419ac --- /dev/null +++ b/annobin.fortify-test.patch @@ -0,0 +1,85 @@ +--- annobin.orig/tests/fortify-test 2022-01-10 09:50:07.005146672 +0000 ++++ annobin-10.45/tests/fortify-test 2022-01-10 10:23:56.827404265 +0000 +@@ -37,30 +37,37 @@ fi + # Now add in our newly built plugin. + OPTS+=" -fplugin=$PLUGIN" + ++# For debugging purposes, generate a linker map as well. ++OPTS+=" -Wl,-Map,fortify-test.map" ++ + start_test + +-$GCC $OPTS -Wp,-U_FORTIFY_SOURCE -fno-lto $srcdir/main.c -o main.exe ++# Use atexit.c rather than main.c as it is bigger. ++COMMAND="$GCC $OPTS -Wp,-U_FORTIFY_SOURCE -fno-lto $srcdir/atexit.c -o fortify-test.exe" ++$COMMAND + if [ $? != 0 ]; + then + echo " $TEST_NAME: FAIL: unable to compile test file" +- echo " $TEST_NAME: compile command: $GCC $OPTS -Wp,-U_FORTIFY_SOURCE -fno-lto $srcdir/main.c -o main.exe" ++ echo " $TEST_NAME: command: $COMMAND" + end_test + exit 1 + fi + + # Run annocheck + +-SKIPS="--skip-cf-protection --skip-property-note --skip-stack-realign --skip-entry --skip-dynamic-tags --skip-lto --skip-warnings --skip-dynamic-tags --skip-not-dynamic-tags --skip-branch-protection --skip-not-branch-protection" +-$ANNOCHECK main.exe $SKIPS > main.out +-grep -e "Overall: FAIL" main.out ++SKIPS="--skip-all --test-fortify" ++A_COMMAND="$ANNOCHECK fortify-test.exe $SKIPS" ++$A_COMMAND > fortify-test.out ++grep -e "Overall: FAIL" fortify-test.out + if [ $? != 0 ]; + then + echo " $TEST_NAME: FAIL: compiling with -D_FORTIFY_SOURCE=2 still produces an executable that passes annocheck" +- echo " $TEST_NAME: compile command: $GCC $OPTS -Wp,-U_FORTIFY_SOURCE -fno-lto $srcdir/main.c -o main.exe" +- echo " $TEST_NAME: annocheck command: $ANNOCHECK main.exe $SKIPS" ++ echo " $TEST_NAME: compile command: $COMMAND" ++ echo " $TEST_NAME: annocheck command: $A_COMMAND" + echo " $TEST_NAME: annocheck output (with verbose enabled):" +- $ANNOCHECK main.exe $SKIPS --verbose +- uuencode main.exe main.exe ++ $A_COMMAND --verbose ++ uuencode fortify-test.exe fortify-test.exe ++ uuencode fortify-test.map fortify-test.map + end_test + exit 1 + fi +--- annobin.orig/gcc-plugin/annobin.cc 2022-01-10 09:50:06.991146761 +0000 ++++ annobin-10.45/gcc-plugin/annobin.cc 2022-01-10 11:31:49.507826587 +0000 +@@ -1,5 +1,5 @@ + /* annobin - a gcc plugin for annotating binary files. +- Copyright (c) 2017 - 2021 Red Hat. ++ Copyright (c) 2017 - 2022 Red Hat. + Created by Nick Clifton. + + This is free software; you can redistribute it and/or modify it +@@ -2485,6 +2485,7 @@ annobin_emit_end_symbol (const char * su + fprintf (asm_out_file, "\t.size %s%s, 0\n", annobin_current_endname, suffix); + annobin_inform (INFORM_VERBOSE, "Create symbol %s%s", annobin_current_endname, suffix); + ++#if 0 + /* If there is a bias to the start symbol, we can end up with the case where + the start symbol is after the end symbol. (If the section is empty). + Catch that and adjust the start symbol. This also pacifies eu-elflint +@@ -2509,7 +2510,8 @@ annobin_emit_end_symbol (const char * su + annobin_current_endname, suffix); + fprintf (asm_out_file, "\t.endif\n"); + } +- ++#endif ++ + fprintf (asm_out_file, "\t.popsection\n"); + } + +@@ -2774,7 +2776,7 @@ plugin_init (struct plugin_name_args * + solution is needed. */ + annobin_attach_type = group; + #if GCCPLUGIN_VERSION_MAJOR >= 11 +- if (target_start_sym_bias == 0) ++ /* if (target_start_sym_bias == 0)*/ + annobin_attach_type = link_order; + #endif + } diff --git a/annobin.spec b/annobin.spec index b74c9dc..cc10abc 100644 --- a/annobin.spec +++ b/annobin.spec @@ -66,7 +66,7 @@ Source: https://nickc.fedorapeople.org/%{annobin_sources} %global annobin_source_dir %{_usrsrc}/annobin # Insert patches here, if needed. Eg: -# Patch01: annobin-foo.patch +Patch01: annobin.fortify-test.patch #--------------------------------------------------------------------------------- From a6ef977e8bde6ae1053f6658f72b1f9b5f58cf88 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 14 Jan 2022 09:48:30 +0000 Subject: [PATCH 127/361] GCC Plugin: Only default to link-once when using gcc-12 or later. (#2039297) --- annobin.spec | 12 ++++++++++-- sources | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index cc10abc..12c9b68 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.45 +Version: 10.47 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -66,7 +66,7 @@ Source: https://nickc.fedorapeople.org/%{annobin_sources} %global annobin_source_dir %{_usrsrc}/annobin # Insert patches here, if needed. Eg: -Patch01: annobin.fortify-test.patch +# Patch01: annobin.foo.patch #--------------------------------------------------------------------------------- @@ -167,6 +167,7 @@ BuildRequires: elfutils-debuginfod-client-devel %endif Requires: %{name}-docs = %{version}-%{release} +Requires: cpio rpm %description annocheck Installs the annocheck program which uses the notes generated by annobin to @@ -508,6 +509,13 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Jan 14 2022 Nick Clifton - 10.47-1 +- Annocheck: Improve detection of kernel modules. +- GCC Plugin: Only default to link-once when using gcc-12 or later. (#2039297) + +* Tue Jan 11 2022 Nick Clifton - 10.46-1 +- Annocheck: Add option to disable instrumentation test. + * Mon Jan 10 2022 Nick Clifton - 10.45-1 - GCC Plugin: Replace CLVC_BOOLEAN with CLVC_BIT_SET/CLVC_BIT_CLEAR. diff --git a/sources b/sources index 44eb27c..895cdcf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.45.tar.xz) = c129af7a66b120ecc2f00933c29217b65c4bc86c80b5ec89a08a80b6b4e21ac3eb752a87466325d71c5a9adacf8f98277b3429a6a7bff8cc2a0664471c027383 +SHA512 (annobin-10.47.tar.xz) = 76a6d2b1390e862bddc485331ff4759333d9ce3c419ed264ba50d388c94bd6636ba64e12ba0b5f09f13284c9f4e1a88c40f660275067fbd801e11151007773e0 From 9816f993464f1fb3adc9c83ada7bc915636f69f0 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 14 Jan 2022 10:45:48 +0000 Subject: [PATCH 128/361] NVR bump to allow rebuild in a side tag. --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 12c9b68..a0982ec 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.47 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -509,6 +509,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Jan 14 2022 Nick Clifton - 10.47-2 +- NVR bump to allow rebuild in a side tag. + * Fri Jan 14 2022 Nick Clifton - 10.47-1 - Annocheck: Improve detection of kernel modules. - GCC Plugin: Only default to link-once when using gcc-12 or later. (#2039297) From 557b866dd0aab57079a421700efd5c0ad66df295 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 17 Jan 2022 14:38:17 +0000 Subject: [PATCH 129/361] GCC Plugin: Do not fail if a section cannot be attached to a group. --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index a0982ec..db6d1c3 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.47 -Release: 2%{?dist} +Version: 10.48 +Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -509,6 +509,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Jan 17 2022 Nick Clifton - 10.48-1 +- GCC Plugin: Do not fail if a section cannot be attached to a group. + * Fri Jan 14 2022 Nick Clifton - 10.47-2 - NVR bump to allow rebuild in a side tag. diff --git a/sources b/sources index 895cdcf..01c71c8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.47.tar.xz) = 76a6d2b1390e862bddc485331ff4759333d9ce3c419ed264ba50d388c94bd6636ba64e12ba0b5f09f13284c9f4e1a88c40f660275067fbd801e11151007773e0 +SHA512 (annobin-10.48.tar.xz) = e77af4e9aa6e4176b56e1afd3b9f60e2b1e3b89dde709a3a9ca320665b4b9eed87111aeb972ce1e1d9fd95183b7682102cf7fa02c51cec493f54cba44db6d2af From 449fc20654af74d134363dfa6d9e573bc26a8ce3 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 19 Jan 2022 13:56:59 +0000 Subject: [PATCH 130/361] NVR bump --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index db6d1c3..07b6781 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.48 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -509,6 +509,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Jan 19 2022 Nick Clifton - 10.48-2 +- NVR bump to allow rebuild in a side tag. + * Mon Jan 17 2022 Nick Clifton - 10.48-1 - GCC Plugin: Do not fail if a section cannot be attached to a group. From f7e180554312d1d0ab0985e0e8165bb08881deb7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 19 Jan 2022 14:25:39 +0000 Subject: [PATCH 131/361] Another NVR bump --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 07b6781..6605e23 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.48 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -509,6 +509,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Jan 19 2022 Nick Clifton - 10.48-3 +- NVR bump to allow rebuild in another side tag. + * Wed Jan 19 2022 Nick Clifton - 10.48-2 - NVR bump to allow rebuild in a side tag. From 7cf2a969739f385512b185c5266968df80eda074 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 19 Jan 2022 18:35:04 +0100 Subject: [PATCH 132/361] 10.48-4 --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 6605e23..4c823b5 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.48 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -509,6 +509,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Jan 19 2022 Jakub Jelinek - 10.48-4 +- NVR bump to allow rebuild in yet another side tag. + * Wed Jan 19 2022 Nick Clifton - 10.48-3 - NVR bump to allow rebuild in another side tag. From dfa29772c3b123c3defd988aba43330f8134fe65 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 19 Jan 2022 19:31:54 +0000 Subject: [PATCH 133/361] Another NVR bump --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 4c823b5..7b740b3 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.48 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -509,6 +509,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Jan 19 2022 Nick Clifton - 10.48-5 +- NVR bump to allow rebuild in another side tag. + * Wed Jan 19 2022 Jakub Jelinek - 10.48-4 - NVR bump to allow rebuild in yet another side tag. From 86fbdc98e6da62afa93fb3cdbab35eabd152e1c5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jan 2022 21:16:45 +0000 Subject: [PATCH 134/361] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 7b740b3..1e69a83 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.48 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -509,6 +509,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Jan 19 2022 Fedora Release Engineering - 10.48-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Wed Jan 19 2022 Nick Clifton - 10.48-5 - NVR bump to allow rebuild in another side tag. From 4852d3d782752c71e9bb308ba82849c46fbe9a91 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 20 Jan 2022 15:18:08 +0000 Subject: [PATCH 135/361] Annocheck: Skip property note test for GO binaries. (#204300) --- annobin.spec | 41 +++++++++++++---------------------------- sources | 2 +- 2 files changed, 14 insertions(+), 29 deletions(-) diff --git a/annobin.spec b/annobin.spec index 1e69a83..a3bbce9 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.48 -Release: 6%{?dist} +Version: 10.49 +Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -238,14 +238,8 @@ Requires: (gcc >= %{gcc_major} with gcc < %{gcc_next}) Requires: gcc %endif -# The next line has been stolen from redhat-rpm-config.spec. -# We install a version info file into this directory, rather than gcc's plugin -# directory, because there is no reliable way for redhat-rpm-config to -# determine the name of gcc's plugin directory. -%global rrcdir /usr/lib/rpm/redhat - # Information about the gcc plugin is recorded in this file. -%global aver %{rrcdir}/annobin-plugin-version-info +%global aver annobin-plugin-version-info %description plugin-gcc Installs an annobin plugin that can be used by gcc. @@ -399,17 +393,6 @@ BUILD_FLAGS="$BUILD_FLAGS -fplugin=annobin -fplugin-arg-annobin-disable" make -C gcc-plugin CXXFLAGS="%{optflags} $BUILD_FLAGS" rm %{_tmppath}/tmp_annobin.so - -# Record the version of gcc that built this plugin. -mkdir -p %{buildroot}%{rrcdir} -rm -f %{buildroot}%{aver} -# Note - we cannot just store %%{gcc_vr} as sometimes the gcc rpm version changes -# without the NVR being altered. See BZ #2030671 for more discussion on this. -echo `rpm -q gcc --qf '%{version}-%{release}'` > %{buildroot}%{aver} -# Provide a more complete version information string on the second line. -# This is not used by the comparison logic, but makes the file more useful to humans. -echo "%{ANNOBIN_GCC_PLUGIN_DIR}/annobin.so.0.0.0 was built by gcc version %{gcc_vr} from the %{version} sources" >> %{buildroot}%{aver} - %endif %if %{with clangplugin} @@ -422,6 +405,7 @@ cp llvm-plugin/annobin-for-llvm.so %{_tmppath}/tmp_annobin.so make -C llvm-plugin all CXXFLAGS="%{optflags} $BUILD_FLAGS" %endif +# endif for %%if {with_lugin_rebuild} %endif #--------------------------------------------------------------------------------- @@ -439,14 +423,10 @@ mv %{buildroot}/%{llvm_plugin_dir}/annobin-for-clang.so %{buildroot}/%{clang_plu %if %{with gccplugin} # Record the version of gcc that built this plugin. -mkdir -p %{buildroot}%{rrcdir} -rm -f %{buildroot}%{aver} # Note - we cannot just store %%{gcc_vr} as sometimes the gcc rpm version changes # without the NVR being altered. See BZ #2030671 for more discussion on this. -echo `rpm -q gcc --qf '%%{version}-%%{release}'` > %{buildroot}%{aver} -# Provide a more complete version information string on the second line. -# This is not used by the comparison logic, but makes the file more useful to humans. -echo "%{ANNOBIN_GCC_PLUGIN_DIR}/annobin.so.0.0.0 was built by gcc version %{gcc_vr} from the %{version} sources" >> %{buildroot}%{aver} +mkdir -p %{buildroot}/%{ANNOBIN_GCC_PLUGIN_DIR} +cat `gcc --print-file-name=rpmver` > %{buildroot}/%{ANNOBIN_GCC_PLUGIN_DIR}/%{aver} # Also install a copy of the sources into the build tree. mkdir -p %{buildroot}%{annobin_source_dir} @@ -493,8 +473,10 @@ fi %if %{with gccplugin} %files plugin-gcc -%{ANNOBIN_GCC_PLUGIN_DIR} -%{aver} +%{ANNOBIN_GCC_PLUGIN_DIR}/annobin.so +%{ANNOBIN_GCC_PLUGIN_DIR}/annobin.so.0 +%{ANNOBIN_GCC_PLUGIN_DIR}/annobin.so.0.0.0 +%{ANNOBIN_GCC_PLUGIN_DIR}/%{aver} %{annobin_source_dir}/latest-annobin.tar.xz %endif @@ -509,6 +491,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Jan 20 2022 Nick Clifton - 10.49-1 +- Annocheck: Skip property note test for GO binaries. (#204300) + * Wed Jan 19 2022 Fedora Release Engineering - 10.48-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 01c71c8..22ee8f0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.48.tar.xz) = e77af4e9aa6e4176b56e1afd3b9f60e2b1e3b89dde709a3a9ca320665b4b9eed87111aeb972ce1e1d9fd95183b7682102cf7fa02c51cec493f54cba44db6d2af +SHA512 (annobin-10.49.tar.xz) = f1c1f29a1b7dcda2ed95a2090ea8e273164c34dc75397d68d0ecda1639d9da2985bc516982bab3e85357a5c6ee7084039c90355575c3625e46b09ebb8295d878 From a6710fda16d2d2694a3720e8bc1148a148b3d240 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 20 Jan 2022 16:20:57 +0000 Subject: [PATCH 136/361] Annocheck: Add another glibc static library symbol. (#2043047) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index a3bbce9..550b68a 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.49 +Version: 10.50 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -491,6 +491,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Jan 20 2022 Nick Clifton - 10.50-1 +- Annocheck: Add another glibc static library symbol. (#2043047) + * Thu Jan 20 2022 Nick Clifton - 10.49-1 - Annocheck: Skip property note test for GO binaries. (#204300) diff --git a/sources b/sources index 22ee8f0..d5854a3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.49.tar.xz) = f1c1f29a1b7dcda2ed95a2090ea8e273164c34dc75397d68d0ecda1639d9da2985bc516982bab3e85357a5c6ee7084039c90355575c3625e46b09ebb8295d878 +SHA512 (annobin-10.50.tar.xz) = cb0f8a5c2b02c5039387f73911b9ea83336523696950988efe206c60bf27f83962ce118f7cc99998a4410411b5f2b738c3dbccd614468c20b8987f72ebfa2e1b From 8e76478b1dba61d816cba1bce51c0812dda13d15 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 25 Jan 2022 15:42:19 +0000 Subject: [PATCH 137/361] Annocheck: Add an option to disable the use of debuginfod (if available). Annocheck: Add more glibc special file names. Annocheck: Skip some tests for BPF binaries. --- annobin.spec | 7 ++++++- sources | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 550b68a..63c7e71 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.50 +Version: 10.51 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -491,6 +491,11 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Jan 25 2022 Nick Clifton - 10.51-1 +- Annocheck: Add an option to disable the use of debuginfod (if available). +- Annocheck: Add more glibc special file names. +- Annocheck: Skip some tests for BPF binaries. + * Thu Jan 20 2022 Nick Clifton - 10.50-1 - Annocheck: Add another glibc static library symbol. (#2043047) diff --git a/sources b/sources index d5854a3..d8c1cb2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.50.tar.xz) = cb0f8a5c2b02c5039387f73911b9ea83336523696950988efe206c60bf27f83962ce118f7cc99998a4410411b5f2b738c3dbccd614468c20b8987f72ebfa2e1b +SHA512 (annobin-10.51.tar.xz) = 33a2ff4ad59183057b1347f8914ec10152688f72946ee16062eb8d58c2af3d4c5ccb74757244191f4c8df560ac345fe46cb7be6cb6b2eda32bf154254a7ff2f1 From 8c2f473929e225a12cda78c15377ceb5fa75625e Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 27 Jan 2022 10:29:49 +0100 Subject: [PATCH 138/361] Rebuild for new gcc version --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 63c7e71..adb1eec 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.51 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -491,6 +491,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Jan 27 2022 Florian Weimer - 10.51-2 +- Rebuild for new gcc version + * Tue Jan 25 2022 Nick Clifton - 10.51-1 - Annocheck: Add an option to disable the use of debuginfod (if available). - Annocheck: Add more glibc special file names. From 9cdecda9e38f791f6f43658343fa91edb0684f89 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 27 Jan 2022 13:09:45 +0000 Subject: [PATCH 139/361] gcc-plugin: Use canonical_option field of save_decoded_options array. (#2047148) --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index adb1eec..434d36f 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.51 -Release: 2%{?dist} +Version: 10.52 +Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -491,6 +491,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Jan 27 2022 Nick Clifton - 10.52-1 +- gcc-plugin: Use canonical_option field of save_decoded_options array. (#2047148) + * Thu Jan 27 2022 Florian Weimer - 10.51-2 - Rebuild for new gcc version diff --git a/sources b/sources index d8c1cb2..3fba616 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.51.tar.xz) = 33a2ff4ad59183057b1347f8914ec10152688f72946ee16062eb8d58c2af3d4c5ccb74757244191f4c8df560ac345fe46cb7be6cb6b2eda32bf154254a7ff2f1 +SHA512 (annobin-10.52.tar.xz) = a4e05a2bec3659028baf8ad30d7bded32d82dcc75d945aca8b67ebb5809e61b8162980bb9b2edb43343b0d4d79cdc590670db25d787d77294f44b3c7eb0737ab From 21338bea370e9d73d30bd588cd8a46f9c993f661 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 27 Jan 2022 16:56:19 +0000 Subject: [PATCH 140/361] Borrow a patch from the GCC package to stop libtool from inserting needless runpaths into binaries. (#2030667) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 434d36f..7108d58 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.52 +Version: 10.53 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -491,6 +491,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Jan 27 2022 Nick Clifton - 10.53-1 +- gcc-plugin: Fix libtool so that extraneous runpaths are not added to the plugin. (#2030667) + * Thu Jan 27 2022 Nick Clifton - 10.52-1 - gcc-plugin: Use canonical_option field of save_decoded_options array. (#2047148) diff --git a/sources b/sources index 3fba616..7530ff1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.52.tar.xz) = a4e05a2bec3659028baf8ad30d7bded32d82dcc75d945aca8b67ebb5809e61b8162980bb9b2edb43343b0d4d79cdc590670db25d787d77294f44b3c7eb0737ab +SHA512 (annobin-10.53.tar.xz) = e370b48f79c31d19a9d48f0e7ce608f6b79f8e15559bc165118ca473fe40e540e5087d5c965706bad73a78a3c74557c259586d16151231a94dc6cb870478a48d From 5b4731b0ac32d9e8708cc5680ff944f62e94fbae Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sun, 6 Feb 2022 17:45:26 +0100 Subject: [PATCH 141/361] 10.53-2 --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 7108d58..d40df36 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.53 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -491,6 +491,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Sun Feb 06 2022 Jakub Jelinek - 10.53-2 +- NVR bump to allow rebuild in yet another side tag. + * Thu Jan 27 2022 Nick Clifton - 10.53-1 - gcc-plugin: Fix libtool so that extraneous runpaths are not added to the plugin. (#2030667) From 41efc42594df95cee2e809e349068717512918ec Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 11 Feb 2022 15:26:15 +0000 Subject: [PATCH 142/361] annocheck: skip PIE and PIC tests for GO binaries --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index d40df36..587a14c 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.53 -Release: 2%{?dist} +Version: 10.54 +Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -491,6 +491,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Feb 11 2022 Nick Clifton - 10.54-1 +- Annocheck: Skip PIE anf PIC tests for GO binaries. + * Sun Feb 06 2022 Jakub Jelinek - 10.53-2 - NVR bump to allow rebuild in yet another side tag. diff --git a/sources b/sources index 7530ff1..d4007d1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.53.tar.xz) = e370b48f79c31d19a9d48f0e7ce608f6b79f8e15559bc165118ca473fe40e540e5087d5c965706bad73a78a3c74557c259586d16151231a94dc6cb870478a48d +SHA512 (annobin-10.54.tar.xz) = e40a4c2f142b4a89e37e113659da97627e108811820867c863d2e52a8da50897cca2e7ab6352f5484d882f3896f254b1717c47cb805f5c3dab0fb0e7eba3fe21 From 4f1eb1f73af3fe47abf6fa87b82ac8b6baac0d49 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 14 Feb 2022 10:10:40 +0100 Subject: [PATCH 143/361] 10.54-2 --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 587a14c..424eea3 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.54 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -491,6 +491,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Feb 14 2022 Jakub Jelinek - 10.54-2 +- NVR bump to allow rebuild for new GCC. + * Fri Feb 11 2022 Nick Clifton - 10.54-1 - Annocheck: Skip PIE anf PIC tests for GO binaries. From 1b6c8e58c57c5f4d34b94e1c085ff4a523d03d77 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 16 Feb 2022 12:49:47 +0000 Subject: [PATCH 144/361] Spec File: Use a different method to disable the annobin plugin (#2054571) --- annobin.spec | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/annobin.spec b/annobin.spec index 424eea3..d0d05eb 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.54 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -66,7 +66,7 @@ Source: https://nickc.fedorapeople.org/%{annobin_sources} %global annobin_source_dir %{_usrsrc}/annobin # Insert patches here, if needed. Eg: -# Patch01: annobin.foo.patch +# Patch01: annobin-foo.patch #--------------------------------------------------------------------------------- @@ -284,14 +284,12 @@ Installs an annobin plugin that can be used by Clang. %global ANNOBIN_GCC_PLUGIN_DIR %(gcc --print-file-name=plugin) -%{!?llvm_version:%global llvm_version 12.0.1} -%{!?llvm_plugin_dir:%global llvm_plugin_dir %{_libdir}/llvm/%{llvm_version}} -%{!?clang_plugin_dir:%global clang_plugin_dir %{_libdir}/clang/%{llvm_version}} +%{!?llvm_plugin_dir:%global llvm_plugin_dir %{_libdir}/llvm/plugins} +%{!?clang_plugin_dir:%global clang_plugin_dir %{_libdir}/clang/plugins} #--------------------------------------------------------------------------------- %prep - if [ -z "%{gcc_vr}" ]; then echo "*** Missing gcc_vr spec file macro, cannot continue." >&2 exit 1 @@ -379,33 +377,27 @@ make -C gcc-plugin clean BUILD_FLAGS="-fplugin=%{_tmppath}/tmp_annobin.so" # Disable the standard annobin plugin so that we do get conflicts. -# Note: the "-fplugin=annobin" is here, despite the fact that it will also -# be automatically added to the gcc command line via -# "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" because of a bug in gcc's -# plugin command line options handling. GCC will issue an error saying that -# there is no plugin called "annobin" matching the -fplugin-arg-annobin-disable -# option, despite the fact that there patently is. -BUILD_FLAGS="$BUILD_FLAGS -fplugin=annobin -fplugin-arg-annobin-disable" +OPTS="$(rpm --eval '%undefine _annotated_build %build_cflags %build_ldflags')" # If building on systems with an assembler that does not support the # .attach_to_group pseudo op (eg RHEL-7) then enable the next line. # BUILD_FLAGS="$BUILD_FLAGS -fplugin-arg-tmp_annobin-no-attach" -make -C gcc-plugin CXXFLAGS="%{optflags} $BUILD_FLAGS" +make -C gcc-plugin CXXFLAGS="$OPTS $BUILD_FLAGS" rm %{_tmppath}/tmp_annobin.so %endif %if %{with clangplugin} cp clang-plugin/annobin-for-clang.so %{_tmppath}/tmp_annobin.so -make -C clang-plugin all CXXFLAGS="%{optflags} $BUILD_FLAGS" +make -C clang-plugin all CXXFLAGS="$OPTS $BUILD_FLAGS" %endif %if %{with llvmplugin} cp llvm-plugin/annobin-for-llvm.so %{_tmppath}/tmp_annobin.so -make -C llvm-plugin all CXXFLAGS="%{optflags} $BUILD_FLAGS" +make -C llvm-plugin all CXXFLAGS="$OPTS $BUILD_FLAGS" %endif -# endif for %%if {with_lugin_rebuild} +# endif for %%if {with_plugin_rebuild} %endif #--------------------------------------------------------------------------------- @@ -491,6 +483,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Feb 16 2022 Nick Clifton - 10.54-3 +- Spec File: Use a different method to disable the annobin plugin (#2054571) + * Mon Feb 14 2022 Jakub Jelinek - 10.54-2 - NVR bump to allow rebuild for new GCC. From 43a0cd19e4337ce17a3e6de1ce7ad81cc90af630 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 24 Feb 2022 14:53:49 +0100 Subject: [PATCH 145/361] 10.54-4 --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index d0d05eb..984e510 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.54 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -483,6 +483,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Feb 24 2022 Jakub Jelinek - 10.54-4 +- NVR bump to allow rebuild for new GCC. + * Wed Feb 16 2022 Nick Clifton - 10.54-3 - Spec File: Use a different method to disable the annobin plugin (#2054571) From d6d59a73a8abb3044c40bd30230d724bb027585f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 28 Feb 2022 11:53:01 +0000 Subject: [PATCH 146/361] Always identify Rust binaries, even if built on a host that does not know about Rust. Resolves: #2057737 --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 984e510..a2e5082 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.54 -Release: 4%{?dist} +Version: 10.55 +Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -483,6 +483,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Feb 28 2022 Nick Clifton - 10.55-1 +- Always identify Rust binaries, even if built on a host that does not know about Rust. (#2057737) + * Thu Feb 24 2022 Jakub Jelinek - 10.54-4 - NVR bump to allow rebuild for new GCC. diff --git a/sources b/sources index d4007d1..907ddd0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.54.tar.xz) = e40a4c2f142b4a89e37e113659da97627e108811820867c863d2e52a8da50897cca2e7ab6352f5484d882f3896f254b1717c47cb805f5c3dab0fb0e7eba3fe21 +SHA512 (annobin-10.55.tar.xz) = 3b151f3ed6e75c01415d865f64e0a55315d6c909996299e3f46120949411c50150387b8ce50e552a0f2414046a45fc0136d488ef3c753d33c683b65df1e406b8 From c9b3e0dcfee9a7a227d4017f59e0a0ed7cdb5746 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 4 Mar 2022 17:29:15 +0000 Subject: [PATCH 147/361] Annocheck: Add option to enable/disable following symbolic links. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index a2e5082..7f5d920 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.55 +Version: 10.56 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -483,6 +483,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Mar 04 2022 Nick Clifton - 10.56-1 +- Annocheck: Add option to enable/disable following symbolic links. + * Mon Feb 28 2022 Nick Clifton - 10.55-1 - Always identify Rust binaries, even if built on a host that does not know about Rust. (#2057737) diff --git a/sources b/sources index 907ddd0..2660e4c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.55.tar.xz) = 3b151f3ed6e75c01415d865f64e0a55315d6c909996299e3f46120949411c50150387b8ce50e552a0f2414046a45fc0136d488ef3c753d33c683b65df1e406b8 +SHA512 (annobin-10.56.tar.xz) = 92579a757e75e498fecc71b9c26cf847a205bfe44f216a8a368cb026b2b984774bb74a5ab2970a6ae3a453376d9b55c981c64950970717b42680324ae312e1bc From ac454f15f0cfab412862de7d69a8c4176e17a6b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Kadl=C4=8D=C3=ADk?= Date: Mon, 7 Mar 2022 10:19:22 +0100 Subject: [PATCH 148/361] Fix a typo in a gating test --- .../runtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh b/tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh index cd4ae94..d15547c 100755 --- a/tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh +++ b/tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh @@ -39,5 +39,5 @@ rlJournalStart rlRun "rpm -qf /usr/lib64/libstdc++.so*" rlRun "annocheck --skip-all /usr/lib64/libstdc++.so*" rlPhaseEnd -lJournalPrintText +rlJournalPrintText rlJournalEnd From 1301bfec6a160df7faea600a0818b611914cddae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Kadl=C4=8D=C3=ADk?= Date: Mon, 7 Mar 2022 10:40:58 +0100 Subject: [PATCH 149/361] Adapt a gating test to annobin 10.56 Since 10.56, annocheck needs to be told how to handle symlinks. This particular test was developed for the "follow symlinks" behaviour so let's add --follow-links. However, while being here, checking on the other code path wouldn't hurt so let's look at it, too. --- .../runtest.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh b/tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh index d15547c..6603c3c 100755 --- a/tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh +++ b/tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh @@ -37,7 +37,8 @@ rlJournalStart # rules / policies, and the surrounding OS will evolve too. This test # shouldn't report false positives though. rlRun "rpm -qf /usr/lib64/libstdc++.so*" - rlRun "annocheck --skip-all /usr/lib64/libstdc++.so*" + rlRun "annocheck --follow-links --skip-all /usr/lib64/libstdc++.so*" + rlRun "annocheck --ignore-links --skip-all /usr/lib64/libstdc++.so*" rlPhaseEnd rlJournalPrintText rlJournalEnd From c712a9f799c2dc0227486490ca4988d0da65fda3 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 7 Mar 2022 12:29:47 +0000 Subject: [PATCH 150/361] Annocheck: Update documentation and fix typo in annocheck. (#2061291) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 7f5d920..055b4bb 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.56 +Version: 10.57 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -483,6 +483,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Mar 07 2022 Nick Clifton - 10.57-1 +- Annocheck: Update documentation and fix typo in annocheck. (#2061291) + * Fri Mar 04 2022 Nick Clifton - 10.56-1 - Annocheck: Add option to enable/disable following symbolic links. diff --git a/sources b/sources index 2660e4c..7468bf5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.56.tar.xz) = 92579a757e75e498fecc71b9c26cf847a205bfe44f216a8a368cb026b2b984774bb74a5ab2970a6ae3a453376d9b55c981c64950970717b42680324ae312e1bc +SHA512 (annobin-10.57.tar.xz) = c4fb30cbb5dff15bd1dd38797785bd4f1a9de1e047436d598368847e3f250cd7e467b3fc4ea2c013ab22764e06aab899d0a1bea3c465b0b29e363b73de20e86f From 6cdacc7a723899fe42e0ea62a754e5c2c391c5fc Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 9 Mar 2022 15:28:56 +0100 Subject: [PATCH 151/361] 10.57-2 --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 055b4bb..6839557 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.57 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -483,6 +483,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Mar 09 2022 Jakub Jelinek - 10.57-2 +- NVR bump to allow rebuild for new GCC. + * Mon Mar 07 2022 Nick Clifton - 10.57-1 - Annocheck: Update documentation and fix typo in annocheck. (#2061291) From d5f69acf327adadf9078a537f03150bf163a7b6d Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 9 Mar 2022 19:31:39 +0100 Subject: [PATCH 152/361] 10.57-3 --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 6839557..036f357 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.57 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -483,6 +483,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Mar 09 2022 Jakub Jelinek - 10.57-3 +- NVR bump to allow rebuild for new GCC. + * Wed Mar 09 2022 Jakub Jelinek - 10.57-2 - NVR bump to allow rebuild for new GCC. From 14685185f1e082988bd34a4e91f495a934cca904 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 14 Mar 2022 11:53:08 +0000 Subject: [PATCH 153/361] gcc-plugin: Do not issue warning messages for autoconf generated source files. (#2009958) --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 036f357..1a6c175 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.57 -Release: 3%{?dist} +Version: 10.58 +Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -483,6 +483,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Mar 14 2022 Nick Clifton - 10.58-1 +- gcc-plugin: Do not issue warning messages for autoconf generated source files. (#2009958) + * Wed Mar 09 2022 Jakub Jelinek - 10.57-3 - NVR bump to allow rebuild for new GCC. diff --git a/sources b/sources index 7468bf5..335bcf6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.57.tar.xz) = c4fb30cbb5dff15bd1dd38797785bd4f1a9de1e047436d598368847e3f250cd7e467b3fc4ea2c013ab22764e06aab899d0a1bea3c465b0b29e363b73de20e86f +SHA512 (annobin-10.58.tar.xz) = 7d40fe9ddbee788db3331ec138aa588936d726ec50e0286b23be3792f20c2fc111c635b70598e0d8b6ba24a92de514fc637d5cea6b9d7781de781fbf244dfbd8 From 8ee18a899b620018a3018b02ddbdd30eeb0552b3 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 30 Mar 2022 11:49:43 +0100 Subject: [PATCH 154/361] Fix bug in annocheck's AArch64 property note test. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 1a6c175..0810957 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.58 +Version: 10.59 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -483,6 +483,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Mar 30 2022 Nick Clifton - 10.59-1 +- Annocheck: Fix test for AArch64 property notes. (#2068657) + * Mon Mar 14 2022 Nick Clifton - 10.58-1 - gcc-plugin: Do not issue warning messages for autoconf generated source files. (#2009958) diff --git a/sources b/sources index 335bcf6..08e29fd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.58.tar.xz) = 7d40fe9ddbee788db3331ec138aa588936d726ec50e0286b23be3792f20c2fc111c635b70598e0d8b6ba24a92de514fc637d5cea6b9d7781de781fbf244dfbd8 +SHA512 (annobin-10.59.tar.xz) = 3c723eeac6f9435d6b74033cf4b057327a171ab488922e95c10a6c016a5086b0076795f305c0b3b7337b881e6276351dc5e15f8f23e0ae297aa70a81f1ef6dab From 8b1a765248fcc995a5f926f038d98367d1b97eb8 Mon Sep 17 00:00:00 2001 From: sergesanspaille Date: Wed, 30 Mar 2022 16:21:21 +0200 Subject: [PATCH 155/361] Rebuilt against new LLVM release, with patch. --- 0001-Compatibility-patch-for-llvm14.patch | 42 +++++++++++++++++++++++ annobin.spec | 6 +++- 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 0001-Compatibility-patch-for-llvm14.patch diff --git a/0001-Compatibility-patch-for-llvm14.patch b/0001-Compatibility-patch-for-llvm14.patch new file mode 100644 index 0000000..c4d260e --- /dev/null +++ b/0001-Compatibility-patch-for-llvm14.patch @@ -0,0 +1,42 @@ +From f278b500124ee9d49cb990f6a0333b28794fddb1 Mon Sep 17 00:00:00 2001 +From: sergesanspaille +Date: Wed, 30 Mar 2022 16:07:17 +0200 +Subject: [PATCH] Compatibility patch for llvm14 + +--- + llvm-plugin/annobin.cpp | 11 ++++++++--- + 1 file changed, 8 insertions(+), 3 deletions(-) + +diff --git a/llvm-plugin/annobin.cpp b/llvm-plugin/annobin.cpp +index a119ab9..6a43580 100644 +--- a/llvm-plugin/annobin.cpp ++++ b/llvm-plugin/annobin.cpp +@@ -484,9 +484,14 @@ namespace + + struct AnnobinModulePass : llvm::PassInfoMixin + { +- llvm::PassBuilder::OptimizationLevel OptLevel; ++#if __clang_major__ > 13 ++ using OptimizationLevel = llvm::OptimizationLevel; ++#else ++ using OptimizationLevel = llvm::PassBuilder::OptimizationLevel; ++#endif ++ OptimizationLevel OptLevel; + +- AnnobinModulePass(llvm::PassBuilder::OptimizationLevel OptLevel) : OptLevel(OptLevel) {} ++ AnnobinModulePass(OptimizationLevel OptLevel) : OptLevel(OptLevel) {} + llvm::PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM) + { + AnnobinModule Annobin; +@@ -505,7 +510,7 @@ llvm::PassPluginLibraryInfo getAnnobinLLVMPluginInfo () + { + PB.registerPipelineStartEPCallback + ([](llvm::ModulePassManager &PM, +- llvm::PassBuilder::OptimizationLevel Level) ++ AnnobinModulePass::OptimizationLevel Level) + { + PM.addPass(AnnobinModulePass(Level)); + }); +-- +1.8.3.1 + diff --git a/annobin.spec b/annobin.spec index 0810957..2353148 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.59 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -67,6 +67,7 @@ Source: https://nickc.fedorapeople.org/%{annobin_sources} # Insert patches here, if needed. Eg: # Patch01: annobin-foo.patch +Patch01: 0001-Compatibility-patch-for-llvm14.patch #--------------------------------------------------------------------------------- @@ -483,6 +484,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Mar 30 2022 Serge Guelton - 10.59-2 +- Rebuilt against new LLVM release, with patch. + * Wed Mar 30 2022 Nick Clifton - 10.59-1 - Annocheck: Fix test for AArch64 property notes. (#2068657) From c2186bc772700ff119ef9bf5b521989e6750372a Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 31 Mar 2022 13:41:14 +0100 Subject: [PATCH 156/361] 10.60: Add support for building using meson+ninja. --- annobin.spec | 11 +++++++---- sources | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/annobin.spec b/annobin.spec index 2353148..9f13ddb 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.59 -Release: 2%{?dist} +Version: 10.60 +Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -67,7 +67,7 @@ Source: https://nickc.fedorapeople.org/%{annobin_sources} # Insert patches here, if needed. Eg: # Patch01: annobin-foo.patch -Patch01: 0001-Compatibility-patch-for-llvm14.patch +# Patch01: 0001-Compatibility-patch-for-llvm14.patch #--------------------------------------------------------------------------------- @@ -484,7 +484,10 @@ fi #--------------------------------------------------------------------------------- %changelog -* Wed Mar 30 2022 Serge Guelton - 10.59-2 +* Thu Mar 31 2022 Timm Bäder redhat.com> - 10.60-1 +- Add support for building using meson+ninja. + +* Wed Mar 30 2022 Serge Guelton - 10.59-2 - Rebuilt against new LLVM release, with patch. * Wed Mar 30 2022 Nick Clifton - 10.59-1 diff --git a/sources b/sources index 08e29fd..14aac01 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.59.tar.xz) = 3c723eeac6f9435d6b74033cf4b057327a171ab488922e95c10a6c016a5086b0076795f305c0b3b7337b881e6276351dc5e15f8f23e0ae297aa70a81f1ef6dab +SHA512 (annobin-10.60.tar.xz) = 7d5158da6a59000d686fb837b0ac1a86351898c00a93e29c2cb599ec6eccb325b66fbd775855bd3661d2d9541e3d2cb2493b087b6670fca137f9992f33c68082 From eceb1781735e57a715f3f42859479c2642960669 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Sat, 2 Apr 2022 09:31:20 +0100 Subject: [PATCH 157/361] remap OPT_Wall --- annobin.spec | 8 ++++++-- sources | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 9f13ddb..651b099 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.60 +Version: 10.61 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -341,7 +341,7 @@ CONFIG_ARGS="$CONFIG_ARGS --with-llvm" %endif %if %{without tests} -CONFIG_ARGS="$CONFIG_ARGS --without-test" +CONFIG_ARGS="$CONFIG_ARGS --without-tests" %endif %if %{without annocheck} @@ -484,6 +484,10 @@ fi #--------------------------------------------------------------------------------- %changelog +* Sat Apr 02 2022 Nick Clifton - 10.61-1 +- gcc-plugin: Add remap of OPT_Wall. +- configure: Fix typo in top level configure.ac. + * Thu Mar 31 2022 Timm Bäder redhat.com> - 10.60-1 - Add support for building using meson+ninja. diff --git a/sources b/sources index 14aac01..4fa0ed0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.60.tar.xz) = 7d5158da6a59000d686fb837b0ac1a86351898c00a93e29c2cb599ec6eccb325b66fbd775855bd3661d2d9541e3d2cb2493b087b6670fca137f9992f33c68082 +SHA512 (annobin-10.61.tar.xz) = 70cf907bf594b491058db868c0e0ea4dd5034a16bf20c9c0b8b8b95db03658526947da798be7915d89b149f0e84d4668e9651fa916a2514d273b7ea6d87efd30 From d4466f74069142f8ae6a637799a64c1901dd59da Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 5 Apr 2022 14:04:16 +0100 Subject: [PATCH 158/361] Fix thinko in llvm plugin sources --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 651b099..44ec51a 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.61 +Version: 10.62 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -484,6 +484,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Apr 05 2022 Nick Clifton - 10.62-1 +- llvm-plugin: Fix a thinko in the sources. + * Sat Apr 02 2022 Nick Clifton - 10.61-1 - gcc-plugin: Add remap of OPT_Wall. - configure: Fix typo in top level configure.ac. diff --git a/sources b/sources index 4fa0ed0..be8b21a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.61.tar.xz) = 70cf907bf594b491058db868c0e0ea4dd5034a16bf20c9c0b8b8b95db03658526947da798be7915d89b149f0e84d4668e9651fa916a2514d273b7ea6d87efd30 +SHA512 (annobin-10.62.tar.xz) = 60f65d80158dc074f9293ae4d35e312a8b2129b20e10eb3268d335be215e8eee9f6bb0efc341bcaae7169a32a5fbdbf8d81fd372e6b3c793d7380682e1baf595 From 3de80672fa61d38eb7f28818ff50e316c2b07767 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 6 Apr 2022 12:19:52 +0100 Subject: [PATCH 159/361] Annocheck: Add more special cases for AArch64 glibc on RHEL-8. (#2072082) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 44ec51a..033ed0e 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.62 +Version: 10.63 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -484,6 +484,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Apr 06 2022 Nick Clifton - 10.63-1 +- Annocheck: Add more special cases for AArch64 glibc on RHEL-8. (#2072082) + * Tue Apr 05 2022 Nick Clifton - 10.62-1 - llvm-plugin: Fix a thinko in the sources. diff --git a/sources b/sources index be8b21a..190616e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.62.tar.xz) = 60f65d80158dc074f9293ae4d35e312a8b2129b20e10eb3268d335be215e8eee9f6bb0efc341bcaae7169a32a5fbdbf8d81fd372e6b3c793d7380682e1baf595 +SHA512 (annobin-10.63.tar.xz) = bc1162616b3eb27bc2a2cd465f3f2a765019f6eac85e7856545ccceedd497fc8904bf8b5d57fa17a04674803fd38162d71fcd143f686eff248df7c29d479ab40 From 098cf0d690ccc2c545f1a522659cf12a1f2255b8 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 6 Apr 2022 12:58:19 +0100 Subject: [PATCH 160/361] Annocheck: Even more special cases for AArch64 glibc on RHEL-8. (#2072082) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 033ed0e..e72f160 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.63 +Version: 10.64 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -484,6 +484,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Apr 06 2022 Nick Clifton - 10.64-1 +- Annocheck: Even more special cases for AArch64 glibc on RHEL-8. (#2072082) + * Wed Apr 06 2022 Nick Clifton - 10.63-1 - Annocheck: Add more special cases for AArch64 glibc on RHEL-8. (#2072082) diff --git a/sources b/sources index 190616e..d163d7e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.63.tar.xz) = bc1162616b3eb27bc2a2cd465f3f2a765019f6eac85e7856545ccceedd497fc8904bf8b5d57fa17a04674803fd38162d71fcd143f686eff248df7c29d479ab40 +SHA512 (annobin-10.64.tar.xz) = e8c6b4cfb7443fb9405ae85b6cd16636e17d08b037c75d104fc80e95d484376f6825e2c9257094c7d9c406233acd9f1ffa8d28024fc6f0d546d7569b0f8b99bc From e0ddeb63a35d17e0c53daf1d59be7c8a66623f4b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 12 Apr 2022 17:53:12 +0100 Subject: [PATCH 161/361] 10.65: gcc-plugin: Add support for CLVC_INTEGER --- 0001-Compatibility-patch-for-llvm14.patch | 42 ----------------------- annobin.spec | 5 ++- sources | 2 +- 3 files changed, 5 insertions(+), 44 deletions(-) delete mode 100644 0001-Compatibility-patch-for-llvm14.patch diff --git a/0001-Compatibility-patch-for-llvm14.patch b/0001-Compatibility-patch-for-llvm14.patch deleted file mode 100644 index c4d260e..0000000 --- a/0001-Compatibility-patch-for-llvm14.patch +++ /dev/null @@ -1,42 +0,0 @@ -From f278b500124ee9d49cb990f6a0333b28794fddb1 Mon Sep 17 00:00:00 2001 -From: sergesanspaille -Date: Wed, 30 Mar 2022 16:07:17 +0200 -Subject: [PATCH] Compatibility patch for llvm14 - ---- - llvm-plugin/annobin.cpp | 11 ++++++++--- - 1 file changed, 8 insertions(+), 3 deletions(-) - -diff --git a/llvm-plugin/annobin.cpp b/llvm-plugin/annobin.cpp -index a119ab9..6a43580 100644 ---- a/llvm-plugin/annobin.cpp -+++ b/llvm-plugin/annobin.cpp -@@ -484,9 +484,14 @@ namespace - - struct AnnobinModulePass : llvm::PassInfoMixin - { -- llvm::PassBuilder::OptimizationLevel OptLevel; -+#if __clang_major__ > 13 -+ using OptimizationLevel = llvm::OptimizationLevel; -+#else -+ using OptimizationLevel = llvm::PassBuilder::OptimizationLevel; -+#endif -+ OptimizationLevel OptLevel; - -- AnnobinModulePass(llvm::PassBuilder::OptimizationLevel OptLevel) : OptLevel(OptLevel) {} -+ AnnobinModulePass(OptimizationLevel OptLevel) : OptLevel(OptLevel) {} - llvm::PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM) - { - AnnobinModule Annobin; -@@ -505,7 +510,7 @@ llvm::PassPluginLibraryInfo getAnnobinLLVMPluginInfo () - { - PB.registerPipelineStartEPCallback - ([](llvm::ModulePassManager &PM, -- llvm::PassBuilder::OptimizationLevel Level) -+ AnnobinModulePass::OptimizationLevel Level) - { - PM.addPass(AnnobinModulePass(Level)); - }); --- -1.8.3.1 - diff --git a/annobin.spec b/annobin.spec index e72f160..d0da685 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.64 +Version: 10.65 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -484,6 +484,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Apr 12 2022 Nick Clifton - 10.65-1 +- gcc-plugin: Add support for CLVC_INTEGER options. + * Wed Apr 06 2022 Nick Clifton - 10.64-1 - Annocheck: Even more special cases for AArch64 glibc on RHEL-8. (#2072082) diff --git a/sources b/sources index d163d7e..a2847b0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.64.tar.xz) = e8c6b4cfb7443fb9405ae85b6cd16636e17d08b037c75d104fc80e95d484376f6825e2c9257094c7d9c406233acd9f1ffa8d28024fc6f0d546d7569b0f8b99bc +SHA512 (annobin-10.65.tar.xz) = c7191fc88072431f3c62ae2abe405b88c78b3d703353810aef6bb6bf0c3fa16ad2db84d5e5e940864518474119393454aadc40fdca84bdbba18d686face59ce1 From 2e205722fd7eac7146929c47babdfd683b0f4d61 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 13 Apr 2022 09:35:37 +0100 Subject: [PATCH 162/361] Annocheck: Do not complain about missing -mbranch-protection option in AArch64 binaries if compiled in LTO mode. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index d0da685..99bc184 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.65 +Version: 10.66 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -484,6 +484,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Apr 13 2022 Nick Clifton - 10.66-1 +- Annocheck: Do not complain about missing -mbranch-protection option in AArch64 binaries if compiled in LTO mode. + * Tue Apr 12 2022 Nick Clifton - 10.65-1 - gcc-plugin: Add support for CLVC_INTEGER options. diff --git a/sources b/sources index a2847b0..f0b907d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.65.tar.xz) = c7191fc88072431f3c62ae2abe405b88c78b3d703353810aef6bb6bf0c3fa16ad2db84d5e5e940864518474119393454aadc40fdca84bdbba18d686face59ce1 +SHA512 (annobin-10.66.tar.xz) = 3e3fd94c500309acf98a4908479536b3502c26fce6315c071f4a2070269f48615e5f109b3e3c866524e560f98a776fc099a30e5febe89ffb71feda661eeaa620 From b464395c191bf5959dfd5074e72a7822874aabbc Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 22 Apr 2022 08:22:06 +0100 Subject: [PATCH 163/361] Annocheck: Do not complain about missing -mbranch-protection option in AArch64 binaries if compiled by golang. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 99bc184..78e7c1e 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.66 +Version: 10.67 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -484,6 +484,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Apr 22 2022 Nick Clifton - 10.67-1 +- Annocheck: Do not complain about missing -mbranch-protection option in AArch64 binaries if compiled by golang. + * Wed Apr 13 2022 Nick Clifton - 10.66-1 - Annocheck: Do not complain about missing -mbranch-protection option in AArch64 binaries if compiled in LTO mode. diff --git a/sources b/sources index f0b907d..178f771 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.66.tar.xz) = 3e3fd94c500309acf98a4908479536b3502c26fce6315c071f4a2070269f48615e5f109b3e3c866524e560f98a776fc099a30e5febe89ffb71feda661eeaa620 +SHA512 (annobin-10.67.tar.xz) = dde856e327aeef376ab2dc67178fbd8e6a055904c8a24da5bc5d69fc52587bb0673c276ffe68ce6cd424c65d3a1653b8ae1e32a90504378fc9291f039160b413 From 3764359b21051584cf117dcea38e85a540ec87de Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 22 Apr 2022 17:48:22 +0200 Subject: [PATCH 164/361] 9.79-5 --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 27ad742..28f8763 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 9.79 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv3+ # ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark # Maintainer: nickc@redhat.com @@ -326,6 +326,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Apr 22 Jakub Jelinek - 9.79-5 +- Another NVR bump for GCC 11 rebuild. + * Thu Dec 02 2021 Nick Clifton - 9.79-4 - Annocheck: Allow spaces in golang symbols. From 75736750e67fb71ff762d05f3f2d376b92ccbf42 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 3 May 2022 14:09:23 +0100 Subject: [PATCH 165/361] Annocheck: Add more glibc exceptions + check PT_TLS segments. (#2081131) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 78e7c1e..2156eab 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.67 +Version: 10.68 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -484,6 +484,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue May 03 2022 Nick Clifton - 10.68-1 +- Annocheck: Add more glibc exceptions + check PT_TLS segments. (#2081131) + * Fri Apr 22 2022 Nick Clifton - 10.67-1 - Annocheck: Do not complain about missing -mbranch-protection option in AArch64 binaries if compiled by golang. diff --git a/sources b/sources index 178f771..979a605 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.67.tar.xz) = dde856e327aeef376ab2dc67178fbd8e6a055904c8a24da5bc5d69fc52587bb0673c276ffe68ce6cd424c65d3a1653b8ae1e32a90504378fc9291f039160b413 +SHA512 (annobin-10.68.tar.xz) = 0e3a12e173f6f77443c81e44f6be565b8392e6fcba002c8482f3edd13c56620acd5f528a00f10a9f81b9c8aeedf008103850458b2829cecbd89be98649879acc From 67f8a8d11aa3e33ca29076e9a4884c1d873517f8 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 6 May 2022 15:00:55 +0100 Subject: [PATCH 166/361] Annocheck: Do not complain about unenabled -mbranch-protection option in AArch64 binaries if compiled using LTO. (#2082146) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 2156eab..229acfb 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.68 +Version: 10.69 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -484,6 +484,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri May 06 2022 Nick Clifton - 10.69-1 +- Annocheck: Do not complain about unenabled -mbranch-protection option in AArch64 binaries if compiled using LTO. (#2082146) + * Tue May 03 2022 Nick Clifton - 10.68-1 - Annocheck: Add more glibc exceptions + check PT_TLS segments. (#2081131) diff --git a/sources b/sources index 979a605..46ee931 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.68.tar.xz) = 0e3a12e173f6f77443c81e44f6be565b8392e6fcba002c8482f3edd13c56620acd5f528a00f10a9f81b9c8aeedf008103850458b2829cecbd89be98649879acc +SHA512 (annobin-10.69.tar.xz) = 449e47afda1b09947329bce33e54695a478226414cf358f714b63a44b1f62a2f277780cdd1af641783a84795d72a48d121c6778f3ad78a41b189c896dd6393eb From f0bfd1e41ec0b95a343517e2f207b14f55f73895 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 9 May 2022 11:07:02 +0100 Subject: [PATCH 167/361] Annocheck: Add another special case for glibc rpms. (#2083070) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 229acfb..fb64104 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.69 +Version: 10.70 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -484,6 +484,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon May 09 2022 Nick Clifton - 10.70-1 +- Annocheck: Add another special case for glibc rpms. (#2083070) + * Fri May 06 2022 Nick Clifton - 10.69-1 - Annocheck: Do not complain about unenabled -mbranch-protection option in AArch64 binaries if compiled using LTO. (#2082146) diff --git a/sources b/sources index 46ee931..52f25c2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.69.tar.xz) = 449e47afda1b09947329bce33e54695a478226414cf358f714b63a44b1f62a2f277780cdd1af641783a84795d72a48d121c6778f3ad78a41b189c896dd6393eb +SHA512 (annobin-10.70.tar.xz) = 6b723f1c988c6afad6a7c51fde376b49affc4c9f999290b68046afe7d72c694788b75708c4252444ea1138f92e069cec0e6201f2cf919cf23ffbbc59539b1b44 From e305a8053a066707b2e72d36911349f935c98780 Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Tue, 10 May 2022 15:42:24 +0200 Subject: [PATCH 168/361] Add URL tag to see it by `rpm -qi annobin-annocheck`. --- annobin.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index fb64104..251fa1e 100644 --- a/annobin.spec +++ b/annobin.spec @@ -4,8 +4,8 @@ Summary: Annotate and examine compiled binary files Version: 10.70 Release: 1%{?dist} License: GPLv3+ +URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com -# Web Page: https://sourceware.org/annobin/ # Watermark Protocol: https://fedoraproject.org/wiki/Toolchain/Watermark #--------------------------------------------------------------------------------- From 6a039d67f0f2f6e29894c9df96560ee8b5562a54 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 11 May 2022 12:26:42 +0000 Subject: [PATCH 169/361] Add support for RISC-V Author: David Abdurachmanov Signed-off-by: Nianqing Yao and David Abdurachmanov --- annobin-add-riscv-support.patch | 28 ++++++++++++++++++++++++++++ annobin.spec | 5 +++++ 2 files changed, 33 insertions(+) create mode 100644 annobin-add-riscv-support.patch diff --git a/annobin-add-riscv-support.patch b/annobin-add-riscv-support.patch new file mode 100644 index 0000000..f5bf695 --- /dev/null +++ b/annobin-add-riscv-support.patch @@ -0,0 +1,28 @@ +diff --git a/configure b/configure +index 4ade97a..6028b72 100755 +--- a/configure ++++ b/configure +@@ -17807,6 +17807,9 @@ case ${target} in + s390*-*-*) + target_plugin="s390.annobin.lo" + ;; ++ riscv*-*-*) ++ target_plugin="riscv.annobin.lo" ++ ;; + *) + target_plugin="dummy.annobin.lo" + ;; +diff --git a/configure.ac b/configure.ac +index acbf0a4..10cf53a 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -42,6 +42,9 @@ case ${target} in + s390*-*-*) + target_plugin="s390.annobin.lo" + ;; ++ riscv*-*-*) ++ target_plugin="riscv.annobin.lo" ++ ;; + *) + target_plugin="dummy.annobin.lo" + ;; diff --git a/annobin.spec b/annobin.spec index 251fa1e..8a20101 100644 --- a/annobin.spec +++ b/annobin.spec @@ -69,6 +69,8 @@ Source: https://nickc.fedorapeople.org/%{annobin_sources} # Patch01: annobin-foo.patch # Patch01: 0001-Compatibility-patch-for-llvm14.patch +Patch01: annobin-add-riscv-support.patch + #--------------------------------------------------------------------------------- # Make sure that the necessary sub-packages are built. @@ -484,6 +486,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu May 10 2022 Nianqing Yao - 10.70-2 +- Add support for RISC-V. + * Mon May 09 2022 Nick Clifton - 10.70-1 - Annocheck: Add another special case for glibc rpms. (#2083070) From 1f57bcbc2c2657a0c791ee9e8840020cd3ddddbd Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 11 May 2022 14:35:10 +0100 Subject: [PATCH 170/361] gcc-plugin: Fix typo in configure.ac --- annobin.fortify-test.patch | 85 -------------------------------------- annobin.spec | 10 ++--- sources | 2 +- 3 files changed, 6 insertions(+), 91 deletions(-) delete mode 100644 annobin.fortify-test.patch diff --git a/annobin.fortify-test.patch b/annobin.fortify-test.patch deleted file mode 100644 index 4d419ac..0000000 --- a/annobin.fortify-test.patch +++ /dev/null @@ -1,85 +0,0 @@ ---- annobin.orig/tests/fortify-test 2022-01-10 09:50:07.005146672 +0000 -+++ annobin-10.45/tests/fortify-test 2022-01-10 10:23:56.827404265 +0000 -@@ -37,30 +37,37 @@ fi - # Now add in our newly built plugin. - OPTS+=" -fplugin=$PLUGIN" - -+# For debugging purposes, generate a linker map as well. -+OPTS+=" -Wl,-Map,fortify-test.map" -+ - start_test - --$GCC $OPTS -Wp,-U_FORTIFY_SOURCE -fno-lto $srcdir/main.c -o main.exe -+# Use atexit.c rather than main.c as it is bigger. -+COMMAND="$GCC $OPTS -Wp,-U_FORTIFY_SOURCE -fno-lto $srcdir/atexit.c -o fortify-test.exe" -+$COMMAND - if [ $? != 0 ]; - then - echo " $TEST_NAME: FAIL: unable to compile test file" -- echo " $TEST_NAME: compile command: $GCC $OPTS -Wp,-U_FORTIFY_SOURCE -fno-lto $srcdir/main.c -o main.exe" -+ echo " $TEST_NAME: command: $COMMAND" - end_test - exit 1 - fi - - # Run annocheck - --SKIPS="--skip-cf-protection --skip-property-note --skip-stack-realign --skip-entry --skip-dynamic-tags --skip-lto --skip-warnings --skip-dynamic-tags --skip-not-dynamic-tags --skip-branch-protection --skip-not-branch-protection" --$ANNOCHECK main.exe $SKIPS > main.out --grep -e "Overall: FAIL" main.out -+SKIPS="--skip-all --test-fortify" -+A_COMMAND="$ANNOCHECK fortify-test.exe $SKIPS" -+$A_COMMAND > fortify-test.out -+grep -e "Overall: FAIL" fortify-test.out - if [ $? != 0 ]; - then - echo " $TEST_NAME: FAIL: compiling with -D_FORTIFY_SOURCE=2 still produces an executable that passes annocheck" -- echo " $TEST_NAME: compile command: $GCC $OPTS -Wp,-U_FORTIFY_SOURCE -fno-lto $srcdir/main.c -o main.exe" -- echo " $TEST_NAME: annocheck command: $ANNOCHECK main.exe $SKIPS" -+ echo " $TEST_NAME: compile command: $COMMAND" -+ echo " $TEST_NAME: annocheck command: $A_COMMAND" - echo " $TEST_NAME: annocheck output (with verbose enabled):" -- $ANNOCHECK main.exe $SKIPS --verbose -- uuencode main.exe main.exe -+ $A_COMMAND --verbose -+ uuencode fortify-test.exe fortify-test.exe -+ uuencode fortify-test.map fortify-test.map - end_test - exit 1 - fi ---- annobin.orig/gcc-plugin/annobin.cc 2022-01-10 09:50:06.991146761 +0000 -+++ annobin-10.45/gcc-plugin/annobin.cc 2022-01-10 11:31:49.507826587 +0000 -@@ -1,5 +1,5 @@ - /* annobin - a gcc plugin for annotating binary files. -- Copyright (c) 2017 - 2021 Red Hat. -+ Copyright (c) 2017 - 2022 Red Hat. - Created by Nick Clifton. - - This is free software; you can redistribute it and/or modify it -@@ -2485,6 +2485,7 @@ annobin_emit_end_symbol (const char * su - fprintf (asm_out_file, "\t.size %s%s, 0\n", annobin_current_endname, suffix); - annobin_inform (INFORM_VERBOSE, "Create symbol %s%s", annobin_current_endname, suffix); - -+#if 0 - /* If there is a bias to the start symbol, we can end up with the case where - the start symbol is after the end symbol. (If the section is empty). - Catch that and adjust the start symbol. This also pacifies eu-elflint -@@ -2509,7 +2510,8 @@ annobin_emit_end_symbol (const char * su - annobin_current_endname, suffix); - fprintf (asm_out_file, "\t.endif\n"); - } -- -+#endif -+ - fprintf (asm_out_file, "\t.popsection\n"); - } - -@@ -2774,7 +2776,7 @@ plugin_init (struct plugin_name_args * - solution is needed. */ - annobin_attach_type = group; - #if GCCPLUGIN_VERSION_MAJOR >= 11 -- if (target_start_sym_bias == 0) -+ /* if (target_start_sym_bias == 0)*/ - annobin_attach_type = link_order; - #endif - } diff --git a/annobin.spec b/annobin.spec index 8a20101..cf1f8e3 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.70 +Version: 10.71 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -67,9 +67,6 @@ Source: https://nickc.fedorapeople.org/%{annobin_sources} # Insert patches here, if needed. Eg: # Patch01: annobin-foo.patch -# Patch01: 0001-Compatibility-patch-for-llvm14.patch - -Patch01: annobin-add-riscv-support.patch #--------------------------------------------------------------------------------- @@ -486,7 +483,10 @@ fi #--------------------------------------------------------------------------------- %changelog -* Thu May 10 2022 Nianqing Yao - 10.70-2 +* Wed May 11 2022 Nick Clifton - 10.71-1 +- gcc-plugin: Fix typo in configure.ac. + +* Tue May 10 2022 Nianqing Yao - 10.70-2 - Add support for RISC-V. * Mon May 09 2022 Nick Clifton - 10.70-1 diff --git a/sources b/sources index 52f25c2..098f1bb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.70.tar.xz) = 6b723f1c988c6afad6a7c51fde376b49affc4c9f999290b68046afe7d72c694788b75708c4252444ea1138f92e069cec0e6201f2cf919cf23ffbbc59539b1b44 +SHA512 (annobin-10.71.tar.xz) = 2f02dbcb251418bf478a07428ee7b8b2bdbb3193596d132b2a96116be9aeab44a825416edfde8a9f059938d44351a78440eb57bce03e01171430e42ac61e756a From f271cd992015495e5bba768042c794a605f115ba Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 16 May 2022 15:53:08 +0100 Subject: [PATCH 171/361] Annocheck: Do not complain about unenabled -mbranch-protection option in AArch64 binaries. (#2078909) --- annobin-add-riscv-support.patch | 28 ---------------------------- annobin.spec | 5 ++++- sources | 2 +- 3 files changed, 5 insertions(+), 30 deletions(-) delete mode 100644 annobin-add-riscv-support.patch diff --git a/annobin-add-riscv-support.patch b/annobin-add-riscv-support.patch deleted file mode 100644 index f5bf695..0000000 --- a/annobin-add-riscv-support.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/configure b/configure -index 4ade97a..6028b72 100755 ---- a/configure -+++ b/configure -@@ -17807,6 +17807,9 @@ case ${target} in - s390*-*-*) - target_plugin="s390.annobin.lo" - ;; -+ riscv*-*-*) -+ target_plugin="riscv.annobin.lo" -+ ;; - *) - target_plugin="dummy.annobin.lo" - ;; -diff --git a/configure.ac b/configure.ac -index acbf0a4..10cf53a 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -42,6 +42,9 @@ case ${target} in - s390*-*-*) - target_plugin="s390.annobin.lo" - ;; -+ riscv*-*-*) -+ target_plugin="riscv.annobin.lo" -+ ;; - *) - target_plugin="dummy.annobin.lo" - ;; diff --git a/annobin.spec b/annobin.spec index cf1f8e3..49fac18 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.71 +Version: 10.72 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -483,6 +483,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon May 16 2022 Nick Clifton - 10.72-1 +- Annocheck: Do not complain about unenabled -mbranch-protection option in AArch64 binaries. (#2078909) + * Wed May 11 2022 Nick Clifton - 10.71-1 - gcc-plugin: Fix typo in configure.ac. diff --git a/sources b/sources index 098f1bb..901d9ef 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.71.tar.xz) = 2f02dbcb251418bf478a07428ee7b8b2bdbb3193596d132b2a96116be9aeab44a825416edfde8a9f059938d44351a78440eb57bce03e01171430e42ac61e756a +SHA512 (annobin-10.72.tar.xz) = 74547f71d5caf1bdf6a4a642764e2316deb34eae50c0429f4c40e2afbf6b27e7e83ffff3e3f740b86db7bde22c800f8f3fcc63f6810d98750b3e189f68399678 From 6aaecc9f93f1b0fc81ca757d81dadc3630727af3 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 17 May 2022 12:34:14 +0100 Subject: [PATCH 172/361] Annocheck: Fix handling of command line options that take arguments. (#2086850) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 49fac18..1f0afad 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.72 +Version: 10.73 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -483,6 +483,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue May 17 2022 Nick Clifton - 10.73-1 +- Annocheck: Fix handling of command line options that take arguments. (#2086850) + * Mon May 16 2022 Nick Clifton - 10.72-1 - Annocheck: Do not complain about unenabled -mbranch-protection option in AArch64 binaries. (#2078909) diff --git a/sources b/sources index 901d9ef..d05dc64 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.72.tar.xz) = 74547f71d5caf1bdf6a4a642764e2316deb34eae50c0429f4c40e2afbf6b27e7e83ffff3e3f740b86db7bde22c800f8f3fcc63f6810d98750b3e189f68399678 +SHA512 (annobin-10.73.tar.xz) = 264bd43279526095b4bc11accc0c6a9e8a6fdaa9adf9b8a12076b0d55f34ecc7df0c4653ec48210aff7cefabac208fcab52922babb9e404f22db809976a6a3e8 From d9744eac07ec736aba70b86207d3980dceefa7ac Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 7 Jun 2022 16:56:59 +0100 Subject: [PATCH 173/361] Annocheck: Handle binaries created by Rust 1.18. (#2094420) Annocheck: Add optional function name to --skip arguments. (PR 29229) --- annobin.spec | 6 +++++- sources | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 1f0afad..d62f3ec 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.73 +Version: 10.74 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -483,6 +483,10 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Jun 07 2022 Nick Clifton - 10.74-1 +- Annocheck: Handle binaries created by Rust 1.18. (#2094420) +- Annocheck: Add optional function name to --skip arguments. (PR 29229) + * Tue May 17 2022 Nick Clifton - 10.73-1 - Annocheck: Fix handling of command line options that take arguments. (#2086850) diff --git a/sources b/sources index d05dc64..275832c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.73.tar.xz) = 264bd43279526095b4bc11accc0c6a9e8a6fdaa9adf9b8a12076b0d55f34ecc7df0c4653ec48210aff7cefabac208fcab52922babb9e404f22db809976a6a3e8 +SHA512 (annobin-10.74.tar.xz) = 3117e3247227dd0e282857b6f66987b992946c43be9890d35ad988199192a679a7944a12d2f12cc1f42263020a3942644e3a5ced4447790cdec34d4134517d79 From 6af1867f17e263f42c4248f5d03ec77686ad325b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 9 Jun 2022 15:12:55 +0100 Subject: [PATCH 174/361] Annocheck: Fix covscan detected race condition between stat() and open(). --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index d62f3ec..e0e7edf 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.74 +Version: 10.75 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -483,6 +483,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Jun 09 2022 Nick Clifton - 10.75-1 +- Annocheck: Fix covscan detected race condition between stat() and open(). + * Tue Jun 07 2022 Nick Clifton - 10.74-1 - Annocheck: Handle binaries created by Rust 1.18. (#2094420) - Annocheck: Add optional function name to --skip arguments. (PR 29229) diff --git a/sources b/sources index 275832c..86637dd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.74.tar.xz) = 3117e3247227dd0e282857b6f66987b992946c43be9890d35ad988199192a679a7944a12d2f12cc1f42263020a3942644e3a5ced4447790cdec34d4134517d79 +SHA512 (annobin-10.75.tar.xz) = 8268f1a49ccc002590a2d4419d03e89edd9bc0b8dae54400cce91e5ae5331f31b1e44f79717a712d757653accc76a1a7daa2b12cc4e0c4ce66cfadc5a71cd95e From 278aadbc363f23deaa29e8884f4c19c2c1efeafa Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 14 Jun 2022 10:18:00 +0100 Subject: [PATCH 175/361] Annocheck: Check build-id of separate debuginfo files. Annocheck: Add GAPS test replacing --ignore-gaps. --- annobin.spec | 6 +++++- sources | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index e0e7edf..7215442 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.75 +Version: 10.76 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -483,6 +483,10 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tuw Jun 14 2022 Nick Clifton - 10.76-1 +- Annocheck: Check build-id of separate debuginfo files. +- Annocheck: Add GAPS test replacing --ignore-gaps. + * Thu Jun 09 2022 Nick Clifton - 10.75-1 - Annocheck: Fix covscan detected race condition between stat() and open(). diff --git a/sources b/sources index 86637dd..56bdd57 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.75.tar.xz) = 8268f1a49ccc002590a2d4419d03e89edd9bc0b8dae54400cce91e5ae5331f31b1e44f79717a712d757653accc76a1a7daa2b12cc4e0c4ce66cfadc5a71cd95e +SHA512 (annobin-10.76.tar.xz) = 53b7d16c1b4c7d480ead2ec844a1895c39c441bdf60ed4b00205247a12ea190bfaa14591f8da629587c86d6ab2932571fed4ab9c9b8aa86fa29dda6ba43a2e06 From 2a644cdee42066841eb1dabebf32a060accb5f9f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 29 Jun 2022 17:38:18 +0100 Subject: [PATCH 176/361] Spec File: Use the %%dir directive in the %%files section to ensure that plugin directories are useable. (#2080454) Spec File: Remove bogus Provides from annobin-docs subpackage. --- annobin.spec | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/annobin.spec b/annobin.spec index 7215442..d0bd158 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.76 -Release: 1%{?dist} +Release: 3%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -126,9 +126,6 @@ annotated files and reports on any missing security options. %package docs Summary: Documentation and shell scripts for use with annobin BuildArch: noarch -# annobin renamed to annobin-doc in 9.66-1 -Provides: %{name} = %{version}-%{release} -Obsoletes: %{name} < %{version}-%{release} # The documentation uses pod2man... BuildRequires: perl-interpreter perl-podlators gawk make sharutils @@ -455,16 +452,19 @@ fi %if %{with llvmplugin} %files plugin-llvm +%dir %{llvm_plugin_dir} %{llvm_plugin_dir}/annobin-for-llvm.so %endif %if %{with clangplugin} %files plugin-clang +%dir %{clang_plugin_dir} %{clang_plugin_dir}/annobin-for-clang.so %endif %if %{with gccplugin} %files plugin-gcc +%dir %{ANNOBIN_GCC_PLUGIN_DIR} %{ANNOBIN_GCC_PLUGIN_DIR}/annobin.so %{ANNOBIN_GCC_PLUGIN_DIR}/annobin.so.0 %{ANNOBIN_GCC_PLUGIN_DIR}/annobin.so.0.0.0 @@ -483,7 +483,14 @@ fi #--------------------------------------------------------------------------------- %changelog -* Tuw Jun 14 2022 Nick Clifton - 10.76-1 +* Wed Jun 29 2022 Nick Clifton - 10.76-3 +- Spec File: Use the %%dir directive in the %%files section to ensure that +- plugin directories are useable. (#2080454) + +* Fri Jun 24 2022 Nick Clifton - 10.76-2 +- Spec File: Remove bogus Provides from annobin-docs subpackage. + +* Tue Jun 14 2022 Nick Clifton - 10.76-1 - Annocheck: Check build-id of separate debuginfo files. - Annocheck: Add GAPS test replacing --ignore-gaps. From 4cf5153ba780b0f3d5ee29b53a2dc84cb519987a Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 4 Jul 2022 16:18:07 +0100 Subject: [PATCH 177/361] Annocheck: Improve gap detection and reporting --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index d0bd158..0117698 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.76 -Release: 3%{?dist} +Version: 10.77 +Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -483,6 +483,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Jul 04 2022 Nick Clifton - 10.77-1 +- Annocheck: Improve gap detection and reporting. + * Wed Jun 29 2022 Nick Clifton - 10.76-3 - Spec File: Use the %%dir directive in the %%files section to ensure that - plugin directories are useable. (#2080454) diff --git a/sources b/sources index 56bdd57..125333e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.76.tar.xz) = 53b7d16c1b4c7d480ead2ec844a1895c39c441bdf60ed4b00205247a12ea190bfaa14591f8da629587c86d6ab2932571fed4ab9c9b8aa86fa29dda6ba43a2e06 +SHA512 (annobin-10.77.tar.xz) = bd07c7633bf391f2353e8431099c71c7c671c861ba7a63af6d57693d81624369579d3162d268f7a6e31a875c5c65d59838660a038245e7bf36212c6a5c4cbb6a From 794d4708efedcff142a3e37a400bcbffc2d4fc7a Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 5 Jul 2022 09:16:59 +0100 Subject: [PATCH 178/361] Annocheck: Add automatic profile selection. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 0117698..e957c14 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.77 +Version: 10.78 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -483,6 +483,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Jul 05 2022 Nick Clifton - 10.78-1 +- Annocheck: Add automatic profile selection. + * Mon Jul 04 2022 Nick Clifton - 10.77-1 - Annocheck: Improve gap detection and reporting. diff --git a/sources b/sources index 125333e..1c483e1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.77.tar.xz) = bd07c7633bf391f2353e8431099c71c7c671c861ba7a63af6d57693d81624369579d3162d268f7a6e31a875c5c65d59838660a038245e7bf36212c6a5c4cbb6a +SHA512 (annobin-10.78.tar.xz) = 1477b6c68733aafe2cdfc54b8a4a1edac129585c01a3017ae3da1a2ac5f9fe9ef6f9405948f1e67936515a9cd62f1c20ea1307526063647c09037d305c8cfe47 From 0190aaeb50ffcce0dc53f57ffe1425effb17a3cd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 20 Jul 2022 20:49:03 +0000 Subject: [PATCH 179/361] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index e957c14..ac826cc 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.78 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -483,6 +483,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Jul 20 2022 Fedora Release Engineering - 10.78-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Tue Jul 05 2022 Nick Clifton - 10.78-1 - Annocheck: Add automatic profile selection. From a55206c42001a4cdf9b865a8dd5755a90b3e934e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 25 Jul 2022 15:44:44 +0100 Subject: [PATCH 180/361] Annocheck: Fixes for libannocheck.h. --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index ac826cc..16b53a1 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.78 -Release: 2%{?dist} +Version: 10.79 +Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -483,6 +483,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Jul 25 2022 Nick Clifton - 10.79-1 +- Annocheck: Fixes for libannocheck.h. + * Wed Jul 20 2022 Fedora Release Engineering - 10.78-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 1c483e1..0fb4870 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.78.tar.xz) = 1477b6c68733aafe2cdfc54b8a4a1edac129585c01a3017ae3da1a2ac5f9fe9ef6f9405948f1e67936515a9cd62f1c20ea1307526063647c09037d305c8cfe47 +SHA512 (annobin-10.79.tar.xz) = 05410eaa5f9a75015563b009f571bfd12644b3bfd5579a9f4da80a9bbdac5014e07ed5430323252387290e41a74cdb80fd871cb688085c89737fec3920134759 From 8dc50c73e8e718189747d6c2012800b3224dfb15 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 11 Aug 2022 10:07:49 +0100 Subject: [PATCH 181/361] Annocheck: Improvements to the size tool. --- annobin.spec | 10 +++++++++- sources | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 16b53a1..c9af1ba 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.79 +Version: 10.80 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -359,6 +359,11 @@ export LDFLAGS="$LDFLAGS %build_ldflags" export CLANG_TARGET_OPTIONS="-fcf-protection" %endif +%ifarch ppc ppc64 ppc64le +# FIXME: This is a workaround for a problem with the Clang C++ headers. It should not be needed. +export CLANG_TARGET_OPTIONS="-mabi=ibmlongdouble" +%endif + CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" CXXFLAGS="$CFLAGS" %configure ${CONFIG_ARGS} || cat config.log %make_build @@ -483,6 +488,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Aug 09 2022 Nick Clifton - 10.80-1 +- Annocheck: Improvements to the size tool. + * Mon Jul 25 2022 Nick Clifton - 10.79-1 - Annocheck: Fixes for libannocheck.h. diff --git a/sources b/sources index 0fb4870..e39160e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.79.tar.xz) = 05410eaa5f9a75015563b009f571bfd12644b3bfd5579a9f4da80a9bbdac5014e07ed5430323252387290e41a74cdb80fd871cb688085c89737fec3920134759 +SHA512 (annobin-10.80.tar.xz) = c4c539f4ff695441ac03268d0c6860a9a0573a41939cbf911d02ea44e6010c611dda5a93deea314889777b641c5e66054a0111977b74d5b673971451ba75c4c2 From 253c3f05a5a0de79e29872ae80173c097b3a8ca6 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 11 Aug 2022 11:29:10 +0100 Subject: [PATCH 182/361] Plugin: Fix top level configuration support for RiscV. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index c9af1ba..8114044 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.80 +Version: 10.81 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -488,6 +488,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Aug 11 2022 Nick Clifton - 10.81-1 +- Plugin: Fix top level configuration support for RiscV. + * Tue Aug 09 2022 Nick Clifton - 10.80-1 - Annocheck: Improvements to the size tool. diff --git a/sources b/sources index e39160e..5b4476b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.80.tar.xz) = c4c539f4ff695441ac03268d0c6860a9a0573a41939cbf911d02ea44e6010c611dda5a93deea314889777b641c5e66054a0111977b74d5b673971451ba75c4c2 +SHA512 (annobin-10.81.tar.xz) = e62098c3537fd4d5be4d8219f9ab6e5305d49f350c659f669851181333944676c4f3c7b2075fef2b8c652c1617095e5462c88aa4aeb5851c1e18c4bd182f51bb From c86583e001d70c292d5768e31bb2039cc31997b1 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 6 Sep 2022 16:01:29 +0100 Subject: [PATCH 183/361] NVR Bump in order to trigger a rebuild for ELN. (#2124562) --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 8114044..0c158cc 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.81 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -488,6 +488,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Sep 06 2022 Nick Clifton - 10.81-2 +- NVR Bump in order to trigger a rebuild for ELN. (#2124562) + * Thu Aug 11 2022 Nick Clifton - 10.81-1 - Plugin: Fix top level configuration support for RiscV. From 689378de5212dcf07ff96a8c8f646449024f5dea Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 9 Sep 2022 13:47:09 +0100 Subject: [PATCH 184/361] Annocheck: Add a test for the inconsistent use of -Ofast. (#1248744) --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 0c158cc..3bce773 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.81 -Release: 2%{?dist} +Version: 10.82 +Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -488,6 +488,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Sep 09 2022 Nick Clifton - 10.82-1 +- Annocheck: Add a test for the inconsistent use of -Ofast. (#1248744) + * Tue Sep 06 2022 Nick Clifton - 10.81-2 - NVR Bump in order to trigger a rebuild for ELN. (#2124562) diff --git a/sources b/sources index 5b4476b..b36bb9c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.81.tar.xz) = e62098c3537fd4d5be4d8219f9ab6e5305d49f350c659f669851181333944676c4f3c7b2075fef2b8c652c1617095e5462c88aa4aeb5851c1e18c4bd182f51bb +SHA512 (annobin-10.82.tar.xz) = 5eb3e8a9e71358da25e4b05238d2a52bd6fdc3585b119a22fb59f9ddac45054a72e10d943e5e40ffd6758b6da55a7b09041388bd660e2eaf9c77150c66a23c66 From 0b1b4157b392888423d6655fa922cfd8717a6008 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 9 Sep 2022 14:51:52 +0100 Subject: [PATCH 185/361] Annocheck: Add a test for the inconsistent use of -Ofast. (#1248744) --- annobin.spec | 4 ++-- sources | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 3bce773..686b87c 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.82 +Version: 10.83 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -488,7 +488,7 @@ fi #--------------------------------------------------------------------------------- %changelog -* Fri Sep 09 2022 Nick Clifton - 10.82-1 +* Fri Sep 09 2022 Nick Clifton - 10.83-1 - Annocheck: Add a test for the inconsistent use of -Ofast. (#1248744) * Tue Sep 06 2022 Nick Clifton - 10.81-2 diff --git a/sources b/sources index b36bb9c..70a6cea 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.82.tar.xz) = 5eb3e8a9e71358da25e4b05238d2a52bd6fdc3585b119a22fb59f9ddac45054a72e10d943e5e40ffd6758b6da55a7b09041388bd660e2eaf9c77150c66a23c66 +SHA512 (annobin-10.83.tar.xz) = 45bdcd24f055aa016846bf12fad0e602e79ffd85b9fce2fce3175d2a1c2f941ce4e125c9bd13929a777bd47dea153e0dbe19fd23c9a122df318b0c126cab89bb From 867bb75b555eb410ad9da055f1d02d5bc7901ae4 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 20 Sep 2022 13:17:11 +0100 Subject: [PATCH 186/361] Clang Plugin: Fix for building with Clang-15. (#2125875) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 686b87c..5140619 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.83 +Version: 10.84 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -488,6 +488,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Sep 20 2022 Serge Guelton - 10.84-1 +- Clang Plugin: Fix for building with Clang-15. (#2125875) + * Fri Sep 09 2022 Nick Clifton - 10.83-1 - Annocheck: Add a test for the inconsistent use of -Ofast. (#1248744) diff --git a/sources b/sources index 70a6cea..1a165a4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.83.tar.xz) = 45bdcd24f055aa016846bf12fad0e602e79ffd85b9fce2fce3175d2a1c2f941ce4e125c9bd13929a777bd47dea153e0dbe19fd23c9a122df318b0c126cab89bb +SHA512 (annobin-10.84.tar.xz) = bb510bf7a66f648f869a710ed14303fa856cb061b2493a17bca24e40de18d3b52428e47910e005f90791ac26199883cf07e683299b92fb83a8f40afeab759952 From 157ed58dcec92db72bf6777bb71e5ed6d3d8698d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 22 Sep 2022 16:30:48 +0100 Subject: [PATCH 187/361] GCC Plugin: Record -ftrivial-auto-var-init and -fzero-call-used-regs. Annocheck: Add future tests for -ftrivial-auto-var-init and -fzero-call-used-regs. --- annobin.spec | 6 +++++- sources | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 5140619..9a7062a 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.84 +Version: 10.85 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -488,6 +488,10 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Sep 22 2022 Serge Guelton - 10.85-1 +- GCC Plugin: Record -ftrivial-auto-var-init and -fzero-call-used-regs. +- Annocheck: Add future tests for -ftrivial-auto-var-init and -fzero-call-used-regs. + * Tue Sep 20 2022 Serge Guelton - 10.84-1 - Clang Plugin: Fix for building with Clang-15. (#2125875) diff --git a/sources b/sources index 1a165a4..5c328f3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.84.tar.xz) = bb510bf7a66f648f869a710ed14303fa856cb061b2493a17bca24e40de18d3b52428e47910e005f90791ac26199883cf07e683299b92fb83a8f40afeab759952 +SHA512 (annobin-10.85.tar.xz) = 79e490d9507cc39f3eae8a3d9b5dfda37501079c7201f95eae3b17976137160e2fb02ee80d9465fc6b4179c7233b0d574024d1c8870ed6914b8fe962a54b35b0 From b37411288938bea05d24f13f6885c4cdc883ea33 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 30 Sep 2022 15:35:19 +0100 Subject: [PATCH 188/361] Libannocheck: Add libannocheck_reinit(). --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 9a7062a..aebfd69 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.85 +Version: 10.86 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -488,6 +488,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Sep 30 2022 Serge Guelton - 10.86-1 +- Libannocheck: Add libannocheck_reinit(). + * Thu Sep 22 2022 Serge Guelton - 10.85-1 - GCC Plugin: Record -ftrivial-auto-var-init and -fzero-call-used-regs. - Annocheck: Add future tests for -ftrivial-auto-var-init and -fzero-call-used-regs. diff --git a/sources b/sources index 5c328f3..5113da1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.85.tar.xz) = 79e490d9507cc39f3eae8a3d9b5dfda37501079c7201f95eae3b17976137160e2fb02ee80d9465fc6b4179c7233b0d574024d1c8870ed6914b8fe962a54b35b0 +SHA512 (annobin-10.86.tar.xz) = 29784acf6d312bb98514c429d2f09cebc8d225c6b056558b3de86d38c3b774b8ae58b4c012e8e1cd7dc6704e0a381083c296ec31877371733cf3bbe94e7fe1a4 From 5967b158252d77c65b9e6e55d6bf44fa52a857fd Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 4 Oct 2022 14:05:30 +0100 Subject: [PATCH 189/361] libannocheck: Add pkgconfig file --- annobin.spec | 12 +++++++++--- sources | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/annobin.spec b/annobin.spec index aebfd69..ebcfcd7 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.86 +Version: 10.87 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -165,6 +165,8 @@ BuildRequires: elfutils-debuginfod-client-devel Requires: %{name}-docs = %{version}-%{release} Requires: cpio rpm +# The libannocheck library needs libiberty which is provided by binutils-devel +Requires: binutils-devel %description annocheck Installs the annocheck program which uses the notes generated by annobin to @@ -481,6 +483,7 @@ fi %files annocheck %{_includedir}/libannocheck.h %{_libdir}/libannocheck.* +%{_libdir}/pkgconfig/libannocheck.pc %{_bindir}/annocheck %{_mandir}/man1/annocheck.1* %endif @@ -488,10 +491,13 @@ fi #--------------------------------------------------------------------------------- %changelog -* Fri Sep 30 2022 Serge Guelton - 10.86-1 +* Fri Sep 30 2022 Nick Clifton - 10.87-1 +- Libannocheck: Add libannocheck.pc pkgconfig file. + +* Fri Sep 30 2022 Nick Clifton - 10.86-1 - Libannocheck: Add libannocheck_reinit(). -* Thu Sep 22 2022 Serge Guelton - 10.85-1 +* Thu Sep 22 2022 Nick Clifton - 10.85-1 - GCC Plugin: Record -ftrivial-auto-var-init and -fzero-call-used-regs. - Annocheck: Add future tests for -ftrivial-auto-var-init and -fzero-call-used-regs. diff --git a/sources b/sources index 5113da1..f984e52 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.86.tar.xz) = 29784acf6d312bb98514c429d2f09cebc8d225c6b056558b3de86d38c3b774b8ae58b4c012e8e1cd7dc6704e0a381083c296ec31877371733cf3bbe94e7fe1a4 +SHA512 (annobin-10.87.tar.xz) = 231bd9e108719261ea6cac52f9f035f586e3123d870973813f1c5ac43545ab61dc2c8a0bf048141c9587c5028accf238c39344165eab1b2a3db7d55380b31e65 From 47ea3304266b89efc0b55b9189a0817bb829d9ee Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 5 Oct 2022 11:37:21 +0100 Subject: [PATCH 190/361] Libannocheck: Move into separate sub-package. --- annobin.spec | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/annobin.spec b/annobin.spec index ebcfcd7..8a461b1 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.87 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -165,14 +165,29 @@ BuildRequires: elfutils-debuginfod-client-devel Requires: %{name}-docs = %{version}-%{release} Requires: cpio rpm -# The libannocheck library needs libiberty which is provided by binutils-devel -Requires: binutils-devel %description annocheck Installs the annocheck program which uses the notes generated by annobin to check that the specified files were compiled with the correct security hardening options. +%package libannocheck +Summary: A library for checking the security hardening status of binaries + +BuildRequires: gcc elfutils elfutils-devel elfutils-libelf-devel rpm-devel binutils-devel make + +%if %{with debuginfod} +BuildRequires: elfutils-debuginfod-client-devel +%endif + +Requires: %{name}-docs = %{version}-%{release} +Requires: binutils-devel + +%description libannocheck +Installs the libannocheck library which uses the notes generated by the +annobin plugins to check that the specified files were compiled with the +correct security hardening options. + %endif #---------------------------------------------------------------------------- @@ -481,16 +496,21 @@ fi %if %{with annocheck} %files annocheck +%{_bindir}/annocheck +%{_mandir}/man1/annocheck.1* + +%files libannocheck %{_includedir}/libannocheck.h %{_libdir}/libannocheck.* %{_libdir}/pkgconfig/libannocheck.pc -%{_bindir}/annocheck -%{_mandir}/man1/annocheck.1* %endif #--------------------------------------------------------------------------------- %changelog +* Wed Oct 05 2022 Nick Clifton - 10.87-2 +- Libannocheck: Move into separate sub-package. + * Fri Sep 30 2022 Nick Clifton - 10.87-1 - Libannocheck: Add libannocheck.pc pkgconfig file. From 0062e138c986a270c44e4018aac4423f2b23f7e3 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 11 Oct 2022 12:24:53 +0100 Subject: [PATCH 191/361] Libannocheck: Remove 'Requires binutils-devel' from libannocheck.pc. --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 8a461b1..17ec602 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.87 -Release: 2%{?dist} +Version: 10.88 +Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -508,6 +508,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Oct 11 2022 Nick Clifton - 10.88-1 +- Libannocheck: Remove 'Requires binutils-devel' from libannocheck.pc. + * Wed Oct 05 2022 Nick Clifton - 10.87-2 - Libannocheck: Move into separate sub-package. diff --git a/sources b/sources index f984e52..cf94be5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.87.tar.xz) = 231bd9e108719261ea6cac52f9f035f586e3123d870973813f1c5ac43545ab61dc2c8a0bf048141c9587c5028accf238c39344165eab1b2a3db7d55380b31e65 +SHA512 (annobin-10.88.tar.xz) = 30fdedc624a138d95f48eca5957b74da9a1289eac7c2a513084162ab34369badae63e3fa31d45ed968c529415e968f51fef4b37a251d633a48160ebe53df2e7f From f85d35312bb29ae0f444430cdef0c8fd883e5b4d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 17 Oct 2022 14:45:49 +0100 Subject: [PATCH 192/361] Libannocheck: Replace libannocheck_version variable with LIBANNOCHECK_VERSION define. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 17ec602..dcd719c 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.88 +Version: 10.89 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -508,6 +508,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Oct 11 2022 Nick Clifton - 10.89-1 +- Libannocheck: Replace libannocheck_version variable with LIBANNOCHECK_VERSION define. + * Tue Oct 11 2022 Nick Clifton - 10.88-1 - Libannocheck: Remove 'Requires binutils-devel' from libannocheck.pc. diff --git a/sources b/sources index cf94be5..ef20e60 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.88.tar.xz) = 30fdedc624a138d95f48eca5957b74da9a1289eac7c2a513084162ab34369badae63e3fa31d45ed968c529415e968f51fef4b37a251d633a48160ebe53df2e7f +SHA512 (annobin-10.89.tar.xz) = 437a53f48ba49e055a96e71fe586a81335a8825c9e54d3fc76429d340f4c0308adc70aa600af7c11523abe6e261a70dc0bd1f2e89658f37fba19739574fd17a0 From 3ce07632bf1dc0b5b9804c0ed4adc8b0bd1f9cbf Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 19 Oct 2022 16:11:48 +0100 Subject: [PATCH 193/361] Libannocheck: Actually set result fields after tests are run. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index dcd719c..6484b90 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.89 +Version: 10.90 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -508,6 +508,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Oct 19 2022 Nick Clifton - 10.90-1 +- Libannocheck: Actually set result fields after tests are run. + * Tue Oct 11 2022 Nick Clifton - 10.89-1 - Libannocheck: Replace libannocheck_version variable with LIBANNOCHECK_VERSION define. diff --git a/sources b/sources index ef20e60..537ade8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.89.tar.xz) = 437a53f48ba49e055a96e71fe586a81335a8825c9e54d3fc76429d340f4c0308adc70aa600af7c11523abe6e261a70dc0bd1f2e89658f37fba19739574fd17a0 +SHA512 (annobin-10.90.tar.xz) = 42a7b438eccdf81792f4452d57af619a966f436f8745bfaf05dc47f11ee9d337ffd0a2ea93ff86828053a57029a6cb74e473d19d454ddc4c4d778014c75f6c5c From 48b426400284ebed64eaa0131ad17ba6c0903de4 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 21 Oct 2022 12:41:20 +0100 Subject: [PATCH 194/361] Tests: Fix future-test so that it properly handles the situation where the compiler does not support the new options. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 6484b90..6792460 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.90 +Version: 10.91 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -508,6 +508,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Oct 21 2022 Nick Clifton - 10.91-1 +- Tests: Fix future-test so that it properly handles the situation where the compiler does not support the new options. + * Wed Oct 19 2022 Nick Clifton - 10.90-1 - Libannocheck: Actually set result fields after tests are run. diff --git a/sources b/sources index 537ade8..ea31ce3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.90.tar.xz) = 42a7b438eccdf81792f4452d57af619a966f436f8745bfaf05dc47f11ee9d337ffd0a2ea93ff86828053a57029a6cb74e473d19d454ddc4c4d778014c75f6c5c +SHA512 (annobin-10.91.tar.xz) = d7c6e77f3e0385dccf1bb3fba4804675a679ec02a192768974ccad22350dcf6858232708189615ee3063da83b0372afca5b66d82282df49903cd4178913fa9d2 From e1f5135ff6fc7c3a3121746212b7090330ce8258 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 7 Nov 2022 18:00:03 +0000 Subject: [PATCH 195/361] Annocheck: Try harder not to run mutually exclusive tests. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 6792460..0ddc593 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.91 +Version: 10.92 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -508,6 +508,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Nov 07 2022 Nick Clifton - 10.92-1 +- Annocheck: Try harder not to run mutually exclusive tests. + * Fri Oct 21 2022 Nick Clifton - 10.91-1 - Tests: Fix future-test so that it properly handles the situation where the compiler does not support the new options. diff --git a/sources b/sources index ea31ce3..7cef5c7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.91.tar.xz) = d7c6e77f3e0385dccf1bb3fba4804675a679ec02a192768974ccad22350dcf6858232708189615ee3063da83b0372afca5b66d82282df49903cd4178913fa9d2 +SHA512 (annobin-10.92.tar.xz) = 302c6f088953ef1f0b9bf69f4fbc3c26bb60ffc5a03e19acf7584494b92184bac34c3bb8d7c43fe7915fb60efb806ed81f09b6567abd80ba6f0fedb267240ce0 From 5ed44f97c80eda2c9ed88f6185a44f52fd85809e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 23 Nov 2022 14:07:59 +0000 Subject: [PATCH 196/361] Annocheck: Provide more information when a test is skipped because the file being tested was not compiled. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 0ddc593..1ad07a2 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.92 +Version: 10.93 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -508,6 +508,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Nov 23 2022 Nick Clifton - 10.93-1 +- Annocheck: Provide more information when a test is skipped because the file being tested was not compiled. + * Mon Nov 07 2022 Nick Clifton - 10.92-1 - Annocheck: Try harder not to run mutually exclusive tests. diff --git a/sources b/sources index 7cef5c7..3a0cccf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.92.tar.xz) = 302c6f088953ef1f0b9bf69f4fbc3c26bb60ffc5a03e19acf7584494b92184bac34c3bb8d7c43fe7915fb60efb806ed81f09b6567abd80ba6f0fedb267240ce0 +SHA512 (annobin-10.93.tar.xz) = e07ed578379372057574c5cb3737fd3105a032131761c9ca8b15be693109fa1953c78ff5302c5db22b5f48e41477ea3fb4ff10dc1d5d3d4f932838099bd48b8e From a943824136cf9b627e6627ccc87a6145d00d09cb Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 30 Nov 2022 10:02:01 +0000 Subject: [PATCH 197/361] Annocheck: Better detection of binaries which do not contain code. (#2144533) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 1ad07a2..5724e2b 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.93 +Version: 10.94 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -508,6 +508,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Nov 30 2022 Nick Clifton - 10.94-1 +- Annocheck: Better detection of binaries which do not contain code. (#2144533) + * Wed Nov 23 2022 Nick Clifton - 10.93-1 - Annocheck: Provide more information when a test is skipped because the file being tested was not compiled. diff --git a/sources b/sources index 3a0cccf..a22ea39 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.93.tar.xz) = e07ed578379372057574c5cb3737fd3105a032131761c9ca8b15be693109fa1953c78ff5302c5db22b5f48e41477ea3fb4ff10dc1d5d3d4f932838099bd48b8e +SHA512 (annobin-10.94.tar.xz) = da6cee60c5640ed30ee8c359e0f0450cafd41164a0136144350216403347de90e8ed417b370007f444eba202dcd45e13639c4defcf4e6da90337d4d65f3e2187 From 79c88cf6699b5a170f76d6d8702cea3f1d5d60e7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 12 Dec 2022 13:36:29 +0000 Subject: [PATCH 198/361] Avoid using debug filename when parsing notes in a debuginfo file. (#2152280) --- annobin.spec | 6 +++++- sources | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 5724e2b..c9d6ff9 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,11 +1,12 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.94 +Version: 10.95 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com +# Web Page: https://sourceware.org/annobin/ # Watermark Protocol: https://fedoraproject.org/wiki/Toolchain/Watermark #--------------------------------------------------------------------------------- @@ -508,6 +509,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Dec 12 2022 Nick Clifton - 10.95-1 +- Annocheck: Avoid using debug filename when parsing notes in a debuginfo file. (#2152280) + * Wed Nov 30 2022 Nick Clifton - 10.94-1 - Annocheck: Better detection of binaries which do not contain code. (#2144533) diff --git a/sources b/sources index a22ea39..a3f4526 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.94.tar.xz) = da6cee60c5640ed30ee8c359e0f0450cafd41164a0136144350216403347de90e8ed417b370007f444eba202dcd45e13639c4defcf4e6da90337d4d65f3e2187 +SHA512 (annobin-10.95.tar.xz) = d37513de7b7cf83b0a1680fcf354ce2efbf21384f509339b572ea3cc332a718d5f6a2fbc2037cec25863dc369a201d00ff7e7aef1a05f1a5f6b94ef2c6c5e74e From c30926d7506bea0cd98bad05dc531dafb15d23c8 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 15 Dec 2022 11:21:15 +0000 Subject: [PATCH 199/361] Annocheck: Improve heuristic used to detect binaries without code. (#2144533) --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index c9d6ff9..dcf8506 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.95 +Version: 10.96 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -509,6 +509,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Dec 15 2022 Nick Clifton - 10.96-1 +- Annocheck: Improve heuristic used to detect binaries without code. (#2144533) + * Mon Dec 12 2022 Nick Clifton - 10.95-1 - Annocheck: Avoid using debug filename when parsing notes in a debuginfo file. (#2152280) From 567f2c40ba0f502d0b6bfcc3609fee4a0174f695 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 15 Dec 2022 11:30:58 +0000 Subject: [PATCH 200/361] Add new sources --- sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources b/sources index a3f4526..bc474c0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.95.tar.xz) = d37513de7b7cf83b0a1680fcf354ce2efbf21384f509339b572ea3cc332a718d5f6a2fbc2037cec25863dc369a201d00ff7e7aef1a05f1a5f6b94ef2c6c5e74e +SHA512 (annobin-10.96.tar.xz) = b2629aa48004db79d9a69812df63bee8c2b1b0d5ab04140b253b94f4a607962693b43e0dc9d933b1a9b21163c64b2b20b836c22085bf844a3a72d763aeea9492 From 2f21168d4c1a5810c4b1bde06da6c06514300b2b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 16 Dec 2022 08:48:26 +0000 Subject: [PATCH 201/361] Annocheck: Add test for binaries built by cross compilers --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index dcf8506..6469110 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.96 +Version: 10.97 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -509,6 +509,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Dec 16 2022 Nick Clifton - 10.97-1 +- Annocheck: Add test for binaries built by cross compilers. + * Thu Dec 15 2022 Nick Clifton - 10.96-1 - Annocheck: Improve heuristic used to detect binaries without code. (#2144533) diff --git a/sources b/sources index bc474c0..2982247 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.96.tar.xz) = b2629aa48004db79d9a69812df63bee8c2b1b0d5ab04140b253b94f4a607962693b43e0dc9d933b1a9b21163c64b2b20b836c22085bf844a3a72d763aeea9492 +SHA512 (annobin-10.97.tar.xz) = 3d9f302fbf69c388c760e67c953464b36410d3ad10cd489e5eb15ec5c9d1272775a9a8ac6ded4a89807b5d651e765ae2782143113de878eb525c562250039a4e From 072153ed0c6aabd333a7b1c141ae33efabfe493a Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 16 Dec 2022 11:29:52 +0000 Subject: [PATCH 202/361] GCC plugin: Fix building with gcc-13. --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 6469110..9763de8 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.97 +Version: 10.98 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -509,6 +509,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Dec 16 2022 Nick Clifton - 10.98-1 +- GCC plugin: Fix building with gcc-13. + * Fri Dec 16 2022 Nick Clifton - 10.97-1 - Annocheck: Add test for binaries built by cross compilers. From be2978da15a2b4252f4f7c3f555c405d43b571c7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 16 Dec 2022 11:36:22 +0000 Subject: [PATCH 203/361] add new sources --- sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources b/sources index 2982247..f68617a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.97.tar.xz) = 3d9f302fbf69c388c760e67c953464b36410d3ad10cd489e5eb15ec5c9d1272775a9a8ac6ded4a89807b5d651e765ae2782143113de878eb525c562250039a4e +SHA512 (annobin-10.98.tar.xz) = 523651275dd99e45d1611acdb1196948de034354730d07d7d5fe1f8946647b296532bcef1a3f1d18b7759a7bdf1c33c7574b3073eb7682696527ab67da95caa2 From 5271f2bc79fa5a42fe0ca42bcac025dcde79d6fc Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 20 Dec 2022 11:00:37 +0000 Subject: [PATCH 204/361] Spec File: Fix building with plugin_rebuild enabled. --- annobin.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/annobin.spec b/annobin.spec index 9763de8..a370f9a 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.98 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -38,7 +38,7 @@ URL: https://sourceware.org/annobin/ # checking logic or when building on RHEL-7 or earlier. %global with_hard_gcc_version_requirement 1 -%bcond_with plugin_rebuild +%bcond_without plugin_rebuild # Allow the building of annobin without using annobin itself. # This is because if we are bootstrapping a new build environment we can have # a new version of gcc installed, but without a new of annobin installed. @@ -396,8 +396,12 @@ cp gcc-plugin/.libs/annobin.so.0.0.0 %{_tmppath}/tmp_annobin.so make -C gcc-plugin clean BUILD_FLAGS="-fplugin=%{_tmppath}/tmp_annobin.so" -# Disable the standard annobin plugin so that we do get conflicts. -OPTS="$(rpm --eval '%undefine _annotated_build %build_cflags %build_ldflags')" +%if 0%{?_annotated_build} == 0 +OPTS="$(rpm --eval '%build_cflags %build_ldflags')" +%else +# Disable the standard annobin plugin so that we do not get conflicts. +OPTS="$(rpm --eval '%undefine _annotated_build %%build_cflags %build_ldflags')" +%endif # If building on systems with an assembler that does not support the # .attach_to_group pseudo op (eg RHEL-7) then enable the next line. @@ -509,6 +513,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Dec 20 2022 Nick Clifton - 10.98-2 +- Spec File: Fix building with plugin_rebuild enabled. + * Fri Dec 16 2022 Nick Clifton - 10.98-1 - GCC plugin: Fix building with gcc-13. From c1204cc8ac0179fdafbff9ed983b160e0d371db9 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 20 Dec 2022 11:33:24 +0000 Subject: [PATCH 205/361] Spec File: Fix rebuilding plugins (better version). --- annobin.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index a370f9a..1d3c25c 100644 --- a/annobin.spec +++ b/annobin.spec @@ -400,7 +400,7 @@ BUILD_FLAGS="-fplugin=%{_tmppath}/tmp_annobin.so" OPTS="$(rpm --eval '%build_cflags %build_ldflags')" %else # Disable the standard annobin plugin so that we do not get conflicts. -OPTS="$(rpm --eval '%undefine _annotated_build %%build_cflags %build_ldflags')" +OPTS="$(rpm --undefine=_annotated_build --eval '%build_cflags %build_ldflags')" %endif # If building on systems with an assembler that does not support the @@ -513,7 +513,7 @@ fi #--------------------------------------------------------------------------------- %changelog -* Tue Dec 20 2022 Nick Clifton - 10.98-2 +* Tue Dec 20 2022 Nick Clifton - 10.98-3 - Spec File: Fix building with plugin_rebuild enabled. * Fri Dec 16 2022 Nick Clifton - 10.98-1 From 2bb2ec5d78dbc77c339d95d91cacdc50a267f53c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 20 Dec 2022 13:11:50 +0000 Subject: [PATCH 206/361] NVR bump to allow rebuild --- annobin.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 1d3c25c..f370402 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.98 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com From 8749815a7692c68ffdd32af3d933ae3d60697cc0 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 21 Dec 2022 16:30:12 +0000 Subject: [PATCH 207/361] Improve handling of tool versions --- annobin.spec | 14 +++++++++----- sources | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/annobin.spec b/annobin.spec index f370402..f01e281 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.98 -Release: 3%{?dist} +Version: 10.99 +Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -396,10 +396,11 @@ cp gcc-plugin/.libs/annobin.so.0.0.0 %{_tmppath}/tmp_annobin.so make -C gcc-plugin clean BUILD_FLAGS="-fplugin=%{_tmppath}/tmp_annobin.so" -%if 0%{?_annotated_build} == 0 -OPTS="$(rpm --eval '%build_cflags %build_ldflags')" +# Disable the standard annobin plugin so that we do get conflicts. +# Note - Fedora's rpm uses a different way of evaluating macros. +%if 0%{?fedora} == 0 +OPTS="$(rpm --eval '%undefine _annotated_build %build_cflags %build_ldflags')" %else -# Disable the standard annobin plugin so that we do not get conflicts. OPTS="$(rpm --undefine=_annotated_build --eval '%build_cflags %build_ldflags')" %endif @@ -513,6 +514,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Dec 21 2022 Nick Clifton - 10.99-1 +- Annocheck: Improve handling of tool versions. + * Tue Dec 20 2022 Nick Clifton - 10.98-3 - Spec File: Fix building with plugin_rebuild enabled. diff --git a/sources b/sources index f68617a..48309aa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.98.tar.xz) = 523651275dd99e45d1611acdb1196948de034354730d07d7d5fe1f8946647b296532bcef1a3f1d18b7759a7bdf1c33c7574b3073eb7682696527ab67da95caa2 +SHA512 (annobin-10.99.tar.xz) = 601bd90aa4b6528f595efebf5b864aae5176e8e9d80c7f9cf77a1252b85a15c8440866a1f4881176f6bb50418c037e8924f32456533e90de473dae8abe92d53e From 2ec6c8b01cc00df0fc30153faa3d0e3a9723ab97 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 4 Jan 2023 11:56:35 +0000 Subject: [PATCH 208/361] annocheck: Add more special glibc files --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index f01e281..d7f6015 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 10.99 +Version: 11.01 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -514,6 +514,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Jan 04 2023 Nick Clifton - 11.01-1 +- Annocheck: Add more special glibc filenames. + * Wed Dec 21 2022 Nick Clifton - 10.99-1 - Annocheck: Improve handling of tool versions. diff --git a/sources b/sources index 48309aa..495dc00 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-10.99.tar.xz) = 601bd90aa4b6528f595efebf5b864aae5176e8e9d80c7f9cf77a1252b85a15c8440866a1f4881176f6bb50418c037e8924f32456533e90de473dae8abe92d53e +SHA512 (annobin-11.01.tar.xz) = e89eb27a5c8c08aaafecee1e341da8e0531300b890a6ae85712812bba9233834fe61b25b9836f4a61b9a91ce6ef59fde84a684434a14135131ee774795a7fc2a From afa3de1ef8956e64ff48be693c2f31a3786d78f8 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 4 Jan 2023 15:43:33 +0000 Subject: [PATCH 209/361] nnocheck: Do not assume that object files contain no code simply because they do not have an executable segment. (#2158182) --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index d7f6015..47a1170 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 11.01 +Version: 11.02 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -514,8 +514,11 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Jan 04 2023 Nick Clifton - 11.02-1 +- Annocheck: Do not assume that object files contain no code simply because they do not have an executable segment. (#2158182) + * Wed Jan 04 2023 Nick Clifton - 11.01-1 -- Annocheck: Add more special glibc filenames. +- Annocheck: Add more special glibc filenames. (#2158100) * Wed Dec 21 2022 Nick Clifton - 10.99-1 - Annocheck: Improve handling of tool versions. diff --git a/sources b/sources index 495dc00..59592f6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-11.01.tar.xz) = e89eb27a5c8c08aaafecee1e341da8e0531300b890a6ae85712812bba9233834fe61b25b9836f4a61b9a91ce6ef59fde84a684434a14135131ee774795a7fc2a +SHA512 (annobin-11.02.tar.xz) = 18230eebd3e7dba3afbedec22c39daa0dd60f4ab0d0f558b15cbe5cfa078a7a67236553dce85ec04df98735e71b65a24be531f748a5f3d9e95b84c756b85cc06 From 4ff4a783cb550253806daa61d087e553184f4bc3 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 6 Jan 2023 09:51:48 +0000 Subject: [PATCH 210/361] Annocheck: Fix memory leaks --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 47a1170..99db5d0 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 11.02 +Version: 11.03 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -514,6 +514,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Jan 06 2023 Nick Clifton - 11.03-1 +- Annocheck: Fix memory leaks. + * Wed Jan 04 2023 Nick Clifton - 11.02-1 - Annocheck: Do not assume that object files contain no code simply because they do not have an executable segment. (#2158182) diff --git a/sources b/sources index 59592f6..547464f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-11.02.tar.xz) = 18230eebd3e7dba3afbedec22c39daa0dd60f4ab0d0f558b15cbe5cfa078a7a67236553dce85ec04df98735e71b65a24be531f748a5f3d9e95b84c756b85cc06 +SHA512 (annobin-11.03.tar.xz) = 1044ee998247759e40a6db848dcfe87d13742c3a58253968c02d5a818e4fda13341ca6aea816d55179c33b432a9fc9f0924c486cc268ee1cfa497b9e255a65ef From ba8d65fa5bc53bd410fd0f7ed76545e96579130f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 6 Jan 2023 13:50:48 +0000 Subject: [PATCH 211/361] Annocheck: Add crti.o and crtn.o to the list of known glibc special files. (#2158740) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 99db5d0..6610397 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 11.03 +Version: 11.04 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -514,6 +514,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Jan 06 2023 Nick Clifton - 11.04-1 +- Annocheck: Add crti.o and crtn.o to the list of known glibc special files. (#2158740) + * Fri Jan 06 2023 Nick Clifton - 11.03-1 - Annocheck: Fix memory leaks. diff --git a/sources b/sources index 547464f..aad349a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-11.03.tar.xz) = 1044ee998247759e40a6db848dcfe87d13742c3a58253968c02d5a818e4fda13341ca6aea816d55179c33b432a9fc9f0924c486cc268ee1cfa497b9e255a65ef +SHA512 (annobin-11.04.tar.xz) = 8b0b1f8a89b44a7191de414e161b787049aaff184c1aa40e515a27e765b96cee0dfd2120b6b645a9a82c385fee527772a757bb1d4f77495fbc96e4c77522eb49 From 357f81a176a51450e6038b02fcdfb02ee031b1bc Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 9 Jan 2023 15:03:04 +0000 Subject: [PATCH 212/361] Annocheck: Fix handling of empty files. (#2159292) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 6610397..2f0ac78 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 11.04 +Version: 11.05 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -514,6 +514,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Jan 09 2023 Nick Clifton - 11.05-1 +- Annocheck: Fix handling of empty files. (#2159292) + * Fri Jan 06 2023 Nick Clifton - 11.04-1 - Annocheck: Add crti.o and crtn.o to the list of known glibc special files. (#2158740) diff --git a/sources b/sources index aad349a..a0870d5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-11.04.tar.xz) = 8b0b1f8a89b44a7191de414e161b787049aaff184c1aa40e515a27e765b96cee0dfd2120b6b645a9a82c385fee527772a757bb1d4f77495fbc96e4c77522eb49 +SHA512 (annobin-11.05.tar.xz) = 1c533ffb525c0fd0e1faa6c471d8a7a029fe6dd1887dec275e7ccea5b28b5bb0194bcb11b3c7306d332e077fd15a24e784ca96336c1886dd07bfe9c9f9e5fb52 From 886835160dcccbf44e6544b267a858f80a9fad71 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 13 Jan 2023 16:17:24 +0000 Subject: [PATCH 213/361] Annocheck: Fix handling of file built by multiple versions of gcc. (#2160700) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 2f0ac78..8c8eea5 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 11.05 +Version: 11.06 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -514,6 +514,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Jan 13 2023 Nick Clifton - 11.06-1 +- Annocheck: Fix handling of file built by multiple versions of gcc. (#2160700) + * Mon Jan 09 2023 Nick Clifton - 11.05-1 - Annocheck: Fix handling of empty files. (#2159292) diff --git a/sources b/sources index a0870d5..b52267b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-11.05.tar.xz) = 1c533ffb525c0fd0e1faa6c471d8a7a029fe6dd1887dec275e7ccea5b28b5bb0194bcb11b3c7306d332e077fd15a24e784ca96336c1886dd07bfe9c9f9e5fb52 +SHA512 (annobin-11.06.tar.xz) = 0a1a8e02a4381229d788b05fb6819e6e78306e51383c5128b0f8796ab6b5cee6d8aa2e60dab87c109af64dcf788a6a129fe431d60016f1e7125207a6c1d8af92 From 4cdb52a0c258f1336a509178cbdf744721cf7fee Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 16 Jan 2023 13:06:48 +0100 Subject: [PATCH 214/361] Rebuilt against GCC 13. --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 8c8eea5..e567647 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 11.06 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -514,6 +514,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Mon Jan 16 2023 Jakub Jelinek - 11.06-2 +- Rebuilt against GCC 13. + * Fri Jan 13 2023 Nick Clifton - 11.06-1 - Annocheck: Fix handling of file built by multiple versions of gcc. (#2160700) From d5c3f3f99c5635e9ba58b7359d9a2c0afe2bd85d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 18 Jan 2023 21:45:12 +0000 Subject: [PATCH 215/361] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index e567647..41de040 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 11.06 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -514,6 +514,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Jan 18 2023 Fedora Release Engineering - 11.06-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Mon Jan 16 2023 Jakub Jelinek - 11.06-2 - Rebuilt against GCC 13. From 0dd004a8d87ecd97ef7c6edd399ee49736cee345 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 20 Jan 2023 16:38:35 +0000 Subject: [PATCH 216/361] Libannocheck: Fix bug causing infinite looping when running tests. --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 41de040..cfe7733 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 11.06 -Release: 3%{?dist} +Version: 11.07 +Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -514,6 +514,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Jan 20 2023 Nick Clifton - 11.07-1 +- Libannocheck: Fix bug causing infinite looping when running tests. + * Wed Jan 18 2023 Fedora Release Engineering - 11.06-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index b52267b..8421e41 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-11.06.tar.xz) = 0a1a8e02a4381229d788b05fb6819e6e78306e51383c5128b0f8796ab6b5cee6d8aa2e60dab87c109af64dcf788a6a129fe431d60016f1e7125207a6c1d8af92 +SHA512 (annobin-11.07.tar.xz) = 4875f4798c2303cf21e55dbd632acfc5c6e77f4769546b5a465be6777f0081317dc99a91b3da84e384724910d5e03a333b1237e248ce59bf85fa302ba7634f3a From 250db92462e43571e433383583613a2ac3f75c18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Kadl=C4=8D=C3=ADk?= Date: Tue, 24 Jan 2023 15:05:19 +0100 Subject: [PATCH 217/361] Adapt to TMT 1.19+ The Fedora testing farm was updated to TMT 1.19 in December. "how: beakerlib" in our test metadata is no longer supported, this commit fixes it. --- plans/ci.fmf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plans/ci.fmf b/plans/ci.fmf index 1ad2c12..85710d6 100644 --- a/plans/ci.fmf +++ b/plans/ci.fmf @@ -3,4 +3,4 @@ discover: how: fmf directory: tests execute: - how: beakerlib + how: tmt From bc0466b88d24c1118209f3835d4acf35b3de635a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Kadl=C4=8D=C3=ADk?= Date: Tue, 24 Jan 2023 15:09:53 +0100 Subject: [PATCH 218/361] Make requirements in gating tests more explicit Make requirements stricter (required packages instead of recommended packages) and remove requirements that are no longer needed. The previous requirements caused failures in manual testing and possibly some gating failures as well. --- .../main.fmf | 4 +++- tests/Regression/identify/main.fmf | 11 ++--------- .../Regression/lto-preprocessor-options/main.fmf | 7 ++++--- .../main.fmf | 4 ++-- .../processing-params-in-reverse-order/main.fmf | 4 ++-- .../main.fmf | 5 +++-- tests/Regression/testsuite/main.fmf | 16 ++++++---------- .../main.fmf | 5 +++-- tests/Sanity/smoke/main.fmf | 6 +++--- 9 files changed, 28 insertions(+), 34 deletions(-) diff --git a/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/main.fmf b/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/main.fmf index 435d7ff..e0cbc5d 100644 --- a/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/main.fmf +++ b/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/main.fmf @@ -8,9 +8,11 @@ component: - annobin test: ./runtest.sh framework: beakerlib -recommend: +require: - annobin-annocheck +- annobin-plugin-gcc - gcc +- redhat-rpm-config duration: 48h extra-summary: /tools/annobin/Regression/annobin-fails-to-skip-endbr64-entry-point-check extra-task: /tools/annobin/Regression/annobin-fails-to-skip-endbr64-entry-point-check diff --git a/tests/Regression/identify/main.fmf b/tests/Regression/identify/main.fmf index a10e87d..674544e 100644 --- a/tests/Regression/identify/main.fmf +++ b/tests/Regression/identify/main.fmf @@ -7,15 +7,8 @@ component: test: ./runtest.sh framework: beakerlib recommend: -- annobin -- devtoolset-10 -- devtoolset-10-annocheck -- devtoolset-11 -- devtoolset-11-annocheck -- gcc-toolset-10 -- gcc-toolset-10-annocheck -- gcc-toolset-11 -- gcc-toolset-11-annocheck +- annobin-plugin-gcc +- annobin-annocheck duration: 48h extra-summary: /tools/annobin/Regression/identify extra-task: /tools/annobin/Regression/identify diff --git a/tests/Regression/lto-preprocessor-options/main.fmf b/tests/Regression/lto-preprocessor-options/main.fmf index 03e6b88..2a3e56a 100644 --- a/tests/Regression/lto-preprocessor-options/main.fmf +++ b/tests/Regression/lto-preprocessor-options/main.fmf @@ -6,11 +6,12 @@ component: - annobin test: ./runtest.sh framework: beakerlib -recommend: -- gcc -- annobin +require: +- annobin-plugin-gcc - annobin-annocheck - redhat-rpm-config +- gcc +- redhat-rpm-config duration: 48h extra-summary: /tools/annobin/Regression/lto-preprocessor-options extra-task: /tools/annobin/Regression/lto-preprocessor-options diff --git a/tests/Regression/missing-check-for-x86-property-note-content/main.fmf b/tests/Regression/missing-check-for-x86-property-note-content/main.fmf index a7afb11..b4ab7fd 100644 --- a/tests/Regression/missing-check-for-x86-property-note-content/main.fmf +++ b/tests/Regression/missing-check-for-x86-property-note-content/main.fmf @@ -7,8 +7,8 @@ component: - annobin test: ./runtest.sh framework: beakerlib -recommend: -- annobin +require: +- annobin-annocheck duration: 48h link: - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1991931 diff --git a/tests/Regression/processing-params-in-reverse-order/main.fmf b/tests/Regression/processing-params-in-reverse-order/main.fmf index 19b497d..99adc08 100644 --- a/tests/Regression/processing-params-in-reverse-order/main.fmf +++ b/tests/Regression/processing-params-in-reverse-order/main.fmf @@ -7,8 +7,8 @@ component: - annobin test: ./runtest.sh framework: beakerlib -recommend: -- annobin +require: +- annobin-annocheck duration: 48h link: - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1988714 diff --git a/tests/Regression/segv-when-processing-multiple-params-incl-symlink/main.fmf b/tests/Regression/segv-when-processing-multiple-params-incl-symlink/main.fmf index bd8362f..07395fa 100644 --- a/tests/Regression/segv-when-processing-multiple-params-incl-symlink/main.fmf +++ b/tests/Regression/segv-when-processing-multiple-params-incl-symlink/main.fmf @@ -7,8 +7,9 @@ component: - annobin test: ./runtest.sh framework: beakerlib -recommend: -- annobin +require: +- annobin-plugin-gcc +- annobin-annocheck - libstdc++ duration: 48h link: diff --git a/tests/Regression/testsuite/main.fmf b/tests/Regression/testsuite/main.fmf index 7352f78..f117f62 100644 --- a/tests/Regression/testsuite/main.fmf +++ b/tests/Regression/testsuite/main.fmf @@ -6,23 +6,19 @@ component: - annobin test: ./runtest.sh framework: beakerlib -recommend: -- annobin +require: +- annobin-plugin-gcc - annobin-annocheck - binutils-devel -- gcc -- gcc-c++ +- bzip2-devel +- dnf - elfutils - elfutils-devel +- gcc-c++ +- gcc-plugin-devel - make - rpm-build - rpm-devel -- gcc-plugin-devel -- yum -- dnf -- yum-utils -- bzip2-devel -- rpm-build duration: 48h extra-summary: /tools/annobin/Regression/testsuite extra-task: /tools/annobin/Regression/testsuite diff --git a/tests/Sanity/annocheck-silently-ignores-any-file-parameter/main.fmf b/tests/Sanity/annocheck-silently-ignores-any-file-parameter/main.fmf index 9aea593..9ece622 100644 --- a/tests/Sanity/annocheck-silently-ignores-any-file-parameter/main.fmf +++ b/tests/Sanity/annocheck-silently-ignores-any-file-parameter/main.fmf @@ -7,8 +7,9 @@ component: - annobin test: ./runtest.sh framework: beakerlib -recommend: -- annobin +require: +- annobin-plugin-gcc +- annobin-annocheck duration: 48h link: - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1973981 diff --git a/tests/Sanity/smoke/main.fmf b/tests/Sanity/smoke/main.fmf index 49d2862..fca8ae4 100644 --- a/tests/Sanity/smoke/main.fmf +++ b/tests/Sanity/smoke/main.fmf @@ -6,11 +6,11 @@ component: - annobin test: ./runtest.sh framework: beakerlib -recommend: +require: +- annobin-plugin-gcc +- annobin-annocheck - man-db - gcc -- annobin -- annobin-annocheck duration: 48h extra-summary: /tools/annobin/Sanity/smoke extra-task: /tools/annobin/Sanity/smoke From f45bd71eb38d48872e9706c6eafeaa89a23e95e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Kadl=C4=8D=C3=ADk?= Date: Tue, 24 Jan 2023 15:15:39 +0100 Subject: [PATCH 219/361] Adapt test scripts to newest annobin versions --- .../runtest.sh | 5 +---- tests/Regression/testsuite/runtest.sh | 2 +- .../runtest.sh | 7 ++++--- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/runtest.sh b/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/runtest.sh index 41312a4..91fa544 100755 --- a/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/runtest.sh +++ b/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/runtest.sh @@ -28,13 +28,10 @@ # Include Beaker environment . /usr/share/beakerlib/beakerlib.sh || exit 1 -PACKAGE="annobin" - rlJournalStart rlPhaseStartSetup rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory" rlRun "pushd $TmpDir" - rlRun "rpm -q annobin-annocheck gcc" rlPhaseEnd rlPhaseStartTest @@ -43,7 +40,7 @@ rlJournalStart rlRun "gcc `rpm --eval %build_cflags` -fpic -c f1.c" rlRun "gcc `rpm --eval %build_cflags` -fpic -c f2.c" rlRun "gcc `rpm --eval %build_ldflags` -shared f1.o f2.o" - rlRun "annocheck -v a.out" + rlRun "annocheck -v --skip-lto a.out" rlPhaseEnd rlPhaseStartCleanup diff --git a/tests/Regression/testsuite/runtest.sh b/tests/Regression/testsuite/runtest.sh index c8016ad..1507c45 100755 --- a/tests/Regression/testsuite/runtest.sh +++ b/tests/Regression/testsuite/runtest.sh @@ -62,7 +62,7 @@ rlJournalStart rlRun "pushd $TMP" rlFetchSrcForInstalled $PACKAGE - rlRun "yum-builddep -y *src.rpm" + rlRun "dnf builddep -y *src.rpm" rlRun "rpm --define='_topdir $TMP' -Uvh *src.rpm" rlRun "rpmbuild --define='_topdir $TMP' -bc SPECS/annobin.spec" rlPhaseEnd diff --git a/tests/Sanity/annocheck-silently-ignores-any-file-parameter/runtest.sh b/tests/Sanity/annocheck-silently-ignores-any-file-parameter/runtest.sh index ca991af..bb1a436 100755 --- a/tests/Sanity/annocheck-silently-ignores-any-file-parameter/runtest.sh +++ b/tests/Sanity/annocheck-silently-ignores-any-file-parameter/runtest.sh @@ -28,8 +28,6 @@ # Include Beaker environment . /usr/share/beakerlib/beakerlib.sh || exit 1 -PACKAGE="annobin" - rlJournalStart rlPhaseStartSetup rlRun "TMP=$(mktemp -d)" @@ -41,7 +39,10 @@ rlJournalStart samplecnt=$(ls *.sample | wc -l) testcnt=$(ls *.sample | \ xargs annocheck |& \ - fgrep '.sample: is not an ELF format file' | wc -l) + grep -F \ + -e '.sample: unable to read magic number' \ + -e '.sample: is not an ELF format file' \ + | wc -l) rlRun "test $samplecnt -eq 300" rlRun "test $testcnt -eq 300" rlPhaseEnd From fff7a227998e049f55b626915516d48c73b804c7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 25 Jan 2023 12:43:46 +0000 Subject: [PATCH 220/361] LLVM & Clang Plugins: Build with branch protection on AArch64. (#2164364) Fix gating tests. --- annobin.spec | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index cfe7733..925c8a9 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 11.07 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -372,11 +372,19 @@ export CFLAGS="$CFLAGS -DAARCH64_BRANCH_PROTECTION_SUPPORTED=1" export CFLAGS="$CFLAGS $RPM_OPT_FLAGS %build_cflags" export LDFLAGS="$LDFLAGS %build_ldflags" +# Set target-specific security options to be used when building the +# Clang and LLVM plugins. FIXME: There should be a better way to do +# this. %ifarch %{ix86} x86_64 -# FIXME: There should be a better way to do this. export CLANG_TARGET_OPTIONS="-fcf-protection" %endif +%ifarch aarch64 +%if 0%{?fedora} != 0 +export CLANG_TARGET_OPTIONS="-mbranch-protection=standard" +%endif +%endif + %ifarch ppc ppc64 ppc64le # FIXME: This is a workaround for a problem with the Clang C++ headers. It should not be needed. export CLANG_TARGET_OPTIONS="-mabi=ibmlongdouble" @@ -514,6 +522,10 @@ fi #--------------------------------------------------------------------------------- %changelog +* Wed Jan 25 2023 Nick Clifton - 11.07-2 +- LLVM & Clang Plugins: Build with branch protection on AArch64. (#2164364) +- Fix gating tests. + * Fri Jan 20 2023 Nick Clifton - 11.07-1 - Libannocheck: Fix bug causing infinite looping when running tests. From b9a468338714b32b7f6a04f4645d2eeaa5b13a33 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 31 Jan 2023 08:22:35 +0000 Subject: [PATCH 221/361] Annocheck: Fix atexit test. Fix recording of version numbers. (#2165528) --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 925c8a9..e32c324 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 11.07 -Release: 2%{?dist} +Version: 11.08 +Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -522,6 +522,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Jan 31 2023 Nick Clifton - 11.08-1 +- Annocheck: Fix atexit test. Fix recording of version numbers. (#2165528) + * Wed Jan 25 2023 Nick Clifton - 11.07-2 - LLVM & Clang Plugins: Build with branch protection on AArch64. (#2164364) - Fix gating tests. diff --git a/sources b/sources index 8421e41..98d9553 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-11.07.tar.xz) = 4875f4798c2303cf21e55dbd632acfc5c6e77f4769546b5a465be6777f0081317dc99a91b3da84e384724910d5e03a333b1237e248ce59bf85fa302ba7634f3a +SHA512 (annobin-11.08.tar.xz) = 233e0314648b3577bd3e8f977b7da523e3c1770664dd0ade10e97fa251aa00fe1e02fb3104973bf5f6a30b1acb21772a3d9ba05c89bf1edf2feb665f88000fee From f2ce5118865af024674b74281c6b1f2bbd4505cf Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 2 Feb 2023 15:25:05 +0000 Subject: [PATCH 222/361] Libannocheck: Fix thinko in debugging code. - Annocheck: Fix LTO test. - Notes: Display notes held in separate dbeuginfo files. --- annobin.spec | 7 ++++++- sources | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index e32c324..bda9689 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 11.08 +Version: 11.09 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -522,6 +522,11 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Feb 02 2023 Nick Clifton - 11.09-1 +- Libannocheck: Fix thinko in debugging code. +- Annocheck: Fix LTO test. +- Notes: Display notes held in separate dbeuginfo files. + * Tue Jan 31 2023 Nick Clifton - 11.08-1 - Annocheck: Fix atexit test. Fix recording of version numbers. (#2165528) diff --git a/sources b/sources index 98d9553..91f7d51 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-11.08.tar.xz) = 233e0314648b3577bd3e8f977b7da523e3c1770664dd0ade10e97fa251aa00fe1e02fb3104973bf5f6a30b1acb21772a3d9ba05c89bf1edf2feb665f88000fee +SHA512 (annobin-11.09.tar.xz) = 41bf99d07110630f5b8773eb1e83d3d7c1355dae531d66f66721d45b06d9e0da01b447e5279480d62516303fdce6b9d0f1c8e8f6d541c42a590ce97b6c79f996 From 1465b9cc20404fa1acd75289f77d8860e1fb62f7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 23 Feb 2023 13:44:06 +0000 Subject: [PATCH 223/361] Annocheck: Add code to handle glibc functions built without LTO. --- annobin.spec | 25 +++++++++++++++---------- sources | 2 +- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/annobin.spec b/annobin.spec index bda9689..38ece46 100644 --- a/annobin.spec +++ b/annobin.spec @@ -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 - 11.10-1 +- Annocheck: Add code to handle glibc functions built without LTO. + * Thu Feb 02 2023 Nick Clifton - 11.09-1 - Libannocheck: Fix thinko in debugging code. - Annocheck: Fix LTO test. diff --git a/sources b/sources index 91f7d51..19dbec4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-11.09.tar.xz) = 41bf99d07110630f5b8773eb1e83d3d7c1355dae531d66f66721d45b06d9e0da01b447e5279480d62516303fdce6b9d0f1c8e8f6d541c42a590ce97b6c79f996 +SHA512 (annobin-11.10.tar.xz) = 3f860f22d6386b1fb08ec38e9cfeda2e83ebf3e8dc80923a126a079081eb2c8578de0f81fa38ff23feea1455008caf2c4e9679e2f5c4998aeb67912d90ae6521 From 85d843af125e97421c271faa2b727436faa1d6c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Kadl=C4=8D=C3=ADk?= Date: Mon, 27 Feb 2023 09:17:24 +0100 Subject: [PATCH 224/361] Remove an obsoleted option from the CI plan TMT has obsoleted the "directory" option. We do not need to replace it with anything, the discovery phase works still the same way. --- plans/ci.fmf | 1 - 1 file changed, 1 deletion(-) diff --git a/plans/ci.fmf b/plans/ci.fmf index 85710d6..3fd3ab7 100644 --- a/plans/ci.fmf +++ b/plans/ci.fmf @@ -1,6 +1,5 @@ summary: CI Gating Plan discover: how: fmf - directory: tests execute: how: tmt From 8c78c3f165d78405d8f7cc03dcc5ea6a1ceb92e0 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 28 Feb 2023 10:52:07 +0000 Subject: [PATCH 225/361] GCC Plugin: Do not run if other plugins are active. (#2162746) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 38ece46..6f3e413 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 11.10 +Version: 11.11 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Feb 28 2023 Nick Clifton - 11.11-1 +- GCC Plugin: Do not run if other plugins are active. (#2162746) + * Thu Feb 23 2023 Nick Clifton - 11.10-1 - Annocheck: Add code to handle glibc functions built without LTO. diff --git a/sources b/sources index 19dbec4..449584d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-11.10.tar.xz) = 3f860f22d6386b1fb08ec38e9cfeda2e83ebf3e8dc80923a126a079081eb2c8578de0f81fa38ff23feea1455008caf2c4e9679e2f5c4998aeb67912d90ae6521 +SHA512 (annobin-11.11.tar.xz) = 5f62a64befe79960ef78171ba583f8417ec39bf6b8f1dfddaa495764a557752db21a4efa8b292bda8fe13afc186065a5dcf6d29f46e710fb3e89d23a0bb267c3 From 24835ca037bfe627b8d5855452d0533ae806353a Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 3 Mar 2023 16:06:25 +0000 Subject: [PATCH 226/361] Another special case for glibc --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 6f3e413..3bb9bba 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 11.11 +Version: 11.12 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Mar 03 2023 Nick Clifton - 11.12-1 +- Annocheck: Add code to handle another glibc function built without LTO. + * Tue Feb 28 2023 Nick Clifton - 11.11-1 - GCC Plugin: Do not run if other plugins are active. (#2162746) diff --git a/sources b/sources index 449584d..a12357b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-11.11.tar.xz) = 5f62a64befe79960ef78171ba583f8417ec39bf6b8f1dfddaa495764a557752db21a4efa8b292bda8fe13afc186065a5dcf6d29f46e710fb3e89d23a0bb267c3 +SHA512 (annobin-11.12.tar.xz) = f671f658b14a60f3dfd02afab8e358e4685d7d1c051ce79beadade782c425fd221c4ba998bb0543fd2bfbdba184668eb081f11439161f19f76e811faad83878f From bbc496884e270c65e757b8e16e94fcb6828cc6e2 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 8 Mar 2023 10:07:57 +0000 Subject: [PATCH 227/361] Add more exceptions for glibc functions --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 3bb9bba..af896d3 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 11.12 +Version: 11.13 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Mar 08 2023 Nick Clifton - 11.13-1 +- Annocheck: Add even more code to handle another glibc function built without LTO. + * Fri Mar 03 2023 Nick Clifton - 11.12-1 - Annocheck: Add code to handle another glibc function built without LTO. diff --git a/sources b/sources index a12357b..507d234 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-11.12.tar.xz) = f671f658b14a60f3dfd02afab8e358e4685d7d1c051ce79beadade782c425fd221c4ba998bb0543fd2bfbdba184668eb081f11439161f19f76e811faad83878f +SHA512 (annobin-11.13.tar.xz) = 7032edba07f89321ec0bda57e887b6b93944225da843bf6ccfb81281dec7fe1544f635fed3ad6c1439a33e9710504bee99222e89ef19325517ef40ce6af6479f From 71f22a9e68f21a05666908c68942283c770bc556 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 13 Mar 2023 16:10:02 +0000 Subject: [PATCH 228/361] Annocheck: Update message for LTO tests. (#2177140) --- annobin.spec | 3 +++ sources | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index af896d3..46aaf14 100644 --- a/annobin.spec +++ b/annobin.spec @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Mar 13 2023 Nick Clifton - 11.14-1 +- Annocheck: Update message for LTO tests. (#2177140) + * Wed Mar 08 2023 Nick Clifton - 11.13-1 - Annocheck: Add even more code to handle another glibc function built without LTO. diff --git a/sources b/sources index 507d234..5173186 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-11.13.tar.xz) = 7032edba07f89321ec0bda57e887b6b93944225da843bf6ccfb81281dec7fe1544f635fed3ad6c1439a33e9710504bee99222e89ef19325517ef40ce6af6479f +SHA512 (annobin-11.14.tar.xz) = 261b24a60a0ec8259976e0512775ec762ec4774e5c4294f5c06cc78c06322ceb4cc2a4949b5441425214a0312aedca9d77499c9a88c6e4ab7274cab9dd3fcb76 From 07c77149e9d206a0a02e39da3ecbb2bcfa2ebc0a Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 13 Mar 2023 16:10:45 +0000 Subject: [PATCH 229/361] Fix NVR --- annobin.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 46aaf14..ed4dca6 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 11.13 +Version: 11.14 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ From 4cb3354e1307349bf7622207f6d61010437d51e9 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Tue, 14 Mar 2023 13:40:26 -0400 Subject: [PATCH 230/361] Fix RHEL build RHEL 7+ have rpm versions which support the --undefine parameter. --- annobin.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index ed4dca6..752bbc4 100644 --- a/annobin.spec +++ b/annobin.spec @@ -403,8 +403,8 @@ make -C gcc-plugin clean BUILD_FLAGS="-fplugin=%{_tmppath}/tmp_annobin.so" # Disable the standard annobin plugin so that we do get conflicts. -# Note - Fedora's rpm uses a different way of evaluating macros. -%if 0%{?fedora} == 0 +# Note - rpm-4.10 uses a different way of evaluating macros. +%if 0%{?rhel} && 0%{?rhel} < 7 OPTS="$(rpm --eval '%undefine _annotated_build %build_cflags %build_ldflags')" %else OPTS="$(rpm --undefine=_annotated_build --eval '%build_cflags %build_ldflags')" From 52cd4f89797a611a2a90e4585b97dd6dcad125fe Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 29 Mar 2023 09:52:27 +0100 Subject: [PATCH 231/361] Annocheck: Add a few more glibc exceptions. Protocol: Update to version 4 - add string notes. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 752bbc4..84a3d0d 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 11.14 +Version: 12.00 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Mar 28 2023 Nick Clifton - 12.00-1 +- Protocol Version 4: String format notes. + * Mon Mar 13 2023 Nick Clifton - 11.14-1 - Annocheck: Update message for LTO tests. (#2177140) diff --git a/sources b/sources index 5173186..9038978 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-11.14.tar.xz) = 261b24a60a0ec8259976e0512775ec762ec4774e5c4294f5c06cc78c06322ceb4cc2a4949b5441425214a0312aedca9d77499c9a88c6e4ab7274cab9dd3fcb76 +SHA512 (annobin-12.00.tar.xz) = a1e752ec3a3668d1051674127b3ede993f7e5dce5c55b269d16fffe33de6dda6a31a7a18669397abb16c2245a062dee43c957f56cc77f24117d4d8b669b73785 From 6f6742913217374d59240ebdcce8fe1b64f1cc3c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 30 Mar 2023 12:27:52 +0100 Subject: [PATCH 232/361] gcc plugin: Keep ELF notes at protocol version 3. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 84a3d0d..ac57a1f 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.00 +Version: 12.01 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Mar 30 2023 Nick Clifton - 12.01-1 +- gcc plugin: Keep ELF notes at protocol version 3. + * Tue Mar 28 2023 Nick Clifton - 12.00-1 - Protocol Version 4: String format notes. diff --git a/sources b/sources index 9038978..812ed19 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.00.tar.xz) = a1e752ec3a3668d1051674127b3ede993f7e5dce5c55b269d16fffe33de6dda6a31a7a18669397abb16c2245a062dee43c957f56cc77f24117d4d8b669b73785 +SHA512 (annobin-12.01.tar.xz) = 4ddeba6c3d9568f615d0cad6670738530495bbfe3abcc9b45e52d7c0e02688455140f373ba95c6015db498b39d5cd2b09d6961b51db6ff4bc6063c426229a53c From 126c39082f92ad5ea7f108740f8dcd4a292d2443 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 11 Apr 2023 13:53:28 +0100 Subject: [PATCH 233/361] Fix Clang and LLVM plugins to work with LLVM v16. Improve string notes. Add environment variable for annobin plugin options. --- annobin.spec | 7 ++++++- sources | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index ac57a1f..a95fdeb 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.01 +Version: 12.02 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,11 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Apr 11 2023 Nick Clifton - 12.02-1 +- gcc plugin: Add filenames to string notes. Allow use of ANNOBIN environment variable. +- llvm plugin: Add workaround for building with LLVM-16. +- clang plugin: Fix for building with Clang-16. + * Thu Mar 30 2023 Nick Clifton - 12.01-1 - gcc plugin: Keep ELF notes at protocol version 3. diff --git a/sources b/sources index 812ed19..558c04b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.01.tar.xz) = 4ddeba6c3d9568f615d0cad6670738530495bbfe3abcc9b45e52d7c0e02688455140f373ba95c6015db498b39d5cd2b09d6961b51db6ff4bc6063c426229a53c +SHA512 (annobin-12.02.tar.xz) = 404568ad34ec06043ca4601c1148c13efb63d25522bd4287d476df300d9e58f409b6acd121e6b717098a57cee62fcd53d4430e55c1c581f11d5c745cacc70cb5 From 47dc851a55b47ec5a01a1bf61d8cc6c68c6837ce Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 13 Apr 2023 20:03:14 +0100 Subject: [PATCH 234/361] configure: Simplify. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index a95fdeb..6a92c82 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.02 +Version: 12.03 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Apr 13 2023 Nick Clifton - 12.03-1 +- configure: Simplify. + * Tue Apr 11 2023 Nick Clifton - 12.02-1 - gcc plugin: Add filenames to string notes. Allow use of ANNOBIN environment variable. - llvm plugin: Add workaround for building with LLVM-16. diff --git a/sources b/sources index 558c04b..13c4770 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.02.tar.xz) = 404568ad34ec06043ca4601c1148c13efb63d25522bd4287d476df300d9e58f409b6acd121e6b717098a57cee62fcd53d4430e55c1c581f11d5c745cacc70cb5 +SHA512 (annobin-12.03.tar.xz) = 6bd71d074e79e12e3db50e989c0aae6a318e925bc597d3b921f497e48bfb4a4bd58f4e4198aab824d5fe6ccb131305c59423e18a3c586204ba6ffcaa82353bff From 45e0e60d561e968b1af9cdf9b5cba7bad584e923 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 19 Apr 2023 13:22:11 +0100 Subject: [PATCH 235/361] annocheck: Fix seg-fault when checking for glibc components in string format notes. --- annobin.spec | 6 +++++- sources | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 6a92c82..9b6ffe7 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.03 +Version: 12.04 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,10 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Apr 17 2023 Nick Clifton - 12.04-1 +- configure: More improvements. +- annocheck: Fix seg-fault when checking for glibc components in string format notes. + * Thu Apr 13 2023 Nick Clifton - 12.03-1 - configure: Simplify. diff --git a/sources b/sources index 13c4770..6f53a37 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.03.tar.xz) = 6bd71d074e79e12e3db50e989c0aae6a318e925bc597d3b921f497e48bfb4a4bd58f4e4198aab824d5fe6ccb131305c59423e18a3c586204ba6ffcaa82353bff +SHA512 (annobin-12.04.tar.xz) = c143aad782b87d4f7ab25ccf661176b1971970c73610d6e2089758022fd6b906c3f6b469e759e5498855775efe2060b24496a7c8826c95bf88aa11be6ee790c8 From 666fd997c81f6a3a839132003c50dd1225533dfb Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 20 Apr 2023 11:02:31 +0100 Subject: [PATCH 236/361] Fix detection of optimization level in llvm plugin. --- annobin.spec | 6 +++++- sources | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 9b6ffe7..160f627 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.04 +Version: 12.05 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,10 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Apr 19 2023 Nick Clifton - 12.05-1 +- llvm-plugin: Fix detection of optimization level. Improve test. +- clang-plugin: Improve test. + * Mon Apr 17 2023 Nick Clifton - 12.04-1 - configure: More improvements. - annocheck: Fix seg-fault when checking for glibc components in string format notes. diff --git a/sources b/sources index 6f53a37..ab5bc1b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.04.tar.xz) = c143aad782b87d4f7ab25ccf661176b1971970c73610d6e2089758022fd6b906c3f6b469e759e5498855775efe2060b24496a7c8826c95bf88aa11be6ee790c8 +SHA512 (annobin-12.05.tar.xz) = d63dc0ac3a0e16a3b852d95039bb562e4b04e9252bf6eab5bc205dc0dbf928ba48886a32aec2b019f3eef3070bdd293b91a8b0323747cbdda95b9e9307fdce71 From 8e60c8613bb866afef3bbe7793e5cea65235a9bf Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 20 Apr 2023 17:20:10 +0100 Subject: [PATCH 237/361] gcc-plugin: use a bigger buffer for constructing notes. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 160f627..dc3b58e 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.05 +Version: 12.06 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Apr 20 2023 Nick Clifton - 12.06-1 +- gcc-plugin: use a bigger buffer for constructing notes. + * Wed Apr 19 2023 Nick Clifton - 12.05-1 - llvm-plugin: Fix detection of optimization level. Improve test. - clang-plugin: Improve test. diff --git a/sources b/sources index ab5bc1b..3be5c1f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.05.tar.xz) = d63dc0ac3a0e16a3b852d95039bb562e4b04e9252bf6eab5bc205dc0dbf928ba48886a32aec2b019f3eef3070bdd293b91a8b0323747cbdda95b9e9307fdce71 +SHA512 (annobin-12.06.tar.xz) = 7263c69f08e943a4a0e79f6877863b11d054f9261b19de3cbdbddd91765db2983381f271db9a81138c1003ea7c971aa94897efb08266ab62f71b179dd62db216 From c7f9bb74d976ae1681de822dbed4c5e698078f41 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 21 Apr 2023 13:42:16 +0100 Subject: [PATCH 238/361] gcc-plugin: generate warnings about misspelt -D_FORTIFY_SOURCE and/or -D_GLIBCXX_ASSERTIONS options. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index dc3b58e..bbdb40c 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.06 +Version: 12.07 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Apr 21 2023 Nick Clifton - 12.07-1 +- gcc-plugin: generate warnings about misspelt -D_FORTIFY_SOURCE and/or -D_GLIBCXX_ASSERTIONS options. + * Thu Apr 20 2023 Nick Clifton - 12.06-1 - gcc-plugin: use a bigger buffer for constructing notes. diff --git a/sources b/sources index 3be5c1f..ee3ee47 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.06.tar.xz) = 7263c69f08e943a4a0e79f6877863b11d054f9261b19de3cbdbddd91765db2983381f271db9a81138c1003ea7c971aa94897efb08266ab62f71b179dd62db216 +SHA512 (annobin-12.07.tar.xz) = 20972c1427e0089635a8e173fee0c8ac393cf55950d4d80e777c69e2fc74f5f92325210ec1ccd55c409cc78337b28d38d094a1d590567a4b271712e602127b94 From 6a05b5374b7d8e649d97c41f50f3e633715b8c9d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 25 Apr 2023 13:10:28 +0100 Subject: [PATCH 239/361] 12.08: Fix covscan errors and libannocheck initialisation --- annobin.spec | 7 ++++++- sources | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index bbdb40c..dbe6434 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.07 +Version: 12.08 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -471,6 +471,7 @@ if [ -f tests/test-suite.log ]; then fi # If necessary use uuencode to preserve test binaries here. For example: # uuencode tests/tmp_atexit/atexit.strip atexit.strip + make check %endif @@ -524,6 +525,10 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Apr 25 2023 Nick Clifton - 12.08-1 +- Fix generation of auto-generated files. +- Fix covscan reported errors. + * Fri Apr 21 2023 Nick Clifton - 12.07-1 - gcc-plugin: generate warnings about misspelt -D_FORTIFY_SOURCE and/or -D_GLIBCXX_ASSERTIONS options. diff --git a/sources b/sources index ee3ee47..69f7734 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.07.tar.xz) = 20972c1427e0089635a8e173fee0c8ac393cf55950d4d80e777c69e2fc74f5f92325210ec1ccd55c409cc78337b28d38d094a1d590567a4b271712e602127b94 +SHA512 (annobin-12.08.tar.xz) = 3989160111ab8aae8852abd708039e7b1b796d537d7855155e98b47269d0b4caee37ddacaa6655885a1674dfe515e1c90709bfe374d19b48b515035b961c97db From 8725f42767120ee3b439ac77ff26b79014b9ad80 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 25 Apr 2023 17:49:30 +0100 Subject: [PATCH 240/361] Annocheck: Fix detection of missing plugin options. Resolves: #2189492 --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index dbe6434..c80c858 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.08 +Version: 12.09 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -525,6 +525,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Apr 25 2023 Nick Clifton - 12.09-1 +- Annocheck: Fix detection of missing plugin options. (#2189492) + * Tue Apr 25 2023 Nick Clifton - 12.08-1 - Fix generation of auto-generated files. - Fix covscan reported errors. diff --git a/sources b/sources index 69f7734..d3b726d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.08.tar.xz) = 3989160111ab8aae8852abd708039e7b1b796d537d7855155e98b47269d0b4caee37ddacaa6655885a1674dfe515e1c90709bfe374d19b48b515035b961c97db +SHA512 (annobin-12.09.tar.xz) = 1805cd960ea34789dc309d767ea5d96cfb83257dd1df60d4ef5797792a86558cbbd1ffa5c08d792ead435afb056db1f3d7303785cbadf6d4c7e9b3a76c200098 From 6a9bd4377fa11376e589801ea979eb09048ed83b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 28 Apr 2023 14:22:04 +0100 Subject: [PATCH 241/361] Improve detection and reporting of problems with Rust binaries. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index c80c858..3658214 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.09 +Version: 12.10 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -525,6 +525,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Apr 28 2023 Nick Clifton - 12.10-1 +- Annocheck: Suppress more tests for Rust binaries. + * Tue Apr 25 2023 Nick Clifton - 12.09-1 - Annocheck: Fix detection of missing plugin options. (#2189492) diff --git a/sources b/sources index d3b726d..4059ce0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.09.tar.xz) = 1805cd960ea34789dc309d767ea5d96cfb83257dd1df60d4ef5797792a86558cbbd1ffa5c08d792ead435afb056db1f3d7303785cbadf6d4c7e9b3a76c200098 +SHA512 (annobin-12.10.tar.xz) = 140c74f88ff309e24c003d533545bd7f7705d240faf3781569f7c91e0c41ef2640dfb2ebe2f0cb1fbafddcf3588d9df9b75424764b79091e64a4091b7be3c0f0 From 18b154e072e49265b021ad0ffb1d2e43fb5f5f78 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 5 May 2023 11:44:05 +0100 Subject: [PATCH 242/361] Enable new string format notes --- annobin.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 3658214..5dea538 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 12.10 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -67,7 +67,7 @@ Source: https://nickc.fedorapeople.org/%{annobin_sources} %global annobin_source_dir %{_usrsrc}/annobin # Insert patches here, if needed. Eg: -# Patch01: annobin-foo.patch +Patch01: annobin-plugin-default-string-notes.patch #--------------------------------------------------------------------------------- @@ -525,6 +525,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri May 05 2023 Nick Clifton - 12.10-2 +- GCC Plugin: Default to generating string format notes. (Experimental) + * Fri Apr 28 2023 Nick Clifton - 12.10-1 - Annocheck: Suppress more tests for Rust binaries. From 9e5f183b04247b337103ea41a9bc3fe546996633 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 5 May 2023 11:44:33 +0100 Subject: [PATCH 243/361] add missing patch file --- annobin-plugin-default-string-notes.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 annobin-plugin-default-string-notes.patch diff --git a/annobin-plugin-default-string-notes.patch b/annobin-plugin-default-string-notes.patch new file mode 100644 index 0000000..29b68b7 --- /dev/null +++ b/annobin-plugin-default-string-notes.patch @@ -0,0 +1,11 @@ +--- annobin.orig/gcc-plugin/annobin.cc 2023-05-05 11:03:18.395959180 +0100 ++++ annobin-12.10/gcc-plugin/annobin.cc 2023-05-05 11:04:03.241964885 +0100 +@@ -80,7 +80,7 @@ unsigned long annobin_max_stack_size = + bool annobin_is_64bit = false; + + /* Where to put notes. */ +-note_type annobin_note_format = note; ++note_type annobin_note_format = string; + + /* Default to using section groups as the link-order + method needs a linker from binutils 2.36 or later. */ From b92fd219d6f54b3245df71d1e26ef8193f497067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Mon, 22 May 2023 17:37:50 +0200 Subject: [PATCH 244/361] Rebuild against rpm-4.19 (https://fedoraproject.org/wiki/Changes/RPM-4.19) --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 5dea538..cd3b83f 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 12.10 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -525,6 +525,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon May 22 2023 Petr Pisar - 12.10-3 +- Rebuild against rpm-4.19 (https://fedoraproject.org/wiki/Changes/RPM-4.19) + * Fri May 05 2023 Nick Clifton - 12.10-2 - GCC Plugin: Default to generating string format notes. (Experimental) From 6e8c98dd8f785cf0ef5aadbbeee87f66bf4d81d7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 26 May 2023 12:09:29 +0100 Subject: [PATCH 245/361] Annocheck: Add support for el10 and rhel-10 profiles. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index cd3b83f..c320f70 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.10 +Version: 12.11 Release: 3%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -525,6 +525,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri May 26 2023 Petr Pisar - 12.11-1 +- Annocheck: Add support for el10 and rhel-10 profiles. (RHEL-526) + * Mon May 22 2023 Petr Pisar - 12.10-3 - Rebuild against rpm-4.19 (https://fedoraproject.org/wiki/Changes/RPM-4.19) diff --git a/sources b/sources index 4059ce0..22d96cd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.10.tar.xz) = 140c74f88ff309e24c003d533545bd7f7705d240faf3781569f7c91e0c41ef2640dfb2ebe2f0cb1fbafddcf3588d9df9b75424764b79091e64a4091b7be3c0f0 +SHA512 (annobin-12.11.tar.xz) = ca56f597b8fd8c7a35566ed1ae4413f106189c1b88c99cdcbbe8012eac6f67794bbc38b775265fdcbb4307f8ef48bf42b76fa5553cfe6084b8a0d6256c4d7a37 From 91e4265352d90aa08691ba3ab0f9a6b2d45e2ee7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 2 Jun 2023 14:54:24 +0100 Subject: [PATCH 246/361] Check for string notes in debuginfo file, even if there are ELF notes in the main file --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index c320f70..9dde2bb 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.11 -Release: 3%{?dist} +Version: 12.12 +Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -525,6 +525,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Jun 01 2023 Nick Clifton - 12.12-1 +- Annocheck: Check for string notes in separate debug info files. (#2211694) + * Fri May 26 2023 Petr Pisar - 12.11-1 - Annocheck: Add support for el10 and rhel-10 profiles. (RHEL-526) diff --git a/sources b/sources index 22d96cd..12eef72 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.11.tar.xz) = ca56f597b8fd8c7a35566ed1ae4413f106189c1b88c99cdcbbe8012eac6f67794bbc38b775265fdcbb4307f8ef48bf42b76fa5553cfe6084b8a0d6256c4d7a37 +SHA512 (annobin-12.12.tar.xz) = ea26a6aa26ee50314c980e75e09979c549d302665c2312107b4cbb8a1cd1d62634b6662a719c77667274f1e99afb70ee5db1d6913ec6802a494b32e8b6559196 From 599631e9968ff7b15636eb700fb337abdb27fefd Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 20 Jun 2023 14:36:52 +0100 Subject: [PATCH 247/361] 12.13: More tweaks to glibc detection heuristics. (#2215968) --- annobin.spec | 6 +++++- sources | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 9dde2bb..273387b 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.12 +Version: 12.13 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -525,6 +525,10 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Jun 20 2023 Nick Clifton - 12.13-1 +- Annocheck: Ignore /dev/null filename in string notes. +- Annocheck: More tweaks to glibc detection heuristics. (#2215968) + * Thu Jun 01 2023 Nick Clifton - 12.12-1 - Annocheck: Check for string notes in separate debug info files. (#2211694) diff --git a/sources b/sources index 12eef72..fe4c0fb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.12.tar.xz) = ea26a6aa26ee50314c980e75e09979c549d302665c2312107b4cbb8a1cd1d62634b6662a719c77667274f1e99afb70ee5db1d6913ec6802a494b32e8b6559196 +SHA512 (annobin-12.13.tar.xz) = d0089ee0d065a4599dfb0efbf5e125c82884ffeeec05e8839a6c9d6241a51e0158baeeb304dcf1d86f15dcc23d90ea024d6dac9d3520760132cb25386693ef0e From 644bc59850e7db929bafc4e3313c664ccd6c8971 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 22 Jun 2023 16:46:30 +0100 Subject: [PATCH 248/361] Annocheck: Do not ignore separate debuginfo files that do not contain any DWARF. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 273387b..6a6577a 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.13 +Version: 12.14 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -525,6 +525,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Jun 22 2023 Nick Clifton - 12.14-1 +- Annocheck: Do not ignore separate debuginfo files that do not contain any DWARF. (#2144553) + * Tue Jun 20 2023 Nick Clifton - 12.13-1 - Annocheck: Ignore /dev/null filename in string notes. - Annocheck: More tweaks to glibc detection heuristics. (#2215968) diff --git a/sources b/sources index fe4c0fb..f9d2c1c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.13.tar.xz) = d0089ee0d065a4599dfb0efbf5e125c82884ffeeec05e8839a6c9d6241a51e0158baeeb304dcf1d86f15dcc23d90ea024d6dac9d3520760132cb25386693ef0e +SHA512 (annobin-12.14.tar.xz) = 2adb057aefc7dc03cdef34f7d1054ead8f6cb6dabec88bd0e262357a0f456f9cb349b1eba238382cc5fa5f733e360f586282af9081178ff123e68518bb01c1be From f84a88b3c7c03dc5933d7a16b78c195036f23559 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 26 Jun 2023 16:32:51 +0100 Subject: [PATCH 249/361] Annocheck: Add --suppress-version-warnings option. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 6a6577a..835c541 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.14 +Version: 12.15 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -525,6 +525,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Jun 26 2023 Nick Clifton - 12.15-1 +- Annocheck: Add --suppress-version-warnings option. + * Thu Jun 22 2023 Nick Clifton - 12.14-1 - Annocheck: Do not ignore separate debuginfo files that do not contain any DWARF. (#2144553) diff --git a/sources b/sources index f9d2c1c..4f3b879 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.14.tar.xz) = 2adb057aefc7dc03cdef34f7d1054ead8f6cb6dabec88bd0e262357a0f456f9cb349b1eba238382cc5fa5f733e360f586282af9081178ff123e68518bb01c1be +SHA512 (annobin-12.15.tar.xz) = 3cca22815800415eb1c3d106e1d1fa1cb00e97808c302c0451ec15ea4790823f1933bce02f3f64a8b435fbba2d1c2d56dd257f921327a3f9de26e308c07bb377 From 351368aee575018156794a05c290fb09487d9487 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 27 Jun 2023 13:10:32 +0100 Subject: [PATCH 250/361] Annocheck: Ignore weak/undef function symbols when checking to see if a binary contains code. (#2217840) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 835c541..6a20212 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.15 +Version: 12.16 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -525,6 +525,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Jun 27 2023 Nick Clifton - 12.16-1 +- Annocheck: Ignore weak/undef function symbols when checking to see if a binary contains code. (#2217840) + * Mon Jun 26 2023 Nick Clifton - 12.15-1 - Annocheck: Add --suppress-version-warnings option. diff --git a/sources b/sources index 4f3b879..36a400a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.15.tar.xz) = 3cca22815800415eb1c3d106e1d1fa1cb00e97808c302c0451ec15ea4790823f1933bce02f3f64a8b435fbba2d1c2d56dd257f921327a3f9de26e308c07bb377 +SHA512 (annobin-12.16.tar.xz) = e32b5d7ed4939c43e9eaeb84935839e557b0c54897806c7463256f73e71f9978f1ac598388f73f37f54a6c2e1a9764a4e861e1cb3fdc274479434427b3990c17 From de71a8d994ac69b63b600330f09116a3c783d233 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 29 Jun 2023 15:24:28 +0100 Subject: [PATCH 251/361] Annocheck: Add detection of known parts of libstdc++-nonshared.a that contain gaps. (#2217864) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 6a20212..c40d325 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.16 +Version: 12.17 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -525,6 +525,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Jun 29 2023 Nick Clifton - 12.17-1 +- Annocheck: Add detection of known parts of libstdc++-nonshared.a that contain gaps. (#2217864) + * Tue Jun 27 2023 Nick Clifton - 12.16-1 - Annocheck: Ignore weak/undef function symbols when checking to see if a binary contains code. (#2217840) diff --git a/sources b/sources index 36a400a..532ff26 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.16.tar.xz) = e32b5d7ed4939c43e9eaeb84935839e557b0c54897806c7463256f73e71f9978f1ac598388f73f37f54a6c2e1a9764a4e861e1cb3fdc274479434427b3990c17 +SHA512 (annobin-12.17.tar.xz) = be1ae36ebca5890b5aa0affb2ae2462febe14f1d5734be6056ba74220e73937b515e783a549c9c26b38c73d698b14843e0e38e21e5363df2aebcd7a1b89a46b2 From 74ac5654d62a591d345b6eafc635f780d560c409 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 28 Jun 2023 13:16:31 +0000 Subject: [PATCH 252/361] Fix Regression/testsuite test Rawhide now has dnf5, so we need to install dnf5-plugins for the builddep command to work. --- tests/Regression/testsuite/main.fmf | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Regression/testsuite/main.fmf b/tests/Regression/testsuite/main.fmf index f117f62..4cb90d9 100644 --- a/tests/Regression/testsuite/main.fmf +++ b/tests/Regression/testsuite/main.fmf @@ -12,6 +12,7 @@ require: - binutils-devel - bzip2-devel - dnf +- dnf5-plugins - elfutils - elfutils-devel - gcc-c++ From eca718919fb5e74430be3e7ce4647475b334ef53 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 3 Jul 2023 15:52:09 +0100 Subject: [PATCH 253/361] Remove dependency upon libiberty --- annobin.spec | 10 ++++++---- sources | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/annobin.spec b/annobin.spec index c40d325..fcac921 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.17 +Version: 12.18 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -156,7 +156,7 @@ of the resulting files. %package annocheck Summary: A tool for checking the security hardening status of binaries -BuildRequires: gcc elfutils elfutils-devel elfutils-libelf-devel rpm-devel binutils-devel make +BuildRequires: gcc elfutils elfutils-devel elfutils-libelf-devel rpm-devel make %if %{with debuginfod} BuildRequires: elfutils-debuginfod-client-devel @@ -173,14 +173,13 @@ hardening options. %package libannocheck Summary: A library for checking the security hardening status of binaries -BuildRequires: gcc elfutils elfutils-devel elfutils-libelf-devel rpm-devel binutils-devel make +BuildRequires: gcc elfutils elfutils-devel elfutils-libelf-devel rpm-devel make %if %{with debuginfod} BuildRequires: elfutils-debuginfod-client-devel %endif Requires: %{name}-docs = %{version}-%{release} -Requires: binutils-devel %description libannocheck Installs the libannocheck library which uses the notes generated by the @@ -525,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Jun 29 2023 Nick Clifton - 12.18-1 +- Annocheck: Remove dependency upon binutils-devel. + * Thu Jun 29 2023 Nick Clifton - 12.17-1 - Annocheck: Add detection of known parts of libstdc++-nonshared.a that contain gaps. (#2217864) diff --git a/sources b/sources index 532ff26..d3b905f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.17.tar.xz) = be1ae36ebca5890b5aa0affb2ae2462febe14f1d5734be6056ba74220e73937b515e783a549c9c26b38c73d698b14843e0e38e21e5363df2aebcd7a1b89a46b2 +SHA512 (annobin-12.18.tar.xz) = 580c3b24103c9e9e262c156ae2d472addfe3c1d65c343677d0de2b706b15e8368fad67e62bf2a5308eb4dc197a56bd01497861cbd300660158990ed9bf746c78 From 1652c5101ad515f2eefb7a4d0867a2db12714bdf Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 5 Jul 2023 14:30:54 +0100 Subject: [PATCH 254/361] GCC Plugin: Suppress active checks for fortran sources. Improve scanning of COLLECT_GCC_OPTIONS. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index fcac921..e2f0eb1 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.18 +Version: 12.19 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Jul 05 2023 Nick Clifton - 12.19-1 +- GCC Plugin: Suppress active checks for fortran sources. Improve scanning of COLLECT_GCC_OPTIONS. + * Thu Jun 29 2023 Nick Clifton - 12.18-1 - Annocheck: Remove dependency upon binutils-devel. diff --git a/sources b/sources index d3b905f..7eb3101 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.18.tar.xz) = 580c3b24103c9e9e262c156ae2d472addfe3c1d65c343677d0de2b706b15e8368fad67e62bf2a5308eb4dc197a56bd01497861cbd300660158990ed9bf746c78 +SHA512 (annobin-12.19.tar.xz) = 0ac445091952226e9ba77901de853ec0efafbe5696fabbcbff15f4a58394eb1a871aa2c52c3554935916584802eb80b7e4deed4f09b9f813b72df696484cf8f3 From 2b17846e9b2ae5b13a8e1b2b9d175bbf2e7d65ed Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 17 Jul 2023 10:53:34 +0100 Subject: [PATCH 255/361] Annocheck: Ignore AArch64 $x and $d symbols. (#2221192) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index e2f0eb1..5b906f4 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.19 +Version: 12.20 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Jul 17 2023 Nick Clifton - 12.20-1 +- Annocheck: Ignore AArch64 $x and $d symbols. (#2221192) + * Wed Jul 05 2023 Nick Clifton - 12.19-1 - GCC Plugin: Suppress active checks for fortran sources. Improve scanning of COLLECT_GCC_OPTIONS. diff --git a/sources b/sources index 7eb3101..876a6b9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.19.tar.xz) = 0ac445091952226e9ba77901de853ec0efafbe5696fabbcbff15f4a58394eb1a871aa2c52c3554935916584802eb80b7e4deed4f09b9f813b72df696484cf8f3 +SHA512 (annobin-12.20.tar.xz) = cb7ff25b872a0840c4ac21f25217bbe5bd1fd13257097d2a11d8e92a696a5629580f3de99d6e973fbe33a8510aa94aa967f0f557ca3b57a4ea25f9ce35efe17b From 5b54cac55275a99e201798f62688eb9074e2f5d9 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 17 Jul 2023 13:18:39 +0100 Subject: [PATCH 256/361] Spec File: Change License field to use SPDX notation. (#2222112) --- annobin.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 5b906f4..27c2aad 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,8 +2,8 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 12.20 -Release: 1%{?dist} -License: GPLv3+ +Release: 2%{?dist} +License: GPL-3.0-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Jul 17 2023 Nick Clifton - 12.20-2 +- Spec File: Change License field to use SPDX notation. (#2222112) + * Mon Jul 17 2023 Nick Clifton - 12.20-1 - Annocheck: Ignore AArch64 $x and $d symbols. (#2221192) From 7d937f32eae2c2ef90c0811259a8773da120236f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 18 Jul 2023 13:13:11 +0100 Subject: [PATCH 257/361] Spec File: migrated to SPDX license. (#2222112) --- annobin.spec | 9 ++++++--- sources | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/annobin.spec b/annobin.spec index 27c2aad..d6c92d2 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,9 +1,9 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.20 -Release: 2%{?dist} -License: GPL-3.0-or-later +Version: 12.21 +Release: 1%{?dist} +License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Jul 18 2023 Nick Clifton - 12.21-1 +- Spec File: migrated to SPDX license. (#2222112) + * Mon Jul 17 2023 Nick Clifton - 12.20-2 - Spec File: Change License field to use SPDX notation. (#2222112) diff --git a/sources b/sources index 876a6b9..2290fff 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.20.tar.xz) = cb7ff25b872a0840c4ac21f25217bbe5bd1fd13257097d2a11d8e92a696a5629580f3de99d6e973fbe33a8510aa94aa967f0f557ca3b57a4ea25f9ce35efe17b +SHA512 (annobin-12.21.tar.xz) = d31f63543c8038654933366a0bfbb96abfa71635bb28b3744f26c58c31068f864fed5cb14cb0121e7214be67d11b1cb950bd0239aacf64bc4057b71fac598e31 From 420e5ffe64b72a765b4e962a5e0b70c19d1c3a3c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jul 2023 13:17:45 +0000 Subject: [PATCH 258/361] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index d6c92d2..4843a32 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 12.21 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Jul 19 2023 Fedora Release Engineering - 12.21-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Tue Jul 18 2023 Nick Clifton - 12.21-1 - Spec File: migrated to SPDX license. (#2222112) From e1ed0f967bb08c63970f105821e418b56deb4652 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Kadl=C4=8D=C3=ADk?= Date: Wed, 26 Jul 2023 13:09:38 +0200 Subject: [PATCH 259/361] Move downstream tests to a separate repository The tests have been moved to https://src.fedoraproject.org/tests/annobin The move will enable more flexible downstream usage, namely in RHEL testing. --- plans/ci.fmf | 1 + tests/README | 2 - .../main.fmf | 18 ---- .../runtest.sh | 51 ----------- tests/Regression/identify/main.fmf | 14 --- tests/Regression/identify/runtest.sh | 43 --------- .../lto-preprocessor-options/main.fmf | 17 ---- .../lto-preprocessor-options/runtest.sh | 44 --------- .../main | Bin 27456 -> 0 bytes .../main.fmf | 16 ---- .../runtest.sh | 40 --------- .../main.fmf | 16 ---- .../runtest.sh | 42 --------- .../main.fmf | 18 ---- .../runtest.sh | 44 --------- tests/Regression/testsuite/main.fmf | 25 ------ tests/Regression/testsuite/runtest.sh | 85 ------------------ .../main.fmf | 17 ---- .../runtest.sh | 55 ------------ tests/Sanity/gcc-fedora-flags/hello.c | 5 -- tests/Sanity/gcc-fedora-flags/hello.cpp | 5 -- tests/Sanity/gcc-fedora-flags/main.c | 6 -- tests/Sanity/gcc-fedora-flags/main.cpp | 6 -- tests/Sanity/gcc-fedora-flags/main.fmf | 17 ---- tests/Sanity/gcc-fedora-flags/runtest.sh | 40 --------- tests/Sanity/smoke/main.fmf | 16 ---- tests/Sanity/smoke/runtest.sh | 45 ---------- 27 files changed, 1 insertion(+), 687 deletions(-) delete mode 100644 tests/README delete mode 100644 tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/main.fmf delete mode 100755 tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/runtest.sh delete mode 100644 tests/Regression/identify/main.fmf delete mode 100755 tests/Regression/identify/runtest.sh delete mode 100644 tests/Regression/lto-preprocessor-options/main.fmf delete mode 100755 tests/Regression/lto-preprocessor-options/runtest.sh delete mode 100644 tests/Regression/missing-check-for-x86-property-note-content/main delete mode 100644 tests/Regression/missing-check-for-x86-property-note-content/main.fmf delete mode 100755 tests/Regression/missing-check-for-x86-property-note-content/runtest.sh delete mode 100644 tests/Regression/processing-params-in-reverse-order/main.fmf delete mode 100755 tests/Regression/processing-params-in-reverse-order/runtest.sh delete mode 100644 tests/Regression/segv-when-processing-multiple-params-incl-symlink/main.fmf delete mode 100755 tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh delete mode 100644 tests/Regression/testsuite/main.fmf delete mode 100755 tests/Regression/testsuite/runtest.sh delete mode 100644 tests/Sanity/annocheck-silently-ignores-any-file-parameter/main.fmf delete mode 100755 tests/Sanity/annocheck-silently-ignores-any-file-parameter/runtest.sh delete mode 100644 tests/Sanity/gcc-fedora-flags/hello.c delete mode 100644 tests/Sanity/gcc-fedora-flags/hello.cpp delete mode 100644 tests/Sanity/gcc-fedora-flags/main.c delete mode 100644 tests/Sanity/gcc-fedora-flags/main.cpp delete mode 100644 tests/Sanity/gcc-fedora-flags/main.fmf delete mode 100755 tests/Sanity/gcc-fedora-flags/runtest.sh delete mode 100644 tests/Sanity/smoke/main.fmf delete mode 100755 tests/Sanity/smoke/runtest.sh diff --git a/plans/ci.fmf b/plans/ci.fmf index 3fd3ab7..6ae9ce7 100644 --- a/plans/ci.fmf +++ b/plans/ci.fmf @@ -1,5 +1,6 @@ summary: CI Gating Plan discover: how: fmf + url: https://src.fedoraproject.org/tests/annobin.git execute: how: tmt diff --git a/tests/README b/tests/README deleted file mode 100644 index 9ad59d4..0000000 --- a/tests/README +++ /dev/null @@ -1,2 +0,0 @@ -The test's Makefiles are not used in Fedora CI infrastructure. But are kept here -for backward compatibility with traditional beakerlib test harness in RHEL. diff --git a/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/main.fmf b/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/main.fmf deleted file mode 100644 index e0cbc5d..0000000 --- a/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/main.fmf +++ /dev/null @@ -1,18 +0,0 @@ -summary: Test for BZ#1958954 (annobin fails to skip endbr64 entry point check) -description: | - Bug summary: annobin fails to skip endbr64 entry point check for shared objects - Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1958954 -contact: -- Martin Cermak -component: -- annobin -test: ./runtest.sh -framework: beakerlib -require: -- annobin-annocheck -- annobin-plugin-gcc -- gcc -- redhat-rpm-config -duration: 48h -extra-summary: /tools/annobin/Regression/annobin-fails-to-skip-endbr64-entry-point-check -extra-task: /tools/annobin/Regression/annobin-fails-to-skip-endbr64-entry-point-check diff --git a/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/runtest.sh b/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/runtest.sh deleted file mode 100755 index 91fa544..0000000 --- a/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/runtest.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /tools/annobin/Regression/annobin-fails-to-skip-endbr64-entry-point-check -# Description: Test for BZ#1958954 (annobin fails to skip endbr64 entry point check) -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2021 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -rlJournalStart - rlPhaseStartSetup - rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory" - rlRun "pushd $TmpDir" - rlPhaseEnd - - rlPhaseStartTest - rlRun "echo 'void f1(void) {}' > f1.c" - rlRun "echo 'void f2(void) {}' > f2.c" - rlRun "gcc `rpm --eval %build_cflags` -fpic -c f1.c" - rlRun "gcc `rpm --eval %build_cflags` -fpic -c f2.c" - rlRun "gcc `rpm --eval %build_ldflags` -shared f1.o f2.o" - rlRun "annocheck -v --skip-lto a.out" - rlPhaseEnd - - rlPhaseStartCleanup - rlRun "popd" - rlRun "rm -r $TmpDir" 0 "Removing tmp directory" - rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/tests/Regression/identify/main.fmf b/tests/Regression/identify/main.fmf deleted file mode 100644 index 674544e..0000000 --- a/tests/Regression/identify/main.fmf +++ /dev/null @@ -1,14 +0,0 @@ -summary: identify -description: '' -contact: -- Martin Cermak -component: -- annobin -test: ./runtest.sh -framework: beakerlib -recommend: -- annobin-plugin-gcc -- annobin-annocheck -duration: 48h -extra-summary: /tools/annobin/Regression/identify -extra-task: /tools/annobin/Regression/identify diff --git a/tests/Regression/identify/runtest.sh b/tests/Regression/identify/runtest.sh deleted file mode 100755 index 7907036..0000000 --- a/tests/Regression/identify/runtest.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /tools/annobin/Regression/identify -# Description: identify -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2019 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -PACKAGE="annobin" - -rlJournalStart - rlPhaseStartTest - rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort" - rlRun "tool_v=$(annocheck --version | awk '/^annocheck: Version/ {print $3}')" - rlRun "__RPM=$(rpm --queryformat='%{name}\n' -qf $(man -w annobin))" - rlRun "rpm_v=$(rpm -q --queryformat='%{version}\n' $__RPM)" - # Following fails for annobin-8.89-2.el8 - rlRun "[[ "x${tool_v}" == "x${rpm_v}." ]]" - rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/tests/Regression/lto-preprocessor-options/main.fmf b/tests/Regression/lto-preprocessor-options/main.fmf deleted file mode 100644 index 2a3e56a..0000000 --- a/tests/Regression/lto-preprocessor-options/main.fmf +++ /dev/null @@ -1,17 +0,0 @@ -summary: lto-preprocessor-options -description: '' -contact: -- Martin Cermak -component: -- annobin -test: ./runtest.sh -framework: beakerlib -require: -- annobin-plugin-gcc -- annobin-annocheck -- redhat-rpm-config -- gcc -- redhat-rpm-config -duration: 48h -extra-summary: /tools/annobin/Regression/lto-preprocessor-options -extra-task: /tools/annobin/Regression/lto-preprocessor-options diff --git a/tests/Regression/lto-preprocessor-options/runtest.sh b/tests/Regression/lto-preprocessor-options/runtest.sh deleted file mode 100755 index 430d830..0000000 --- a/tests/Regression/lto-preprocessor-options/runtest.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /tools/annobin/Regression/lto-preprocessor-options -# Description: lto-preprocessor-options -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2020 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -PACKAGE="annobin" - -rlJournalStart - rlPhaseStartTest - b=`mktemp` - rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort" - rlRun "cflags=\"$(rpm --eval '%build_cflags')\"" - rlRun "ldflags=\"$(rpm --eval '%build_ldflags')\"" - rlRun "echo 'int main (void) { return 0; }' | gcc -xc -o $b $cflags $ldflags -flto - " - rlRun "annocheck -v $b" - rm $b - rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/tests/Regression/missing-check-for-x86-property-note-content/main b/tests/Regression/missing-check-for-x86-property-note-content/main deleted file mode 100644 index b7f4983a4a9958c8cf33bb1a902848845794ec82..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 27456 zcmeHQeQXrR6@PonVH1PRXZQ;7rG+bCl zo1&JAv?@YKX;r0Pk@}%Z=^tqnsr>^r|2U$Gl1h=1_8+QBEvX*x%+Act&dz%?`-Op#!Gt6MLxy_+L;DwcoShUgqp<|QPUwLJ zuoG^FbubqI<_KP`JnNlLczmYKBqx*J3j6_3M{glHrd&d#m|r8zCcPM@K-YnKB8tLc zI!qZb<#<286y+GA-y}BEpdQxEvuRJ@+1^@unCj&rqO6BO)O(TiUL-xHvs6x|T%TAc z_}4@A8K$9P*XbQ5y)f;k>to7wfAFG{`!M8YOXboUmeY$;u$2v{!61N+p_-b0W$0W-*B zef+%?K=gBrzx?tamn;~$>$fw>b9NgkEPL)PP6KsN27%4MT>^n|{C6$DvMr8K z=mYTkLJ(>LzS)3}W%@)g0fwq(r!+Nhm|D>|rh}>$jq$8nb~M{jOPXNmPs~M~9=Z;`U-|ypw8)D%OZOx5XDPv%5TC>6cX)c(cd^bG z7XtiXdtVCh>6R3j4e+twFs=mnH1r9)Li{Ek_hQ6|5hF&77%^hR0D!mKZvAKG2{bK{2Go3GG&h)=0 zt5=<+nbXN-lt8n4Aur0s`dHo*y$d=3ptA8$=49_%3IJqIU3BJW&h$QW7r>>JuIpaP zxvu*{@}dGDJ$SCIy+;4_M_tzq)}3ElF=E7s5hF&77%^hRh!G>kjR~}iNvq|1&>V~Q zrdwuRcMJfw&${k$02rBd-R)${L`cUDfHbvGT0Ot1`Ekj!aiWdBdDeArM}ht(VG%?7 z?G^x-dDC@;ske3EVC#xKZ7q*BpMV{!?%A+;tuP;=@TURb?3=FJa${Cej2JOu#E20i zMvNFSVtg!MKg6)#A^R4xPv(3s9r-6NpzwC`V_ZpL_H$fKVfJfWMPc@LWIt?<|NB+f zLXq#0lOp>b?kDF&_SK!C_?sxbuMp*Ty%iK*MwG$6k7vn`k$ogt9(`*O=--G~PV_t# zg!wBd%;laTxp_o6J*JFzUGMrNa+SVH;Y)OVZZ%$Dmcr*L{v8VQb$rxdfABE6slBfi zLw$XpO06H-d+5$oXQ$Gobf&sCb#-pKyQ?R){(zoKWi*E((p`4~i1rj&NdQB;)=HZT z+j=$wz){MdDf^w1T+*(XrePLRg={vQQJt)2n%1~sM#^&k@zUKewC@3UctG-e=LJN$ zHYBkA+qg0WZ)4ffvX7|QqE?;&SW*+WA)8kxZOhTKj$xVDY52aO^al4G7#kiu0#{M( z<{I6N!kzi>VRhHRg98V~hWG6~NWT06UU{0ZJbbTsyxT~I}vWMcG^kp#58WFxSa&Nej1N^q8>i@ zxX1Sq)A)Y6G4CgyKQN8k>Bej)o=OcRcoDh}MX>u9@&kY41PP@{I| zITX{l-LZZCqibQ}e&ab2)41NRZ@tI;Jvax6`#X=XAJtssdOu&Hp8fn>VftZZcn-4q zJ?0`j2N|Y$2A*-^+0QUn@W(mdh7!WP;(06yVPRKX!`3$6sz^wDHX=FcNpXrw5~Su& z;#2lV0I=pZ(%6q>nF2|gzaBkK=Ohi&fjQrm@M*jRSs*Qv*0nBak=s|dA6mXhTDTk_ zp+M)tMbhG?ohy!^;W8j1qPKwD{Hd0ETDG+eFWIqj`$_ZCa;D>~iOzlZ- zm@6fkK$7rGpky_@%WpMIuO%Up68{bDJ(L<69^F4O5H^KH*xXX-Qumfry5v+$y|5^t=CwjfZiPA^AQt3h}y{{{k&YM=+n$*qGWc9a}&8E`%Y(8DJaP{UZ#bPR* z-#~Er+eVun-Lm|VZ3YD4*S#+#aI-l2^bkVWW*7(DE z*1`PssjNPU7B~zDlNOiRveRY9w#-5*o!83KW_H51Osi5(SIkEZGnaPol%T4XF!Hgk zVVUoJ{h`YirxkTLrAho#4j(hN^^clc58n^lHQO=rM%K`Z_X;T`E9{8a0}xHzM;hH= z1Q{g%+_NBLJclU4a4duDpU)M940GUkq0(-##CNjN=N8XF>c77;aD6 zckZVDZ}ot9ul~UEEC%<7F#qH358-}zt^HvM-WZA2y6d{50e_nmU2pvo&JkPvH7dp+ z@t+Ni!$*kEerOC!^v~+JBqmY-@HxS+A18l6>9AiL;~61eKi)Pf|I0#tF?^kGhybGc ziH9|?J0Mp@%=Zx2LtGC*#Qh=e4?+BI_J^qF#c#y(rGDQ2ns~s~zeoH-$k)&37bK$3 z<=v2od_{pnf?q%XA57pY(~7$Je@XKAb3*S0qnK}^{{846r4xR?z;mf19;IL<02U?c z-)oK|Kk%MKZqRTV(@E6#lf%LWvl14D%6UZ8Ppfac6MKpQ;5(w6)p-TuDU#>;Ilpp0 zEy`J6KW7_U*Dn*%=NZ2t>Mi2^w4+kC@sQ|_LN?nm)zhtZZ%NyFZUPrG@Wkkj&dv@+ zss8iMlRlWWoleC9h1OQoqEj1Cbu(8Jt4vr<4Fe_Wm`cSg8jtA3>3Y$~7)2b&T$!vF zkBU(ADI=l~f~%_9xS={)p_&vfoOtPkczA7D+bKJhd|t^y^^9lLDXCdJ<+%*1nzPhG z(Hhr^YR<9jvZ__4AZwK-i@KxdlugkRc;d97YPPLStGemf)8Khe=PISrG^pfDEkdec z8cvO_mDb}q1a6S0Z@lV_U+y^qV5|UJUB3> zj_uk#GN9HUa=nv}wtm0kto5AcXdnuY*QGg{ceZuiLDy=oY^f8PnZrY{hxe&vCuf*y zrL5;@1xm?jTY9p0>se6M@p74x5o=hgIyTzJ7l(&yN1m8ndvLdZ1$a2Os4)PgJY90M zaZt*R?a>MTC0x`eK`|{yR|;lDnY67*-FBt}tnrFb%%zPSv3BhqPK$1X;uGkMujHo9 z@^s0gjtwH_sBV|h7e5$KZBT5zsG$P=nk+h?V8epq=u-|T*dIW#Em6UWK0!TTB4<}a zo`%;IJPrPhT9}1mTcS8x$;g6Iz+2HvaJ*awC2N&Ry6Jdj6PKrGj$<3+6-O_FlGDd4 z1y!>(vrr8hW*(FDqQ=K<{V0cuhN<&!arvGQvV&pUEEJ8hQ|1xy-vjRZ5wD7rO!#{Y zyzhs>?{f@X;m5r;tk3I~OvBF*Z-umq?vQ@?`vd$P00uu-7{eibUI%3w&OfaG003Ne zU3{zw@O~zyeEqziDO`U1ECxPvSfBShF@2oU#X7>eV}0IlWYD=Atk3(WnDTxpM!5db z0E2sxSfBSFF=dMlm!IXBejY&VZQ?NRZ(@r6D2Q&UcT!TZ`6;r4$rq|fWkK4nD$FM}|BDx}Zz5T@_2 zVo0Cyur`p9?BeUkd`)QNw8>E|dP3gTfK|I_Zb&|M-2L z;txZKbCBs|1O3#fr!P$M0k9s^6Aj9rA${JL%V0eQhI#A>;vv#MPmXvv4|pPC{KtK~ h+;@ZM5exeOZ-){O=Z`KDQTiLnPKIY(1rZ9uzX0sx#l`>t diff --git a/tests/Regression/missing-check-for-x86-property-note-content/main.fmf b/tests/Regression/missing-check-for-x86-property-note-content/main.fmf deleted file mode 100644 index b4ab7fd..0000000 --- a/tests/Regression/missing-check-for-x86-property-note-content/main.fmf +++ /dev/null @@ -1,16 +0,0 @@ -summary: missing-check-for-x86-property-note-content -description: | - Bug summary: annobin: Missing check for contents of x86 property note - Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1991931 -contact: Martin Cermak -component: -- annobin -test: ./runtest.sh -framework: beakerlib -require: -- annobin-annocheck -duration: 48h -link: -- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1991931 -extra-summary: /tools/annobin/Regression/missing-check-for-x86-property-note-content -extra-task: /tools/annobin/Regression/missing-check-for-x86-property-note-content diff --git a/tests/Regression/missing-check-for-x86-property-note-content/runtest.sh b/tests/Regression/missing-check-for-x86-property-note-content/runtest.sh deleted file mode 100755 index 14392c0..0000000 --- a/tests/Regression/missing-check-for-x86-property-note-content/runtest.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /tools/annobin/Regression/missing-check-for-x86-property-note-content -# Description: missing-check-for-x86-property-note-content -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2021 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -PACKAGE="annobin" - -rlJournalStart - rlPhaseStartTest - rlRun "annocheck main" 1 - rlRun "annocheck --fixed-format-messages main | \ - grep '^Hardened: FAIL: test: cf-protection file: main.$'" - rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/tests/Regression/processing-params-in-reverse-order/main.fmf b/tests/Regression/processing-params-in-reverse-order/main.fmf deleted file mode 100644 index 99adc08..0000000 --- a/tests/Regression/processing-params-in-reverse-order/main.fmf +++ /dev/null @@ -1,16 +0,0 @@ -summary: processing-params-in-reverse-order -description: | - Bug summary: annocheck processes (reports) parameters in reverse order - Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1988714 -contact: Martin Cermak -component: -- annobin -test: ./runtest.sh -framework: beakerlib -require: -- annobin-annocheck -duration: 48h -link: -- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1988714 -extra-summary: /tools/annobin/Regression/processing-params-in-reverse-order -extra-task: /tools/annobin/Regression/processing-params-in-reverse-order diff --git a/tests/Regression/processing-params-in-reverse-order/runtest.sh b/tests/Regression/processing-params-in-reverse-order/runtest.sh deleted file mode 100755 index 75b357e..0000000 --- a/tests/Regression/processing-params-in-reverse-order/runtest.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /tools/annobin/Regression/processing-params-in-reverse-order -# Description: processing-params-in-reverse-order -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2021 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -PACKAGE="annobin" - -rlJournalStart - rlPhaseStartTest - rlRun "TMP=$(mktemp)" - rlRun "annocheck --verbose --skip-all --test-stack-prot /bin/bash /bin/cat |& tee $TMP" - rlRun "fgrep -i /bin/ $TMP | head -1 | fgrep /bash" - rlRun "fgrep -i /bin/ $TMP | tail -1 | fgrep /cat" - rlRun "rm -f $TMP" - rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/tests/Regression/segv-when-processing-multiple-params-incl-symlink/main.fmf b/tests/Regression/segv-when-processing-multiple-params-incl-symlink/main.fmf deleted file mode 100644 index 07395fa..0000000 --- a/tests/Regression/segv-when-processing-multiple-params-incl-symlink/main.fmf +++ /dev/null @@ -1,18 +0,0 @@ -summary: segv-when-processing-multiple-params-incl-symlink -description: | - Bug summary: annocheck segfaults sometimes when processing multiple parameters and symlink is involved - Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1988715 -contact: Martin Cermak -component: -- annobin -test: ./runtest.sh -framework: beakerlib -require: -- annobin-plugin-gcc -- annobin-annocheck -- libstdc++ -duration: 48h -link: -- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1988715 -extra-summary: /tools/annobin/Regression/segv-when-processing-multiple-params-incl-symlink -extra-task: /tools/annobin/Regression/segv-when-processing-multiple-params-incl-symlink diff --git a/tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh b/tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh deleted file mode 100755 index 6603c3c..0000000 --- a/tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /tools/annobin/Regression/segv-when-processing-multiple-params-incl-symlink -# Description: segv-when-processing-multiple-params-incl-symlink -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2021 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -PACKAGE="annobin" - -rlJournalStart - rlPhaseStartTest - # This tries to test https://bugzilla.redhat.com/show_bug.cgi?id=1988715#c0 - # keeping in mind that annocheck will evolve in the future, along its - # rules / policies, and the surrounding OS will evolve too. This test - # shouldn't report false positives though. - rlRun "rpm -qf /usr/lib64/libstdc++.so*" - rlRun "annocheck --follow-links --skip-all /usr/lib64/libstdc++.so*" - rlRun "annocheck --ignore-links --skip-all /usr/lib64/libstdc++.so*" - rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/tests/Regression/testsuite/main.fmf b/tests/Regression/testsuite/main.fmf deleted file mode 100644 index 4cb90d9..0000000 --- a/tests/Regression/testsuite/main.fmf +++ /dev/null @@ -1,25 +0,0 @@ -summary: testsuite -description: '' -contact: -- Martin Cermak -component: -- annobin -test: ./runtest.sh -framework: beakerlib -require: -- annobin-plugin-gcc -- annobin-annocheck -- binutils-devel -- bzip2-devel -- dnf -- dnf5-plugins -- elfutils -- elfutils-devel -- gcc-c++ -- gcc-plugin-devel -- make -- rpm-build -- rpm-devel -duration: 48h -extra-summary: /tools/annobin/Regression/testsuite -extra-task: /tools/annobin/Regression/testsuite diff --git a/tests/Regression/testsuite/runtest.sh b/tests/Regression/testsuite/runtest.sh deleted file mode 100755 index 1507c45..0000000 --- a/tests/Regression/testsuite/runtest.sh +++ /dev/null @@ -1,85 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /tools/annobin/Regression/testsuite -# Description: testsuite -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2018 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -PACKAGE="${PACKAGE:-$(rpm -qf --queryformat=%{name} $(man -w annobin))}" -export PACKAGE - -GCC="${GCC:-$(which gcc)}" - - -rlJournalStart - rlPhaseStartSetup - rlLogInfo "PACKAGES=$PACKAGES" - rlLogInfo "REQUIRES=$REQUIRES" - rlLogInfo "COLLECTIONS=$COLLECTIONS" - rlLogInfo "X_SCLS=$X_SCLS" - rlLogInfo "GCC=$GCC" - - rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort" - - # In case more than one devtoolset- or gcc-toolset -build package is - # installed (they can co-exist from the packaging persp, but their - # coexistence causes unexpected results with rpm macros), then we have - # a mess of defined rpm macros coming e.g. from - # /etc/rpm/macros.gcc-toolset-10-config - # /etc/rpm/macros.gcc-toolset-9-config etc. To have just the needed - # macros (respective to given SCL under test) defined without - # uninstalling unneeded RPMs, we'll need an override mechanism. The - # following assumes just one SCL *enabled* (more than one installed), - # and doesn't care of a (useless) revert: - echo ${X_SCLS} | fgrep toolset && \ - rlRun "cat /etc/rpm/*${X_SCLS%\ }* > ~/.rpmmacros" - - rlAssertRpm $PACKAGE - rlRun "TMP=\$(mktemp -d)" - rlRun "pushd $TMP" - - rlFetchSrcForInstalled $PACKAGE - rlRun "dnf builddep -y *src.rpm" - rlRun "rpm --define='_topdir $TMP' -Uvh *src.rpm" - rlRun "rpmbuild --define='_topdir $TMP' -bc SPECS/annobin.spec" - rlPhaseEnd - - rlPhaseStartTest - rlRun "pushd BUILD/annobin-*" - set -o pipefail - rlRun "make check |& tee $TMP/check.log" - rlRun -l "grep '^PASS:' $TMP/check.log" 0 - rlRun -l "grep '^FAIL:' $TMP/check.log" 1 - PASSCOUNT=$(grep '^PASS:' $TMP/check.log | wc -l) - rlRun "[[ $PASSCOUNT -ge 7 ]]" - rlPhaseEnd - - rlPhaseStartCleanup - rlRun "popd" - rlRun "rm -r $TMP" - rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/tests/Sanity/annocheck-silently-ignores-any-file-parameter/main.fmf b/tests/Sanity/annocheck-silently-ignores-any-file-parameter/main.fmf deleted file mode 100644 index 9ece622..0000000 --- a/tests/Sanity/annocheck-silently-ignores-any-file-parameter/main.fmf +++ /dev/null @@ -1,17 +0,0 @@ -summary: Test for BZ#1973981 (annocheck silently ignores any file parameter) -description: | - Bug summary: annocheck silently ignores any file parameter beyond 256 - Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1973981 -contact: Martin Cermak -component: -- annobin -test: ./runtest.sh -framework: beakerlib -require: -- annobin-plugin-gcc -- annobin-annocheck -duration: 48h -link: -- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1973981 -extra-summary: /tools/annobin/Sanity/annocheck-silently-ignores-any-file-parameter -extra-task: /tools/annobin/Sanity/annocheck-silently-ignores-any-file-parameter diff --git a/tests/Sanity/annocheck-silently-ignores-any-file-parameter/runtest.sh b/tests/Sanity/annocheck-silently-ignores-any-file-parameter/runtest.sh deleted file mode 100755 index bb1a436..0000000 --- a/tests/Sanity/annocheck-silently-ignores-any-file-parameter/runtest.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /tools/annobin/Sanity/annocheck-silently-ignores-any-file-parameter -# Description: Test for BZ#1973981 (annocheck silently ignores any file parameter) -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2021 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -rlJournalStart - rlPhaseStartSetup - rlRun "TMP=$(mktemp -d)" - rlRun "pushd $TMP" - rlPhaseEnd - - rlPhaseStartTest - for i in `seq 0 299`; do touch ${i}.sample; done - samplecnt=$(ls *.sample | wc -l) - testcnt=$(ls *.sample | \ - xargs annocheck |& \ - grep -F \ - -e '.sample: unable to read magic number' \ - -e '.sample: is not an ELF format file' \ - | wc -l) - rlRun "test $samplecnt -eq 300" - rlRun "test $testcnt -eq 300" - rlPhaseEnd - - rlPhaseStartCleanup - rlRun "popd" - rlRun "rm -r $TMP" - rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/tests/Sanity/gcc-fedora-flags/hello.c b/tests/Sanity/gcc-fedora-flags/hello.c deleted file mode 100644 index 51b259b..0000000 --- a/tests/Sanity/gcc-fedora-flags/hello.c +++ /dev/null @@ -1,5 +0,0 @@ -#include - -void hello() { - printf("Hello World\n"); -} diff --git a/tests/Sanity/gcc-fedora-flags/hello.cpp b/tests/Sanity/gcc-fedora-flags/hello.cpp deleted file mode 100644 index 400612b..0000000 --- a/tests/Sanity/gcc-fedora-flags/hello.cpp +++ /dev/null @@ -1,5 +0,0 @@ -#include - -void hello() { - std::cout << "Hello World\n"; -} diff --git a/tests/Sanity/gcc-fedora-flags/main.c b/tests/Sanity/gcc-fedora-flags/main.c deleted file mode 100644 index 1a3455d..0000000 --- a/tests/Sanity/gcc-fedora-flags/main.c +++ /dev/null @@ -1,6 +0,0 @@ -void hello(); - -int main(int argc, char **argv) { - hello(); - return 0; -} diff --git a/tests/Sanity/gcc-fedora-flags/main.cpp b/tests/Sanity/gcc-fedora-flags/main.cpp deleted file mode 100644 index 1a3455d..0000000 --- a/tests/Sanity/gcc-fedora-flags/main.cpp +++ /dev/null @@ -1,6 +0,0 @@ -void hello(); - -int main(int argc, char **argv) { - hello(); - return 0; -} diff --git a/tests/Sanity/gcc-fedora-flags/main.fmf b/tests/Sanity/gcc-fedora-flags/main.fmf deleted file mode 100644 index f053025..0000000 --- a/tests/Sanity/gcc-fedora-flags/main.fmf +++ /dev/null @@ -1,17 +0,0 @@ -summary: gcc-fedora-flags -description: '' -contact: -- Tom Stellard -component: -- annobin -test: ./runtest.sh -framework: beakerlib -recommend: -- gcc -- gcc-c++ -- annobin -- annobin-annocheck -- redhat-rpm-config -duration: 1h -extra-summary: /tools/annobin/Sanity/gcc-fedora-flags -extra-task: /tools/annobin/Sanity/gcc-fedora-flags diff --git a/tests/Sanity/gcc-fedora-flags/runtest.sh b/tests/Sanity/gcc-fedora-flags/runtest.sh deleted file mode 100755 index 8ef829f..0000000 --- a/tests/Sanity/gcc-fedora-flags/runtest.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash - -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -set -x - -default_cflags=`rpm -E %{build_cflags}` -default_cxxflags=`rpm -E %{build_cxxflags}` -default_ldflags=`rpm -E %{build_ldflags}` - -cflags=`rpm -D '%toolchain gcc' -E %{build_cflags}` -cxxflags=`rpm -D '%toolchain gcc' -E %{build_cxxflags}` -ldflags=`rpm -D '%toolchain gcc' -E %{build_ldflags}` - -set +x - -rlJournalStart -rlPhaseStartTest - rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort" - - rlRun "test \"$default_cflags\" = \"$cflags\"" - rlRun "test \"$default_cxxflags\" = \"$cxxflags\"" - rlRun "test \"$default_ldflags\" = \"$ldflags\"" - - rlRun "gcc $cflags -o hello.o -c hello.c" - rlRun "annocheck hello.o" - rlRun "gcc $cflags -o main.o -c main.c" - rlRun "gcc $ldflags -o hello main.o hello.o" - rlRun "annocheck hello" - rlRun "./hello | grep \"Hello World\"" - - rlRun "g++ $cxxflags -o hello-cpp.o -c hello.cpp" - rlRun "annocheck hello-cpp.o" - rlRun "g++ $cxxflags -o main-cpp.o -c main.cpp" - rlRun "g++ $ldflags -o hello-cpp main-cpp.o hello-cpp.o" - rlRun "annocheck hello-cpp" - rlRun "./hello-cpp | grep \"Hello World\"" -rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/tests/Sanity/smoke/main.fmf b/tests/Sanity/smoke/main.fmf deleted file mode 100644 index fca8ae4..0000000 --- a/tests/Sanity/smoke/main.fmf +++ /dev/null @@ -1,16 +0,0 @@ -summary: smoke test for annobin plugin -description: '' -contact: -- Martin Cermak -component: -- annobin -test: ./runtest.sh -framework: beakerlib -require: -- annobin-plugin-gcc -- annobin-annocheck -- man-db -- gcc -duration: 48h -extra-summary: /tools/annobin/Sanity/smoke -extra-task: /tools/annobin/Sanity/smoke diff --git a/tests/Sanity/smoke/runtest.sh b/tests/Sanity/smoke/runtest.sh deleted file mode 100755 index 566e571..0000000 --- a/tests/Sanity/smoke/runtest.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /tools/annobin/Sanity/smoke -# Description: smoke test for annobin plugin -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2019 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -PACKAGE="annobin" - -rlJournalStart - rlPhaseStartSetup - rlRun "which gcc" - rlRun "man -w annobin" - rlRun "echo $X_SCLS" - rlPhaseEnd - - rlPhaseStartTest - rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort" - rlRun "echo 'int main() {return 0;}' | gcc -xc -fplugin=annobin -o /dev/null -" - rlPhaseEnd -rlJournalPrintText -rlJournalEnd From bcd8d3a6c1589c2010251610728db494a73aec83 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 26 Jul 2023 16:09:06 +0100 Subject: [PATCH 260/361] Annocheck: Fix double free. (#2226749) --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 4843a32..2c5de5d 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.21 -Release: 2%{?dist} +Version: 12.22 +Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Jul 26 2023 Nick Clifron - 12.22-1 +- Annocheck: Fix double free. (#2226749) + * Wed Jul 19 2023 Fedora Release Engineering - 12.21-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index 2290fff..bee9fb7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.21.tar.xz) = d31f63543c8038654933366a0bfbb96abfa71635bb28b3744f26c58c31068f864fed5cb14cb0121e7214be67d11b1cb950bd0239aacf64bc4057b71fac598e31 +SHA512 (annobin-12.22.tar.xz) = 41774020bf2c44e825bc00a178c7d5ef8a428766269034c5fd59f49927831f79d251618a50a2669e026f8dc3c89afc9010923870557fb530b11e16f06367b871 From 1399107c1f6090c7d49326a007f728e182062e4e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 31 Jul 2023 12:41:44 +0100 Subject: [PATCH 261/361] Annocheck: Add test for FIPS compliant GO binaries. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 2c5de5d..4079906 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.22 +Version: 12.23 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Jul 31 2023 Nick Clifron - 12.23-1 +- Annocheck: Add test for FIPS compliant GO binaries. + * Wed Jul 26 2023 Nick Clifron - 12.22-1 - Annocheck: Fix double free. (#2226749) diff --git a/sources b/sources index bee9fb7..4d50c2e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.22.tar.xz) = 41774020bf2c44e825bc00a178c7d5ef8a428766269034c5fd59f49927831f79d251618a50a2669e026f8dc3c89afc9010923870557fb530b11e16f06367b871 +SHA512 (annobin-12.23.tar.xz) = 6716d5525d77b39bce0f05158753e6badb8c27529f71d4f65d511ea6430dcd3e2efe88b711c7eebd8b840c2cbcfeed6877393a39f75f473812b99d6c2d927968 From b8758c2ddd39701ea98c4ec846c5dde30f275312 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 4 Aug 2023 14:13:51 +0100 Subject: [PATCH 262/361] Annocheck: Change GO FIPS test to look for CGO_ENABLED markers. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 4079906..4918be7 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.23 +Version: 12.24 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Aug 04 2023 Nick Clifron - 12.24-1 +- Annocheck: Change GO FIPS test to look for CGO_ENABLED markers. + * Mon Jul 31 2023 Nick Clifron - 12.23-1 - Annocheck: Add test for FIPS compliant GO binaries. diff --git a/sources b/sources index 4d50c2e..b742234 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.23.tar.xz) = 6716d5525d77b39bce0f05158753e6badb8c27529f71d4f65d511ea6430dcd3e2efe88b711c7eebd8b840c2cbcfeed6877393a39f75f473812b99d6c2d927968 +SHA512 (annobin-12.24.tar.xz) = 1f095d6fa2f53fecf25c4c9c0bc9fad35da5c6050c567fa6e5c8cdb42e9948f38f43d8f8136a6eb44bd8e9d1d42e1c26e396895ecec22550a5069f995f376139 From d4a01699fcb497ab857aac0e694a0ba368bb58fd Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 30 Aug 2023 08:32:43 +0100 Subject: [PATCH 263/361] GCC Plugin: Enable string note format by default. --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 4918be7..1ccae96 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.24 +Version: 12.25 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -67,7 +67,7 @@ Source: https://nickc.fedorapeople.org/%{annobin_sources} %global annobin_source_dir %{_usrsrc}/annobin # Insert patches here, if needed. Eg: -Patch01: annobin-plugin-default-string-notes.patch +# Patch01: annobin-plugin-default-string-notes.patch #--------------------------------------------------------------------------------- @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Aug 30 2023 Nick Clifron - 12.25-1 +- GCC Plugin: Enable string note format by default. + * Fri Aug 04 2023 Nick Clifron - 12.24-1 - Annocheck: Change GO FIPS test to look for CGO_ENABLED markers. diff --git a/sources b/sources index b742234..c8284ab 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.24.tar.xz) = 1f095d6fa2f53fecf25c4c9c0bc9fad35da5c6050c567fa6e5c8cdb42e9948f38f43d8f8136a6eb44bd8e9d1d42e1c26e396895ecec22550a5069f995f376139 +SHA512 (annobin-12.25.tar.xz) = 44eea7dbc99cc42de8ff4649396240470d123f36d703b83f85b81a770155b46005ed96acefb6467429046075fab7ad361ee9b1f00eb267a68f68a7835a00cbcc From 9aa8c4025ec2b5adf24ab29f0dac5d511971213b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 6 Sep 2023 08:26:36 +0100 Subject: [PATCH 264/361] LLVM Plugin: Fix building with LLVM version 17. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 1ccae96..daf1424 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.25 +Version: 12.26 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Sep 06 2023 Nick Clifron - 12.26-1 +- LLVM Plugin: Fix building with LLVM version 17. + * Wed Aug 30 2023 Nick Clifron - 12.25-1 - GCC Plugin: Enable string note format by default. diff --git a/sources b/sources index c8284ab..ad4f1fa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.25.tar.xz) = 44eea7dbc99cc42de8ff4649396240470d123f36d703b83f85b81a770155b46005ed96acefb6467429046075fab7ad361ee9b1f00eb267a68f68a7835a00cbcc +SHA512 (annobin-12.26.tar.xz) = 979643818fa794b74c8fdfc02404988f85da67d2c45afaa35f05f1127a537d8db9f710531043c625d7a2b6625f24c5b3c1f584519925182ef3786d415ce70ad8 From 290b9207f3bde7543a93f24efb77464829b66981 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 26 Sep 2023 11:18:36 +0100 Subject: [PATCH 265/361] Remove redundant patch --- annobin-plugin-default-string-notes.patch | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 annobin-plugin-default-string-notes.patch diff --git a/annobin-plugin-default-string-notes.patch b/annobin-plugin-default-string-notes.patch deleted file mode 100644 index 29b68b7..0000000 --- a/annobin-plugin-default-string-notes.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- annobin.orig/gcc-plugin/annobin.cc 2023-05-05 11:03:18.395959180 +0100 -+++ annobin-12.10/gcc-plugin/annobin.cc 2023-05-05 11:04:03.241964885 +0100 -@@ -80,7 +80,7 @@ unsigned long annobin_max_stack_size = - bool annobin_is_64bit = false; - - /* Where to put notes. */ --note_type annobin_note_format = note; -+note_type annobin_note_format = string; - - /* Default to using section groups as the link-order - method needs a linker from binutils 2.36 or later. */ From 820e8490c1d933e684fd4d7d565f2403ad0c290b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 26 Sep 2023 14:59:48 +0100 Subject: [PATCH 266/361] 12.27: Add detection and reporting of the absence of -Wimplicit-int and -Wimplicit-function-declaration --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index daf1424..96dfbec 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.26 +Version: 12.27 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Sep 26 2023 Nick Clifron - 12.27-1 +- GCC Plugin: Record settings of -Wimplicit-int and -Wimplicit-function-declaration. + * Wed Sep 06 2023 Nick Clifron - 12.26-1 - LLVM Plugin: Fix building with LLVM version 17. diff --git a/sources b/sources index ad4f1fa..84caeb6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.26.tar.xz) = 979643818fa794b74c8fdfc02404988f85da67d2c45afaa35f05f1127a537d8db9f710531043c625d7a2b6625f24c5b3c1f584519925182ef3786d415ce70ad8 +SHA512 (annobin-12.27.tar.xz) = fd1c603aa5f59e3949a544e9bde6adc6ad695ced132e9a0fd2a7990dda9d58b8be69e1f99f3c874d88dd23793ecf2c78f08089a8a22bf62ed0ee984ed03a13c9 From 518e422ce8bc2652d1f15d290b986bba47063a7c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 6 Oct 2023 13:30:21 +0100 Subject: [PATCH 267/361] GCC Plugin: Record settings of -Wstrict-flex-arrays and -fstrict-flex-arrays Annobin: Add future test of these options. --- annobin.spec | 7 ++++++- sources | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 96dfbec..4434e8d 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.27 +Version: 12.28 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -524,8 +524,13 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Oct 06 2023 Nick Clifron - 12.28-1 +- GCC Plugin: Record settings of -Wstrict-flex-arrays and -fstrict-flex-arrays +- Annobin: Add future test of these options. + * Tue Sep 26 2023 Nick Clifron - 12.27-1 - GCC Plugin: Record settings of -Wimplicit-int and -Wimplicit-function-declaration. +- Annobin: Add test for these warnings. * Wed Sep 06 2023 Nick Clifron - 12.26-1 - LLVM Plugin: Fix building with LLVM version 17. diff --git a/sources b/sources index 84caeb6..46c32fe 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.27.tar.xz) = fd1c603aa5f59e3949a544e9bde6adc6ad695ced132e9a0fd2a7990dda9d58b8be69e1f99f3c874d88dd23793ecf2c78f08089a8a22bf62ed0ee984ed03a13c9 +SHA512 (annobin-12.28.tar.xz) = 624373d1eba36bc7a0804e0b33dfcb9a8c2415047329c5b96fd6cc2d88cbc9a355bd36ecb00214c4928f6fb4968ec910d76c8ca361b1c13584d4a06f3ee97b05 From e6c17188a886ee14dc0daaf6da1ce9cf92f81d7b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 30 Oct 2023 10:12:51 +0000 Subject: [PATCH 268/361] Fix atexit test failure. Notes: Add support for string format notes. --- annobin.spec | 6 +++++- sources | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 4434e8d..b4a87a7 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.28 +Version: 12.29 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -524,6 +524,10 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Oct 30 2023 Nick Clifron - 12.29-1 +- Fix atexit test failure. +- Notes: Add support for string format notes. + * Fri Oct 06 2023 Nick Clifron - 12.28-1 - GCC Plugin: Record settings of -Wstrict-flex-arrays and -fstrict-flex-arrays - Annobin: Add future test of these options. diff --git a/sources b/sources index 46c32fe..fac0d93 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.28.tar.xz) = 624373d1eba36bc7a0804e0b33dfcb9a8c2415047329c5b96fd6cc2d88cbc9a355bd36ecb00214c4928f6fb4968ec910d76c8ca361b1c13584d4a06f3ee97b05 +SHA512 (annobin-12.29.tar.xz) = 689aa891ca9eebb5d8c0d2603c02e973ff65af7fb639839cbabed0a4d647db59d04eb49670e71081d81b6fe4a4ad34acc129a73ff3b609f7921932ce1f675968 From 7bfea6e7ea7df5828d6ffb1a5f2b3c94e01c2857 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 1 Nov 2023 16:23:37 +0000 Subject: [PATCH 269/361] Fix another atexit test failure. (#2247481) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index b4a87a7..d3584de 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.29 +Version: 12.30 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Nov 01 2023 Nick Clifron - 12.30-1 +- Fix another atexit test failure. (#2247481) + * Mon Oct 30 2023 Nick Clifron - 12.29-1 - Fix atexit test failure. - Notes: Add support for string format notes. diff --git a/sources b/sources index fac0d93..a37e1bd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.29.tar.xz) = 689aa891ca9eebb5d8c0d2603c02e973ff65af7fb639839cbabed0a4d647db59d04eb49670e71081d81b6fe4a4ad34acc129a73ff3b609f7921932ce1f675968 +SHA512 (annobin-12.30.tar.xz) = 57516fa066fe9f34c31fd3fb55b57246f2d1e33c5029a7396ec565682c16f7b2a7d9d73e2709769db9c29d6618e6415c240435350c98394aec5493a1e3410206 From 0a315f72677e6bdd38130446da7863adff6669a6 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 15 Nov 2023 15:56:06 +0000 Subject: [PATCH 270/361] Update glibc detection heuristics for PPC64. (RHEL-16453) --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index d3584de..ce02815 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,9 +1,9 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.30 +Version: 12.31 Release: 1%{?dist} -License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later +License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Nov 15 2023 Nick Clifron - 12.31-1 +- Update glibc detection heuristics for PPC64. (RHEL-16453) + * Wed Nov 01 2023 Nick Clifron - 12.30-1 - Fix another atexit test failure. (#2247481) diff --git a/sources b/sources index a37e1bd..7f75d2e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.30.tar.xz) = 57516fa066fe9f34c31fd3fb55b57246f2d1e33c5029a7396ec565682c16f7b2a7d9d73e2709769db9c29d6618e6415c240435350c98394aec5493a1e3410206 +SHA512 (annobin-12.31.tar.xz) = 792fb1eba3b64cc12dba7be62700ab87818c5556c7768ed372eb923b5c4d3631b440d58439cf8cc98fd6d1cfc09ba127b59013496e5cdfc8dfe0dea3c55eb69e From 5e535c171ff495fbb549c246654cd208218f0d88 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 24 Nov 2023 11:10:53 +0000 Subject: [PATCH 271/361] GCC Plugin: Add support for -fhardended. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index ce02815..1bd62f5 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.31 +Version: 12.32 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Nov 24 2023 Nick Clifron - 12.32-1 +- GCC Plugin: Add support for -fhardended. + * Wed Nov 15 2023 Nick Clifron - 12.31-1 - Update glibc detection heuristics for PPC64. (RHEL-16453) diff --git a/sources b/sources index 7f75d2e..f3ff8e9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.31.tar.xz) = 792fb1eba3b64cc12dba7be62700ab87818c5556c7768ed372eb923b5c4d3631b440d58439cf8cc98fd6d1cfc09ba127b59013496e5cdfc8dfe0dea3c55eb69e +SHA512 (annobin-12.32.tar.xz) = 10ab73bc48d0a95102292d90d28c87440b969055ab07e964020703276b6c5db35b8693e828fb0063e1d6e5efb025c8ffe3fafb2dd40377c25767b09a986bc02b From 01a58912b3894da10ce9cb62f0fd2e418fb69f1e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 11 Dec 2023 13:01:20 +0000 Subject: [PATCH 272/361] Tests: Fix implicit-values test so that it will compile with gcc 14+. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 1bd62f5..29e5389 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.32 +Version: 12.33 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Dec 11 2023 Nick Clifron - 12.33-1 +- Tests: Fix implicit-values test so that it will compile with gcc 14+. + * Fri Nov 24 2023 Nick Clifron - 12.32-1 - GCC Plugin: Add support for -fhardended. diff --git a/sources b/sources index f3ff8e9..c0e581b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.32.tar.xz) = 10ab73bc48d0a95102292d90d28c87440b969055ab07e964020703276b6c5db35b8693e828fb0063e1d6e5efb025c8ffe3fafb2dd40377c25767b09a986bc02b +SHA512 (annobin-12.33.tar.xz) = 75992982dace0b53ba0297b9e902995f85e434c2865b424f2bd6c68f8a81d531bd72aed9c364f62965a9119132d79c59c113d6f4e5de58afe583d304a374f5f5 From 0fb7998b16bab030c7fc34df67aa9f4127b3ab76 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 15 Dec 2023 13:31:47 +0000 Subject: [PATCH 273/361] GCC Plugin: Fix recording of the -Wimplicit-int and -Wimplicit-function-declaration warnings. Add active checks for when they are deliberately disabled. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 29e5389..9265610 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.33 +Version: 12.34 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Dec 15 2023 Nick Clifron - 12.34-1 +- GCC Plugin: Fix recording of the -Wimplicit-int and -Wimplicit-function-declaration warnings. Add active checks for when they are deliberately disabled. + * Mon Dec 11 2023 Nick Clifron - 12.33-1 - Tests: Fix implicit-values test so that it will compile with gcc 14+. diff --git a/sources b/sources index c0e581b..0cca17c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.33.tar.xz) = 75992982dace0b53ba0297b9e902995f85e434c2865b424f2bd6c68f8a81d531bd72aed9c364f62965a9119132d79c59c113d6f4e5de58afe583d304a374f5f5 +SHA512 (annobin-12.34.tar.xz) = 91efb6ef501befdd408f72e82a011b434972434755bc0153330685dd3163a21aad5ac6dae65813bbea3bde8eb3f66e8ef6bc35f96aaa8b00ad2848f077abfc53 From 74b0aa2a4f463da41d144b94dc571a6cd565c06c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 4 Jan 2024 15:00:28 +0000 Subject: [PATCH 274/361] Annocheck: Improve detection of FIPS compliant GO binaries. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 9265610..ec44501 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.34 +Version: 12.35 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Jan 04 2024 Nick Clifron - 12.35-1 +- Annocheck: Improve detection of FIPS compliant GO binaries. + * Fri Dec 15 2023 Nick Clifron - 12.34-1 - GCC Plugin: Fix recording of the -Wimplicit-int and -Wimplicit-function-declaration warnings. Add active checks for when they are deliberately disabled. diff --git a/sources b/sources index 0cca17c..34dd97c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.34.tar.xz) = 91efb6ef501befdd408f72e82a011b434972434755bc0153330685dd3163a21aad5ac6dae65813bbea3bde8eb3f66e8ef6bc35f96aaa8b00ad2848f077abfc53 +SHA512 (annobin-12.35.tar.xz) = 61f615e7ee69467be4bdac397e10e4dc5ecb6d20fb20569ba7fe35e11b18e8e018f5d366c6e184a71701785e83ab3be509f47f6e199b8a40aa5b95e9d7bf4dc0 From 8f0126e8de5029ac7be9edc6f4c4737a1e269909 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 11 Jan 2024 15:27:40 +0000 Subject: [PATCH 275/361] Spec File: Do not install annocheck.1.gz when annocheck is disabled --- annobin.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index ec44501..d40c0b7 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 12.35 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -457,6 +457,11 @@ cp %{_sourcedir}/%{annobin_sources} %{buildroot}%{annobin_source_dir}/latest-ann rm -f %{buildroot}%{_infodir}/dir +# When annocheck is disabled, annocheck.1.gz will still be generated, remove it. +%if %{without annocheck} +rm -f %{_mandir}/man1/annocheck.1.gz +%endif + #--------------------------------------------------------------------------------- %if %{with tests} @@ -524,6 +529,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Jan 11 2024 Songsong Zhang - 12.35-2 +- Spec File: Do not install annocheck.1.gz when annocheck is disabled + * Thu Jan 04 2024 Nick Clifron - 12.35-1 - Annocheck: Improve detection of FIPS compliant GO binaries. From 7c96faca28c48a6c33847b133261c0bce184b4ba Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 15 Jan 2024 09:21:52 +0000 Subject: [PATCH 276/361] NVR bump to allow rebuild in side tag --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index d40c0b7..ab913b1 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 12.35 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -529,6 +529,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Jan 15 2024 Songsong Zhang - 12.35-3 +- Spec File: NVR bump to allow rebuild in side tag. + * Thu Jan 11 2024 Songsong Zhang - 12.35-2 - Spec File: Do not install annocheck.1.gz when annocheck is disabled From 7e0b254b145fbe790a72a42368413991aa858e05 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 15 Jan 2024 10:05:28 +0000 Subject: [PATCH 277/361] temporarily disable hard gcc version check --- annobin.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/annobin.spec b/annobin.spec index ab913b1..2da1b8f 100644 --- a/annobin.spec +++ b/annobin.spec @@ -36,9 +36,9 @@ URL: https://sourceware.org/annobin/ # Set this to zero to disable the requirement for a specific version of gcc. # This should only be needed if there is some kind of problem with the version # checking logic or when building on RHEL-7 or earlier. -%global with_hard_gcc_version_requirement 1 +%global with_hard_gcc_version_requirement 0 -%bcond_without plugin_rebuild +%bcond_with plugin_rebuild # Allow the building of annobin without using annobin itself. # This is because if we are bootstrapping a new build environment we can have # a new version of gcc installed, but without a new of annobin installed. @@ -50,12 +50,14 @@ URL: https://sourceware.org/annobin/ # # The default is to use plugin during rebuilds (cf BZ 1630550) but this can # be changed because of the need to be able to rebuild annobin when a change -# to gcc breaks the version installed into the buildroot. Mote however that +# to gcc breaks the version installed into the buildroot. Note however that # uncommenting the lines below will result in annocheck not passing the rpminspect # tests.... -# %%if %%{without plugin_rebuild} + +%if %{without plugin_rebuild} %undefine _annotated_build -# %%endif +%endif + #--------------------------------------------------------------------------------- From bcf9899fd26026ee22457ad036a5489fbb9937e5 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 15 Jan 2024 10:53:17 +0000 Subject: [PATCH 278/361] Spec File: NVR bump in order to allow building in side tag. --- annobin.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 2da1b8f..2426be9 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 12.35 -Release: 3%{?dist} +Release: 4%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -531,11 +531,14 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Jan 15 2024 Songsong Zhang - 12.35-4 +- Spec File: NVR bump in order to allow building in side tag. + * Mon Jan 15 2024 Songsong Zhang - 12.35-3 -- Spec File: NVR bump to allow rebuild in side tag. +- Spec File: Disable hard gcc check in order to allow builds with new version of gcc. * Thu Jan 11 2024 Songsong Zhang - 12.35-2 -- Spec File: Do not install annocheck.1.gz when annocheck is disabled +- Spec File: Do not install annocheck.1.gz when annocheck is disabled. * Thu Jan 04 2024 Nick Clifron - 12.35-1 - Annocheck: Improve detection of FIPS compliant GO binaries. From 9285dfc44f8032bc13e5ba8d6daae9d832a330f8 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 16 Jan 2024 11:32:07 +0000 Subject: [PATCH 279/361] Annocheck: Disable cf-protection test for i686 architecture. Resolves: #2258571 --- annobin.spec | 22 ++++++++++++++-------- sources | 2 +- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/annobin.spec b/annobin.spec index 2426be9..8ec9385 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.35 -Release: 4%{?dist} +Version: 12.36 +Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -36,9 +36,14 @@ URL: https://sourceware.org/annobin/ # Set this to zero to disable the requirement for a specific version of gcc. # This should only be needed if there is some kind of problem with the version # checking logic or when building on RHEL-7 or earlier. +# +# Update: now that we have gcc version checking support in redhat-rpm-config +# there is no longer a great need for a hard gcc version check here. Not +# enabling this check greatly simplifies the process of installing a new major +# version of gcc into the buildroot. %global with_hard_gcc_version_requirement 0 -%bcond_with plugin_rebuild +%bcond_without plugin_rebuild # Allow the building of annobin without using annobin itself. # This is because if we are bootstrapping a new build environment we can have # a new version of gcc installed, but without a new of annobin installed. @@ -53,11 +58,9 @@ URL: https://sourceware.org/annobin/ # to gcc breaks the version installed into the buildroot. Note however that # uncommenting the lines below will result in annocheck not passing the rpminspect # tests.... - -%if %{without plugin_rebuild} -%undefine _annotated_build -%endif - +# %%if %%{without plugin_rebuild} +# %%undefine _annotated_build +# %%endif #--------------------------------------------------------------------------------- @@ -531,6 +534,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Jan 16 2024 Songsong Zhang - 12.36-1 +- Annocheck: Disable cf-protection test for i686 architecture. (#2258571) + * Mon Jan 15 2024 Songsong Zhang - 12.35-4 - Spec File: NVR bump in order to allow building in side tag. diff --git a/sources b/sources index 34dd97c..b4539cb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.35.tar.xz) = 61f615e7ee69467be4bdac397e10e4dc5ecb6d20fb20569ba7fe35e11b18e8e018f5d366c6e184a71701785e83ab3be509f47f6e199b8a40aa5b95e9d7bf4dc0 +SHA512 (annobin-12.36.tar.xz) = 4e291427fe011774ac8b64647d26502cc9b1d9516ffbb12b3c428524de960a3f79fd9ad87043d0b6fe89d71fdf2b536c766676bfe2dda1af28246fb33518a93d From 14a9d08e3b51048aec58a2b2496e87f6b48e7c4a Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 16 Jan 2024 12:09:50 +0000 Subject: [PATCH 280/361] Spec File: NVR bump in order to allow building in side tag. --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 8ec9385..4ca0fdd 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 12.36 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -534,6 +534,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Jan 16 2024 Songsong Zhang - 12.36-2 +- Spec File: NVR bump in order to allow building in side tag. + * Tue Jan 16 2024 Songsong Zhang - 12.36-1 - Annocheck: Disable cf-protection test for i686 architecture. (#2258571) From d284a8fcc19fc1963546805379dc9cd933364605 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 17 Jan 2024 14:24:49 +0000 Subject: [PATCH 281/361] GCC Plugin: Do not use section groups with string notes. --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 4ca0fdd..48f42ab 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.36 -Release: 2%{?dist} +Version: 12.37 +Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -534,6 +534,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Jan 17 2024 Nick Clifron - 12.37-1 +- GCC Plugin: DO not use section groups with string format notes. + * Tue Jan 16 2024 Songsong Zhang - 12.36-2 - Spec File: NVR bump in order to allow building in side tag. diff --git a/sources b/sources index b4539cb..8a7888b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.36.tar.xz) = 4e291427fe011774ac8b64647d26502cc9b1d9516ffbb12b3c428524de960a3f79fd9ad87043d0b6fe89d71fdf2b536c766676bfe2dda1af28246fb33518a93d +SHA512 (annobin-12.37.tar.xz) = 8ccfce6c97111fb006b612fad5a8e67136194baf7c238268e62748a82b606c689a5df07ff342f8382ee30d45cc8355b0f4a96e0c100344531ad4c224ee86a9b6 From fd3c6e395f0b08f70290bb6ce45a1b336386f000 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jan 2024 12:57:19 +0000 Subject: [PATCH 282/361] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 48f42ab..0cbbbb0 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 12.37 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -534,6 +534,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Jan 19 2024 Fedora Release Engineering - 12.37-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Wed Jan 17 2024 Nick Clifron - 12.37-1 - GCC Plugin: DO not use section groups with string format notes. From a27178473cf7708ddb5cc17f437a93a6cf680b2a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 22 Jan 2024 23:03:39 +0000 Subject: [PATCH 283/361] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 0cbbbb0..e186e18 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 12.37 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -534,6 +534,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Jan 22 2024 Fedora Release Engineering - 12.37-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jan 19 2024 Fedora Release Engineering - 12.37-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 060caaa6135e2a27997c9717b74f35963872443d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 23 Jan 2024 11:21:43 +0000 Subject: [PATCH 284/361] Annocheck: Also skip the entry point test for i686 binaries. Resolves: #2258571 --- annobin.spec | 17 ++++++++++------- sources | 2 +- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/annobin.spec b/annobin.spec index e186e18..c5526c4 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.37 -Release: 3%{?dist} +Version: 12.38 +Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -534,6 +534,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Jan 23 2024 Nick Clifron - 12.38-1 +- Annocheck: Also skip the entry point test for i686 binaries. (#2258571) + * Mon Jan 22 2024 Fedora Release Engineering - 12.37-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild @@ -543,19 +546,19 @@ make check * Wed Jan 17 2024 Nick Clifron - 12.37-1 - GCC Plugin: DO not use section groups with string format notes. -* Tue Jan 16 2024 Songsong Zhang - 12.36-2 +* Tue Jan 16 2024 Nick Clifron - 12.36-2 - Spec File: NVR bump in order to allow building in side tag. -* Tue Jan 16 2024 Songsong Zhang - 12.36-1 +* Tue Jan 16 2024 Nick Clifron - 12.36-1 - Annocheck: Disable cf-protection test for i686 architecture. (#2258571) -* Mon Jan 15 2024 Songsong Zhang - 12.35-4 +* Mon Jan 15 2024 Nick Clifron - 12.35-4 - Spec File: NVR bump in order to allow building in side tag. -* Mon Jan 15 2024 Songsong Zhang - 12.35-3 +* Mon Jan 15 2024 Nick Clifron - 12.35-3 - Spec File: Disable hard gcc check in order to allow builds with new version of gcc. -* Thu Jan 11 2024 Songsong Zhang - 12.35-2 +* Thu Jan 11 2024 Songsong Zhang - 12.35-2 - Spec File: Do not install annocheck.1.gz when annocheck is disabled. * Thu Jan 04 2024 Nick Clifron - 12.35-1 diff --git a/sources b/sources index 8a7888b..69ea182 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.37.tar.xz) = 8ccfce6c97111fb006b612fad5a8e67136194baf7c238268e62748a82b606c689a5df07ff342f8382ee30d45cc8355b0f4a96e0c100344531ad4c224ee86a9b6 +SHA512 (annobin-12.38.tar.xz) = 97155078848e4d1d58feff2f33a046b6cf4a4936895153ea18805df904939fa35357861e5340f563690c3730858302b9d79e687f3462a116a3a38d52a64691ea From b33d6eb99f2516159179841f74bead60a50d3bb7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 9 Feb 2024 19:44:11 +0000 Subject: [PATCH 285/361] Annocheck: Also skip property note test for i686 binaries. (#2258571) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index c5526c4..36831fe 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.38 +Version: 12.39 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -534,6 +534,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Feb 09 2024 Nick Clifron - 12.39-1 +- Annocheck: Also skip property note test for i686 binaries. (#2258571) + * Tue Jan 23 2024 Nick Clifron - 12.38-1 - Annocheck: Also skip the entry point test for i686 binaries. (#2258571) diff --git a/sources b/sources index 69ea182..f6007f3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.38.tar.xz) = 97155078848e4d1d58feff2f33a046b6cf4a4936895153ea18805df904939fa35357861e5340f563690c3730858302b9d79e687f3462a116a3a38d52a64691ea +SHA512 (annobin-12.39.tar.xz) = c5d5cb11a85d547aee2866d9724c402fa2fbae0679538f15ee0d78d75dede99f224a0800a143d754e9f5ad22342ec9acdaa5bbae77623b75f5bac3aa56ce332b From 53b741aee7bea9123b334560f93b302b2ab3b140 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 13 Feb 2024 10:41:58 +0000 Subject: [PATCH 286/361] Annocheck: Improve heuristic for skipping LTO and FORTIFY tests. (#2264000) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 36831fe..9c3c642 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.39 +Version: 12.40 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -534,6 +534,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Feb 13 2024 Nick Clifron - 12.30-1 +- Annocheck: Improve heuristic for skipping LTO and FORTIFY tests. (#2264000) + * Fri Feb 09 2024 Nick Clifron - 12.39-1 - Annocheck: Also skip property note test for i686 binaries. (#2258571) diff --git a/sources b/sources index f6007f3..780f6dd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.39.tar.xz) = c5d5cb11a85d547aee2866d9724c402fa2fbae0679538f15ee0d78d75dede99f224a0800a143d754e9f5ad22342ec9acdaa5bbae77623b75f5bac3aa56ce332b +SHA512 (annobin-12.40.tar.xz) = f6219711771d2b84fb5b7afbcbd34a4e1901119ba2dcedb8817ec6b039813dec9b7f1194bd4f71ba802a1c32502f8fd9b995cef20e4724bbcd42516927a7aa0c From f8fff3b527f2a50e9f15f9289a1f361947509b84 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 20 Feb 2024 10:42:34 +0000 Subject: [PATCH 287/361] fix version number in changelog entry --- annobin.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 9c3c642..0a1ca98 100644 --- a/annobin.spec +++ b/annobin.spec @@ -534,7 +534,7 @@ make check #--------------------------------------------------------------------------------- %changelog -* Tue Feb 13 2024 Nick Clifron - 12.30-1 +* Tue Feb 13 2024 Nick Clifron - 12.40-1 - Annocheck: Improve heuristic for skipping LTO and FORTIFY tests. (#2264000) * Fri Feb 09 2024 Nick Clifron - 12.39-1 From 73b8007ceaf09dc774b60a924ddd0bfa812a8580 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 21 Feb 2024 10:40:46 +0000 Subject: [PATCH 288/361] Spec File: Remove a workaround for ppc64le. --- annobin.spec | 54 +++++++++++++++++++++++++--------------------------- 1 file changed, 26 insertions(+), 28 deletions(-) diff --git a/annobin.spec b/annobin.spec index 0a1ca98..319cc53 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 12.40 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -387,11 +387,6 @@ export CLANG_TARGET_OPTIONS="-mbranch-protection=standard" %endif %endif -%ifarch ppc ppc64 ppc64le -# FIXME: This is a workaround for a problem with the Clang C++ headers. It should not be needed. -export CLANG_TARGET_OPTIONS="-mabi=ibmlongdouble" -%endif - CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" CXXFLAGS="$CFLAGS" %configure ${CONFIG_ARGS} || cat config.log %make_build @@ -534,13 +529,16 @@ make check #--------------------------------------------------------------------------------- %changelog -* Tue Feb 13 2024 Nick Clifron - 12.40-1 +* Tue Feb 20 2024 Tulio Magno Quites Machado Filho - 12.40-2 +- Spec File: Remove a workaround for ppc64le. + +* Tue Feb 13 2024 Nick Clifton - 12.40-1 - Annocheck: Improve heuristic for skipping LTO and FORTIFY tests. (#2264000) -* Fri Feb 09 2024 Nick Clifron - 12.39-1 +* Fri Feb 09 2024 Nick Clifton - 12.39-1 - Annocheck: Also skip property note test for i686 binaries. (#2258571) -* Tue Jan 23 2024 Nick Clifron - 12.38-1 +* Tue Jan 23 2024 Nick Clifton - 12.38-1 - Annocheck: Also skip the entry point test for i686 binaries. (#2258571) * Mon Jan 22 2024 Fedora Release Engineering - 12.37-3 @@ -549,67 +547,67 @@ make check * Fri Jan 19 2024 Fedora Release Engineering - 12.37-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild -* Wed Jan 17 2024 Nick Clifron - 12.37-1 +* Wed Jan 17 2024 Nick Clifton - 12.37-1 - GCC Plugin: DO not use section groups with string format notes. -* Tue Jan 16 2024 Nick Clifron - 12.36-2 +* Tue Jan 16 2024 Nick Clifton - 12.36-2 - Spec File: NVR bump in order to allow building in side tag. -* Tue Jan 16 2024 Nick Clifron - 12.36-1 +* Tue Jan 16 2024 Nick Clifton - 12.36-1 - Annocheck: Disable cf-protection test for i686 architecture. (#2258571) -* Mon Jan 15 2024 Nick Clifron - 12.35-4 +* Mon Jan 15 2024 Nick Clifton - 12.35-4 - Spec File: NVR bump in order to allow building in side tag. -* Mon Jan 15 2024 Nick Clifron - 12.35-3 +* Mon Jan 15 2024 Nick Clifton - 12.35-3 - Spec File: Disable hard gcc check in order to allow builds with new version of gcc. * Thu Jan 11 2024 Songsong Zhang - 12.35-2 - Spec File: Do not install annocheck.1.gz when annocheck is disabled. -* Thu Jan 04 2024 Nick Clifron - 12.35-1 +* Thu Jan 04 2024 Nick Clifton - 12.35-1 - Annocheck: Improve detection of FIPS compliant GO binaries. -* Fri Dec 15 2023 Nick Clifron - 12.34-1 +* Fri Dec 15 2023 Nick Clifton - 12.34-1 - GCC Plugin: Fix recording of the -Wimplicit-int and -Wimplicit-function-declaration warnings. Add active checks for when they are deliberately disabled. -* Mon Dec 11 2023 Nick Clifron - 12.33-1 +* Mon Dec 11 2023 Nick Clifton - 12.33-1 - Tests: Fix implicit-values test so that it will compile with gcc 14+. -* Fri Nov 24 2023 Nick Clifron - 12.32-1 +* Fri Nov 24 2023 Nick Clifton - 12.32-1 - GCC Plugin: Add support for -fhardended. -* Wed Nov 15 2023 Nick Clifron - 12.31-1 +* Wed Nov 15 2023 Nick Clifton - 12.31-1 - Update glibc detection heuristics for PPC64. (RHEL-16453) -* Wed Nov 01 2023 Nick Clifron - 12.30-1 +* Wed Nov 01 2023 Nick Clifton - 12.30-1 - Fix another atexit test failure. (#2247481) -* Mon Oct 30 2023 Nick Clifron - 12.29-1 +* Mon Oct 30 2023 Nick Clifton - 12.29-1 - Fix atexit test failure. - Notes: Add support for string format notes. -* Fri Oct 06 2023 Nick Clifron - 12.28-1 +* Fri Oct 06 2023 Nick Clifton - 12.28-1 - GCC Plugin: Record settings of -Wstrict-flex-arrays and -fstrict-flex-arrays - Annobin: Add future test of these options. -* Tue Sep 26 2023 Nick Clifron - 12.27-1 +* Tue Sep 26 2023 Nick Clifton - 12.27-1 - GCC Plugin: Record settings of -Wimplicit-int and -Wimplicit-function-declaration. - Annobin: Add test for these warnings. -* Wed Sep 06 2023 Nick Clifron - 12.26-1 +* Wed Sep 06 2023 Nick Clifton - 12.26-1 - LLVM Plugin: Fix building with LLVM version 17. -* Wed Aug 30 2023 Nick Clifron - 12.25-1 +* Wed Aug 30 2023 Nick Clifton - 12.25-1 - GCC Plugin: Enable string note format by default. -* Fri Aug 04 2023 Nick Clifron - 12.24-1 +* Fri Aug 04 2023 Nick Clifton - 12.24-1 - Annocheck: Change GO FIPS test to look for CGO_ENABLED markers. -* Mon Jul 31 2023 Nick Clifron - 12.23-1 +* Mon Jul 31 2023 Nick Clifton - 12.23-1 - Annocheck: Add test for FIPS compliant GO binaries. -* Wed Jul 26 2023 Nick Clifron - 12.22-1 +* Wed Jul 26 2023 Nick Clifton - 12.22-1 - Annocheck: Fix double free. (#2226749) * Wed Jul 19 2023 Fedora Release Engineering - 12.21-2 From 0effccb8be78abc7df3c1e95f5a5c95dc8a96cb3 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 27 Feb 2024 14:12:46 +0000 Subject: [PATCH 289/361] Clang Plugin: Fix building with Clang 18. GCC Plugin: Add support for MIPS specific target functions; use .dc.a for address expressions in 64-bit ELF format notes. Resolves PR #31414 --- annobin.spec | 11 ++++++++--- sources | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/annobin.spec b/annobin.spec index 319cc53..5288df4 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.40 -Release: 2%{?dist} +Version: 12.41 +Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -529,6 +529,11 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Feb 27 2024 Nick Clifton - 12.41-1 +- Clang Plugin: Fix building with Clang 18. (#31414) +- GCC Plugin: Add support for MIPS specific target functions. +- GCC Plugin: Use .dc.a for address expressions in 64-bit ELF format notes. + * Tue Feb 20 2024 Tulio Magno Quites Machado Filho - 12.40-2 - Spec File: Remove a workaround for ppc64le. @@ -548,7 +553,7 @@ make check - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jan 17 2024 Nick Clifton - 12.37-1 -- GCC Plugin: DO not use section groups with string format notes. +- GCC Plugin: Do not use section groups with string format notes. * Tue Jan 16 2024 Nick Clifton - 12.36-2 - Spec File: NVR bump in order to allow building in side tag. diff --git a/sources b/sources index 780f6dd..a95da6a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.40.tar.xz) = f6219711771d2b84fb5b7afbcbd34a4e1901119ba2dcedb8817ec6b039813dec9b7f1194bd4f71ba802a1c32502f8fd9b995cef20e4724bbcd42516927a7aa0c +SHA512 (annobin-12.41.tar.xz) = 574a77d1d3bdd5c9806492ff072c0e92c8b16785b587bb3148f1f1c41ef8d63fe38c87f80fe7720a2627b0a290d0249314fa6ccb3385db8fda24bf829a84239c From 25eb793fc65f505e95c2f0c7f50f28314592eec1 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 1 Mar 2024 13:23:24 +0000 Subject: [PATCH 290/361] Annocheck: Improve heuristics for locating debug info files. Resolves: #2267097 --- annobin.spec | 14 +++++++++----- sources | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/annobin.spec b/annobin.spec index 5288df4..2581ba7 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.41 +Version: 12.42 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -342,8 +342,8 @@ CONFIG_ARGS="$CONFIG_ARGS --with-debuginfod" CONFIG_ARGS="$CONFIG_ARGS --without-debuginfod" %endif -%if %{with clangplugin} -CONFIG_ARGS="$CONFIG_ARGS --with-clang" +%if %{without clangplugin} +CONFIG_ARGS="$CONFIG_ARGS --without-clang-plugin" %endif %if %{without gccplugin} @@ -352,8 +352,8 @@ CONFIG_ARGS="$CONFIG_ARGS --without-gcc-plugin" CONFIG_ARGS="$CONFIG_ARGS --with-gcc-plugin-dir=%{ANNOBIN_GCC_PLUGIN_DIR}" %endif -%if %{with llvmplugin} -CONFIG_ARGS="$CONFIG_ARGS --with-llvm" +%if %{without llvmplugin} +CONFIG_ARGS="$CONFIG_ARGS --without-llvm-plugin" %endif %if %{without tests} @@ -529,6 +529,10 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Mar 01 2024 Nick Clifton - 12.42-1 +- Annocheck: Improve heuristics for locating debug info files. (#2267097) +- Configure: Harmonize configure options. + * Tue Feb 27 2024 Nick Clifton - 12.41-1 - Clang Plugin: Fix building with Clang 18. (#31414) - GCC Plugin: Add support for MIPS specific target functions. diff --git a/sources b/sources index a95da6a..d723b27 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.41.tar.xz) = 574a77d1d3bdd5c9806492ff072c0e92c8b16785b587bb3148f1f1c41ef8d63fe38c87f80fe7720a2627b0a290d0249314fa6ccb3385db8fda24bf829a84239c +SHA512 (annobin-12.42.tar.xz) = 3f0a4610a458ef354844d204d87ac58bf61fba09e56afc7138086a1e419075681afa3d7c82090385a5c252905865be7a2bf8ad27001f69b3ba15f4748cc92cba From 69b1a48d80c018919ae524c771a834cce6e4da70 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 5 Mar 2024 19:15:50 +0000 Subject: [PATCH 291/361] LLVM Plugin: Use llvm-config to get the correct paths and options for building executables. Clang Plugin: Likewise. Enable silent rules for most building. Annocheck: Correctly extract DWARF attributes from DT_REL files. --- annobin.spec | 8 +++++++- sources | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 2581ba7..7f5e8dc 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.42 +Version: 12.43 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -529,6 +529,12 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Mar 05 2024 Nick Clifton - 12.42-1 +- LLVM Plugin: Use llvm-config to get the correct paths and options for building executables. +- Clang Plugin: Likewise. +- Enable silent rules for most building. +- Annocheck: Correctly extract DWARF attributes from DT_REL files. + * Fri Mar 01 2024 Nick Clifton - 12.42-1 - Annocheck: Improve heuristics for locating debug info files. (#2267097) - Configure: Harmonize configure options. diff --git a/sources b/sources index d723b27..ba749bc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.42.tar.xz) = 3f0a4610a458ef354844d204d87ac58bf61fba09e56afc7138086a1e419075681afa3d7c82090385a5c252905865be7a2bf8ad27001f69b3ba15f4748cc92cba +SHA512 (annobin-12.43.tar.xz) = 6d3906847611cf95521b3adce065ac0f6b84f57f12726035287c379e7a7d9f4423b7ac894838c77268e482b7c8e749c378c4dcb399cb2f3db69386f5c9dd4d4e From 5f0f6e213007c19f03488fc2dcf610f4023df7a8 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 6 Mar 2024 11:09:08 +0000 Subject: [PATCH 292/361] Configure: Remove check for FrontendPluginRegistry.h header as it is stored in a non-standard location on Debian systems. Debuginfod test: Allow for the libdwfl library silently contacting the debuginfod server. --- annobin.spec | 8 ++++++-- sources | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 7f5e8dc..9dc5828 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.43 +Version: 12.44 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -529,7 +529,11 @@ make check #--------------------------------------------------------------------------------- %changelog -* Tue Mar 05 2024 Nick Clifton - 12.42-1 +* Wed Mar 06 2024 Nick Clifton - 12.44-1 +- Configure: Remove check for FrontendPluginRegistry.h header as it is stored in a non-standard location on Debian systems. +- Debuginfod test: Allow for the libdwfl library silently contacting the debuginfod server. + +* Tue Mar 05 2024 Nick Clifton - 12.43-1 - LLVM Plugin: Use llvm-config to get the correct paths and options for building executables. - Clang Plugin: Likewise. - Enable silent rules for most building. diff --git a/sources b/sources index ba749bc..6033c0d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.43.tar.xz) = 6d3906847611cf95521b3adce065ac0f6b84f57f12726035287c379e7a7d9f4423b7ac894838c77268e482b7c8e749c378c4dcb399cb2f3db69386f5c9dd4d4e +SHA512 (annobin-12.44.tar.xz) = 9da79cbeb34ce3f9871e214f7af13ac6765fe526593206612bffee0de592ae2745415f91048af155632c26d608ed094d59770388c414c31ca4dc991f0b5acf29 From 47385af4e7c241efb560a15fce4f4f53c9b12b20 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 21 Mar 2024 13:55:31 +0000 Subject: [PATCH 293/361] GCC Plugin: Fix bug extracing the value of target specific command line options. --- annobin.spec | 15 ++++++--------- sources | 2 +- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/annobin.spec b/annobin.spec index 9dc5828..a838a35 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.44 +Version: 12.45 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -363,11 +363,8 @@ CONFIG_ARGS="$CONFIG_ARGS --without-tests" %if %{without annocheck} CONFIG_ARGS="$CONFIG_ARGS --without-annocheck" %else -# Fedora supports AArch64's -mbranch-protection=bti, RHEL does not. -%if 0%{?fedora} != 0 export CFLAGS="$CFLAGS -DAARCH64_BRANCH_PROTECTION_SUPPORTED=1" %endif -%endif %set_build_flags @@ -375,17 +372,14 @@ export CFLAGS="$CFLAGS $RPM_OPT_FLAGS %build_cflags" export LDFLAGS="$LDFLAGS %build_ldflags" # Set target-specific security options to be used when building the -# Clang and LLVM plugins. FIXME: There should be a better way to do -# this. +# Clang and LLVM plugins. +# FIXME: There should be a better way to do this. %ifarch %{ix86} x86_64 export CLANG_TARGET_OPTIONS="-fcf-protection" %endif - %ifarch aarch64 -%if 0%{?fedora} != 0 export CLANG_TARGET_OPTIONS="-mbranch-protection=standard" %endif -%endif CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" CXXFLAGS="$CFLAGS" %configure ${CONFIG_ARGS} || cat config.log @@ -529,6 +523,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Mar 21 2024 Nick Clifton - 12.45-1 +- GCC Plugin: Fix bug extracing the value of target specific command line options. + * Wed Mar 06 2024 Nick Clifton - 12.44-1 - Configure: Remove check for FrontendPluginRegistry.h header as it is stored in a non-standard location on Debian systems. - Debuginfod test: Allow for the libdwfl library silently contacting the debuginfod server. diff --git a/sources b/sources index 6033c0d..b7dbbe2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.44.tar.xz) = 9da79cbeb34ce3f9871e214f7af13ac6765fe526593206612bffee0de592ae2745415f91048af155632c26d608ed094d59770388c414c31ca4dc991f0b5acf29 +SHA512 (annobin-12.45.tar.xz) = 52043e37021463b46f2c103db53dd04ba478170f6bab607b05e430ecfd77c2d7c5465a7b1dd26301effe1125b4653108561ced685401eece1fa882824b6f950b From 303819a5ab54580f02f4d1659066e17473f1d6aa Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 25 Mar 2024 17:14:25 +0000 Subject: [PATCH 294/361] Improve AArch64 branch protection (again) --- annobin.spec | 8 +++++++- sources | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index a838a35..aab36c9 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.45 +Version: 12.46 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -523,6 +523,12 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Mar 25 2024 Tulio Magno Quites Machado Filho - 12.46-1 +- Annocheck: Improve detection of -mbranch-protection option. +- Clang Plugin: Add global-file-syms option. +- LLVM Plugin: Add global-file-syms option. +- Plugins: Add support for ANNOBIN environment variable. + * Thu Mar 21 2024 Nick Clifton - 12.45-1 - GCC Plugin: Fix bug extracing the value of target specific command line options. diff --git a/sources b/sources index b7dbbe2..bc5c161 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.45.tar.xz) = 52043e37021463b46f2c103db53dd04ba478170f6bab607b05e430ecfd77c2d7c5465a7b1dd26301effe1125b4653108561ced685401eece1fa882824b6f950b +SHA512 (annobin-12.46.tar.xz) = 6805298e1168dbdd287e706a5d58de0cf06d715b40254f33d757b356b5655f0d1ddc519c478b836c7b8ee89813982b35fc5bec6384a010e40e0d56888d6eb5b2 From 896c08393d8e62a813b50e1b1e4943d808a1a834 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 27 Mar 2024 15:34:11 +0000 Subject: [PATCH 295/361] Clang & LLVM Plugins: Allow environment to override fortification level. (RHEL-30579) - Spec File: Override fortification level and set it to 3. --- annobin.spec | 21 ++++++++++++++++----- sources | 2 +- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/annobin.spec b/annobin.spec index aab36c9..78d5ec9 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.46 +Version: 12.47 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -371,8 +371,7 @@ export CFLAGS="$CFLAGS -DAARCH64_BRANCH_PROTECTION_SUPPORTED=1" export CFLAGS="$CFLAGS $RPM_OPT_FLAGS %build_cflags" export LDFLAGS="$LDFLAGS %build_ldflags" -# Set target-specific security options to be used when building the -# Clang and LLVM plugins. +# Set target-specific options to be used when building the Clang and LLVM plugins. # FIXME: There should be a better way to do this. %ifarch %{ix86} x86_64 export CLANG_TARGET_OPTIONS="-fcf-protection" @@ -380,6 +379,12 @@ export CLANG_TARGET_OPTIONS="-fcf-protection" %ifarch aarch64 export CLANG_TARGET_OPTIONS="-mbranch-protection=standard" %endif +%ifnarch risv64 +export CLANG_TARGET_OPTIONS="$CLANG_TARGET_OPTIONS -flto" +%endif + +# Override the default fortification level used by the Clang and LLVM plugins. +export PLUGIN_FORTIFY_OPTION="-D_FORTIFY_SOURCE=3" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" CXXFLAGS="$CFLAGS" %configure ${CONFIG_ARGS} || cat config.log @@ -413,12 +418,14 @@ rm %{_tmppath}/tmp_annobin.so %if %{with clangplugin} cp clang-plugin/annobin-for-clang.so %{_tmppath}/tmp_annobin.so -make -C clang-plugin all CXXFLAGS="$OPTS $BUILD_FLAGS" +# To enable verbose more in the plugin append the following: ANNOBIN="verbose" +make -C clang-plugin clean all CLANG_TARGET_OPTIONS="$CLANG_TARGET_OPTIONS $BUILD_FLAGS" %endif %if %{with llvmplugin} cp llvm-plugin/annobin-for-llvm.so %{_tmppath}/tmp_annobin.so -make -C llvm-plugin all CXXFLAGS="$OPTS $BUILD_FLAGS" +# To enable verbose more in the plugin append the following: ANNOBIN_VERBOSE="true" +make -C llvm-plugin clean all CLANG_TARGET_OPTIONS="$CLANG_TARGET_OPTIONS $BUILD_FLAGS" %endif # endif for %%if {with_plugin_rebuild} @@ -523,6 +530,10 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Mar 27 2024 Nick Clifton - 12.47-1 +- Clang & LLVM Plugins: Allow environment to override fortification level. (RHEL-30579) +- Spec File: Override fortification level and set it to 3. + * Mon Mar 25 2024 Tulio Magno Quites Machado Filho - 12.46-1 - Annocheck: Improve detection of -mbranch-protection option. - Clang Plugin: Add global-file-syms option. diff --git a/sources b/sources index bc5c161..6ff094a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.46.tar.xz) = 6805298e1168dbdd287e706a5d58de0cf06d715b40254f33d757b356b5655f0d1ddc519c478b836c7b8ee89813982b35fc5bec6384a010e40e0d56888d6eb5b2 +SHA512 (annobin-12.47.tar.xz) = 3182a948e9ec2b06943fbeace9c6b5cda457e5fe227e702f851592d98f2291959e1969e67c1ef70a509ededc1c2500ab0243f2a317dc4c8a205246cab457a2ba From f781e05bf23703ac01058b6115302f20c7ba58bb Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 2 Apr 2024 12:24:49 +0100 Subject: [PATCH 296/361] Annocheck: Update heuristics for detecting glibc code in executables. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 78d5ec9..e30b793 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.47 +Version: 12.48 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -530,6 +530,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Apr 02 2024 Nick Clifton - 12.48-1 +- Annocheck: Update heuristics for detecting glibc code in executables. (RHEL-30579) + * Wed Mar 27 2024 Nick Clifton - 12.47-1 - Clang & LLVM Plugins: Allow environment to override fortification level. (RHEL-30579) - Spec File: Override fortification level and set it to 3. diff --git a/sources b/sources index 6ff094a..3460bc9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.47.tar.xz) = 3182a948e9ec2b06943fbeace9c6b5cda457e5fe227e702f851592d98f2291959e1969e67c1ef70a509ededc1c2500ab0243f2a317dc4c8a205246cab457a2ba +SHA512 (annobin-12.48.tar.xz) = ed925bdd7cb84b2573174d399f04a45fd45d8a39b9715115561865d3904e58903baecebd59dce2afff2fb3f5046a4bc96e3531bd082480de0c3f412b45269f3e From ea27843b3987855ff4ae205d0c0a5f7228bcf11e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 18 Apr 2024 14:57:25 +0100 Subject: [PATCH 297/361] GCC Plugin: Disable active check for -Wimplicit-int for non-C sources. (#2275884) --- annobin.spec | 8 +++++++- sources | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index e30b793..c6c96e0 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.48 +Version: 12.49 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -530,6 +530,12 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Apr 18 2024 Nick Clifton - 12.49-1 +- GCC Plugin: Disable active check for -Wimplicit-int for non-C sources. (#2275884) +- Annocheck: Ignore stack checks for AMD GPU binaries. +- Annocheck: Do not produce FAIL result for i686 binaries in the RHEL-10 profile. +- Annocheck: Test for __stack_chk_guard being writeable. + * Tue Apr 02 2024 Nick Clifton - 12.48-1 - Annocheck: Update heuristics for detecting glibc code in executables. (RHEL-30579) diff --git a/sources b/sources index 3460bc9..2838410 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.48.tar.xz) = ed925bdd7cb84b2573174d399f04a45fd45d8a39b9715115561865d3904e58903baecebd59dce2afff2fb3f5046a4bc96e3531bd082480de0c3f412b45269f3e +SHA512 (annobin-12.49.tar.xz) = 830e041b351a56be4c13a2962d358b59c174fc79448461e23e7e7b085bd0848cda0e36bbefb3ec83f4ed9041f776b20bf50bd7771a898ca6a78e2d3d91ad3b3c From 3c6b5392cb055dbe86849f1d2cc56148a76dcc5e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 22 Apr 2024 10:10:53 +0100 Subject: [PATCH 298/361] Annocheck: Skip AArch64 branch protection test for GO binaries. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index c6c96e0..7716c51 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.49 +Version: 12.50 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -530,6 +530,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Apr 22 2024 Nick Clifton - 12.50-1 +- Annocheck: Skip AArch64 branch protection test for GO binaries. + * Thu Apr 18 2024 Nick Clifton - 12.49-1 - GCC Plugin: Disable active check for -Wimplicit-int for non-C sources. (#2275884) - Annocheck: Ignore stack checks for AMD GPU binaries. diff --git a/sources b/sources index 2838410..4cb2afd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.49.tar.xz) = 830e041b351a56be4c13a2962d358b59c174fc79448461e23e7e7b085bd0848cda0e36bbefb3ec83f4ed9041f776b20bf50bd7771a898ca6a78e2d3d91ad3b3c +SHA512 (annobin-12.50.tar.xz) = cbb8b723b623c805c25c104626d49dc98122beac0e3396943ddbeee35d31f496bbaa7aa7ac402648fb0f69dbcbe9c57053d3451fc9ef13b81e3547ea4b5133f1 From bfcebe5b7a125630c72292fab192625556e40dd0 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 23 Apr 2024 14:01:09 +0100 Subject: [PATCH 299/361] Annocheck: Test for gaps even when only one note is present. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 7716c51..2ebfd0a 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.50 +Version: 12.51 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -530,6 +530,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Apr 23 2024 Nick Clifton - 12.51-1 +- Annocheck: Test for gaps even when only one note is present. + * Mon Apr 22 2024 Nick Clifton - 12.50-1 - Annocheck: Skip AArch64 branch protection test for GO binaries. diff --git a/sources b/sources index 4cb2afd..f0f2149 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.50.tar.xz) = cbb8b723b623c805c25c104626d49dc98122beac0e3396943ddbeee35d31f496bbaa7aa7ac402648fb0f69dbcbe9c57053d3451fc9ef13b81e3547ea4b5133f1 +SHA512 (annobin-12.51.tar.xz) = 349c61b4256e18de9a59f93e29090e6dc0f668b9abac860f88a3e2938d21e674422476f8701c99a15bc83d0255c3e6a59ad0fcf057d094aeb8794380e92fd9b0 From 347ab12f1bc69309e463c5ec1037c9dbd63c3af3 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 23 Apr 2024 17:06:11 +0100 Subject: [PATCH 300/361] Fix typo in RiscV-64 test --- annobin.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 2ebfd0a..fdcae7d 100644 --- a/annobin.spec +++ b/annobin.spec @@ -379,7 +379,7 @@ export CLANG_TARGET_OPTIONS="-fcf-protection" %ifarch aarch64 export CLANG_TARGET_OPTIONS="-mbranch-protection=standard" %endif -%ifnarch risv64 +%ifnarch riscv64 export CLANG_TARGET_OPTIONS="$CLANG_TARGET_OPTIONS -flto" %endif From 36d58767e858b4d4de03bc7f6f642abd55bf1f1c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 25 Apr 2024 15:37:11 +0100 Subject: [PATCH 301/361] Annocheck: Add OpenSSL Engine test. (PTG-319) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index fdcae7d..ea30667 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.51 +Version: 12.52 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -530,6 +530,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Apr 25 2024 Nick Clifton - 12.52-1 +- Annocheck: Add OpenSSL Engine test. (PTG-319) + * Tue Apr 23 2024 Nick Clifton - 12.51-1 - Annocheck: Test for gaps even when only one note is present. diff --git a/sources b/sources index f0f2149..9856bd5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.51.tar.xz) = 349c61b4256e18de9a59f93e29090e6dc0f668b9abac860f88a3e2938d21e674422476f8701c99a15bc83d0255c3e6a59ad0fcf057d094aeb8794380e92fd9b0 +SHA512 (annobin-12.52.tar.xz) = d5ef0bf20fb9db1fb3c86000fbd2f130f30fabc45e6ea183438f272f57119f0c34267ce47fe7ba6a9c227657c4aeecb9c71b4390cc808e8d1ddd9fd85ce02c8a From c1911b4522987b1658461a85e9ee05c5f19bb6b5 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 9 May 2024 13:32:34 +0100 Subject: [PATCH 302/361] Annocheck: Defer passing the branch protection test until all notes have been checked. GCC Plugin: Add extra code for detecting the branch protection setting. (RHEL-35958) --- annobin.spec | 6 +++++- sources | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index ea30667..e44845b 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.52 +Version: 12.53 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -530,6 +530,10 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu May 09 2024 Nick Clifton - 12.53-1 +- Annocheck: Defer passing the branch protection test until all notes have been checked. +- GCC Plugin: Add extra code for detecting the branch protection setting. (RHEL-35958) + * Thu Apr 25 2024 Nick Clifton - 12.52-1 - Annocheck: Add OpenSSL Engine test. (PTG-319) diff --git a/sources b/sources index 9856bd5..99eb3e9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.52.tar.xz) = d5ef0bf20fb9db1fb3c86000fbd2f130f30fabc45e6ea183438f272f57119f0c34267ce47fe7ba6a9c227657c4aeecb9c71b4390cc808e8d1ddd9fd85ce02c8a +SHA512 (annobin-12.53.tar.xz) = c8db1e76f13e2384c28682682aaeebf652c7077024b0b7a3db73a28da4cdc28bf78c2991cb7bd0ee4c72d270712e74243df12f832ea50b46c02228240f84aa63 From ccc51555db99c79d475e491aa1e6496bf64c0818 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 9 May 2024 14:57:48 +0100 Subject: [PATCH 303/361] Spec File: Add the annobin source directory to the files section. (#2279779) --- annobin.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index e44845b..4c0b55f 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 12.53 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -513,6 +513,7 @@ make check %{ANNOBIN_GCC_PLUGIN_DIR}/annobin.so.0 %{ANNOBIN_GCC_PLUGIN_DIR}/annobin.so.0.0.0 %{ANNOBIN_GCC_PLUGIN_DIR}/%{aver} +%dir %{annobin_source_dir} %{annobin_source_dir}/latest-annobin.tar.xz %endif @@ -530,6 +531,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu May 09 2024 Nick Clifton - 12.53-2 +- Spec File: Add the annobin source directory to the files section. (#2279779) + * Thu May 09 2024 Nick Clifton - 12.53-1 - Annocheck: Defer passing the branch protection test until all notes have been checked. - GCC Plugin: Add extra code for detecting the branch protection setting. (RHEL-35958) From 2f7d934a1b776a0f1b9597924d233b0c33f1fce9 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 14 May 2024 13:12:09 +0100 Subject: [PATCH 304/361] Annocheck: Remove some false positives for Rust binaries. (#2280239) --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 4c0b55f..a6feafc 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.53 -Release: 2%{?dist} +Version: 12.54 +Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -531,6 +531,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue May 14 2024 Nick Clifton - 12.54-1 +- Annocheck: Remove some false positives for Rust binaries. (#2280239) + * Thu May 09 2024 Nick Clifton - 12.53-2 - Spec File: Add the annobin source directory to the files section. (#2279779) diff --git a/sources b/sources index 99eb3e9..90a3457 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.53.tar.xz) = c8db1e76f13e2384c28682682aaeebf652c7077024b0b7a3db73a28da4cdc28bf78c2991cb7bd0ee4c72d270712e74243df12f832ea50b46c02228240f84aa63 +SHA512 (annobin-12.54.tar.xz) = 1f7073bce6274a898bb540101db7e27c498ec59a74a2001826a46e356c885f575dc952cda425155bfe26c90049c23b154b2cf5d36b73e5d62df5c7cd82c38977 From 9258b8e3451475655112648224aab73199d47785 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 15 May 2024 09:40:39 +0100 Subject: [PATCH 305/361] Remove spurious tabs in spec file --- annobin.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index a6feafc..744070e 100644 --- a/annobin.spec +++ b/annobin.spec @@ -382,7 +382,7 @@ export CLANG_TARGET_OPTIONS="-mbranch-protection=standard" %ifnarch riscv64 export CLANG_TARGET_OPTIONS="$CLANG_TARGET_OPTIONS -flto" %endif - + # Override the default fortification level used by the Clang and LLVM plugins. export PLUGIN_FORTIFY_OPTION="-D_FORTIFY_SOURCE=3" @@ -1071,7 +1071,7 @@ make check * Fri Dec 17 2021 Nick Clifton - 10.39-1 - Annocheck: Add /usr/lib/ld-linux-aarch64.so.1 to the list of known glibc binaries. (#2033255) - Doc: Note that ENDBR is only needed as the landing pad for indirect branches/calls. (#28705) -- Spec File: Store full gcc version release string in plugin info file. (#2030671) +- Spec File: Store full gcc version release string in plugin info file. (#2030671) * Tue Dec 14 2021 Nick Clifton - 10.38-1 - Annocheck: Add special case for x86_64 RHEL-7 gaps. (#2031133) From bdb24185ac98fe1d67f8953aa4b5f29e4f317f5e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 20 May 2024 11:01:20 +0100 Subject: [PATCH 306/361] Spec File: Add annobin plugin document directory to the files section. (#2279779) --- annobin.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 744070e..8e7e936 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 12.54 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -484,6 +484,7 @@ make check %files docs %license COPYING3 LICENSE +%dir %{_datadir}/doc/annobin-plugin %exclude %{_datadir}/doc/annobin-plugin/COPYING3 %exclude %{_datadir}/doc/annobin-plugin/LICENSE %doc %{_datadir}/doc/annobin-plugin/annotation.proposal.txt @@ -531,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon May 20 2024 Nick Clifton - 12.54-2 +- Spec File: Add annobin plugin document directory to the files section. (#2279779) + * Tue May 14 2024 Nick Clifton - 12.54-1 - Annocheck: Remove some false positives for Rust binaries. (#2280239) From ae512e7472d2f44d10d053cb6c2a1c6558945ae4 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 20 May 2024 17:02:37 +0100 Subject: [PATCH 307/361] Annocheck: Skip GAPS test for GO binaries. (RHEL-36308) --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 8e7e936..c2a511d 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.54 -Release: 2%{?dist} +Version: 12.55 +Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon May 20 2024 Nick Clifton - 12.55-1 +- Annocheck: Skip GAPS test for GO binaries. (RHEL-36308) + * Mon May 20 2024 Nick Clifton - 12.54-2 - Spec File: Add annobin plugin document directory to the files section. (#2279779) diff --git a/sources b/sources index 90a3457..93a9832 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.54.tar.xz) = 1f7073bce6274a898bb540101db7e27c498ec59a74a2001826a46e356c885f575dc952cda425155bfe26c90049c23b154b2cf5d36b73e5d62df5c7cd82c38977 +SHA512 (annobin-12.55.tar.xz) = b63f866c997487bf4f9638dc5fd5bc76dab6ca1c437b05e745e410c9ca04e0ca8d7b4f89ebf855437a2413ef2b0695dfdbade38666eb4474c111de903ca8312c From d6a496d36f9bfc9c10f424a38c81a6d06c95d76f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 4 Jun 2024 12:59:30 +0100 Subject: [PATCH 308/361] Annocheck: Add tweaks for mixed Rust/C binaries. Annocheck: Add more glibc source file names. Resolves: #2284605 --- annobin.spec | 6 +++++- sources | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index c2a511d..f7d3b41 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.55 +Version: 12.57 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,10 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Jun 04 2024 Nick Clifton - 12.57-1 +- Annocheck: Add tweaks for mixed Rust/C binaries. (#2284605) +- Annocheck: Add more glibc source file names. + * Mon May 20 2024 Nick Clifton - 12.55-1 - Annocheck: Skip GAPS test for GO binaries. (RHEL-36308) diff --git a/sources b/sources index 93a9832..b428cb7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.55.tar.xz) = b63f866c997487bf4f9638dc5fd5bc76dab6ca1c437b05e745e410c9ca04e0ca8d7b4f89ebf855437a2413ef2b0695dfdbade38666eb4474c111de903ca8312c +SHA512 (annobin-12.57.tar.xz) = 9d4b2931979ea014826bafa9e3d7e1fc332af0dcaf6d6e7ce94a5d01971b4247b4dbd3a5175ca0b0cb0a545d228689e67889b9d73aa2b9986d5587da64711de3 From 259c41299f586be6cff77a92462d66fba6d1a5d8 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 10 Jun 2024 20:21:55 +0100 Subject: [PATCH 309/361] Annocheck: Add improvements for handling Clang runtime binaries. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index f7d3b41..2a1c747 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.57 +Version: 12.58 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Jun 10 2024 Nick Clifton - 12.58-1 +- Annocheck: Add improvements for handling Clang runtime binaries. + * Tue Jun 04 2024 Nick Clifton - 12.57-1 - Annocheck: Add tweaks for mixed Rust/C binaries. (#2284605) - Annocheck: Add more glibc source file names. diff --git a/sources b/sources index b428cb7..cf990dd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.57.tar.xz) = 9d4b2931979ea014826bafa9e3d7e1fc332af0dcaf6d6e7ce94a5d01971b4247b4dbd3a5175ca0b0cb0a545d228689e67889b9d73aa2b9986d5587da64711de3 +SHA512 (annobin-12.58.tar.xz) = f39993fdd8ec77e4a9ad68c8bcac844a76b504fec9bdbc1ccac9cbdbafc71bc17f86516895449fea80d62c3e67c600cfff0c4715084d3e90ba91fd41b059b122 From e3ef33dbabf1299b90026f92f9e01c282a9a11d8 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 11 Jun 2024 11:09:31 +0100 Subject: [PATCH 310/361] Annocheck: Add heuristic for detecting parts of the CGO runtime library. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 2a1c747..df81a90 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.58 +Version: 12.59 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Jun 11 2024 Nick Clifton - 12.59-1 +- Annocheck: Add heuristic for detecting parts of the CGO runtime library. + * Mon Jun 10 2024 Nick Clifton - 12.58-1 - Annocheck: Add improvements for handling Clang runtime binaries. diff --git a/sources b/sources index cf990dd..d352251 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.58.tar.xz) = f39993fdd8ec77e4a9ad68c8bcac844a76b504fec9bdbc1ccac9cbdbafc71bc17f86516895449fea80d62c3e67c600cfff0c4715084d3e90ba91fd41b059b122 +SHA512 (annobin-12.59.tar.xz) = a4a636eacd5553d53c56532b4a9d9104b682b738dc6c6b04a2bfd07b853470495f5acb1d4a25c0ac051b38380e2e39f2ee55f6632080fc62202782bd86db82ec From ef0b5b688f28fde4bd4762ae1ea19ded6437be34 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 26 Jun 2024 13:14:34 +0100 Subject: [PATCH 311/361] Annocheck: Add support for Fortran binaries. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index df81a90..21c530d 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.59 +Version: 12.60 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Jun 26 2024 Nick Clifton - 12.60-1 +- Annocheck: Add support for Fortran binaries. + * Tue Jun 11 2024 Nick Clifton - 12.59-1 - Annocheck: Add heuristic for detecting parts of the CGO runtime library. diff --git a/sources b/sources index d352251..f63f4c1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.59.tar.xz) = a4a636eacd5553d53c56532b4a9d9104b682b738dc6c6b04a2bfd07b853470495f5acb1d4a25c0ac051b38380e2e39f2ee55f6632080fc62202782bd86db82ec +SHA512 (annobin-12.60.tar.xz) = 811393c5278773ab6bea45271e0495a21c518c591cfa25baf29fc160b3d782d74889276772a6123795bb165d6b5e04764cda939585b243371d07d36b5650c81f From 66acf79a6561735afb9ec3f3384f65edc014eeee Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 8 Jul 2024 16:18:17 +0100 Subject: [PATCH 312/361] Annocheck: Add support for ADA binaries. Annocheck: Add support for binaries built from more than two high level source languages. Annocheck: Add support for object files containing no executable code. Annocheck: Do not FAIL LLVM compiled binaries that have not been built with sanitize-cfi and/or sanitize-safe-stack. --- annobin.spec | 8 +++++++- sources | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 21c530d..1aa0dbd 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.60 +Version: 12.62 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,12 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Jul 08 2024 Nick Clifton - 12.62-1 +- Annocheck: Add support for ADA binaries. +- Annocheck: Add support for binaries built from more than two high level source languages. +- Annocheck: Add support for object files containing no executable code. +- Annocheck: Do not FAIL LLVM compiled binaries that have not been built with sanitize-cfi and/or sanitize-safe-stack. + * Wed Jun 26 2024 Nick Clifton - 12.60-1 - Annocheck: Add support for Fortran binaries. diff --git a/sources b/sources index f63f4c1..883f612 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.60.tar.xz) = 811393c5278773ab6bea45271e0495a21c518c591cfa25baf29fc160b3d782d74889276772a6123795bb165d6b5e04764cda939585b243371d07d36b5650c81f +SHA512 (annobin-12.62.tar.xz) = c60a121227b96a9c6de69e4893967111d439acbf48dac71d70e60c46ea729f6c01a8eac35bd2db6010f722b0731c0440de8be9e0d4f182fd09d86351d79fe5ad From 8b14651d73e5bae16a95bb955ca0217e110744b4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 17 Jul 2024 17:00:25 +0000 Subject: [PATCH 313/361] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 1aa0dbd..4a7b7f4 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 12.62 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Jul 17 2024 Fedora Release Engineering - 12.62-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Mon Jul 08 2024 Nick Clifton - 12.62-1 - Annocheck: Add support for ADA binaries. - Annocheck: Add support for binaries built from more than two high level source languages. From 45d3b32bb5d47a7de4cc9751f5b8b26160b9f866 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 22 Jul 2024 16:41:34 +0100 Subject: [PATCH 314/361] Annocheck: Add improvements to the builtby utility. --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 4a7b7f4..f71b50b 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.62 -Release: 2%{?dist} +Version: 12.63 +Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Jul 22 2024 Nick Clifton - 12.63-1 +- Annocheck: Add improvements to the builtby utility. + * Wed Jul 17 2024 Fedora Release Engineering - 12.62-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild diff --git a/sources b/sources index 883f612..b852f8a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.62.tar.xz) = c60a121227b96a9c6de69e4893967111d439acbf48dac71d70e60c46ea729f6c01a8eac35bd2db6010f722b0731c0440de8be9e0d4f182fd09d86351d79fe5ad +SHA512 (annobin-12.63.tar.xz) = e1fcca15b32146272bbeaa24a42263115c35cd47f7c0a82590fd432c5dd519e87740b6ef1246dd6419d763f99797e6910e64f9c90e6cba188f9e77c7a18e26cc From 0e3736f8d5f19164aaec9d3b5b541fca1faa8c15 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 26 Jul 2024 11:36:40 +0100 Subject: [PATCH 315/361] GCC Plugin: Fix building AArch64 component with GCC < 11.5 --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index f71b50b..35a74e7 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.63 +Version: 12.64 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Jul 26 2024 Nick Clifton - 12.64-1 +- GCC Plugin: Fix building AArch64 components with gcc earlier than 11.3. + * Mon Jul 22 2024 Nick Clifton - 12.63-1 - Annocheck: Add improvements to the builtby utility. diff --git a/sources b/sources index b852f8a..729b8e2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.63.tar.xz) = e1fcca15b32146272bbeaa24a42263115c35cd47f7c0a82590fd432c5dd519e87740b6ef1246dd6419d763f99797e6910e64f9c90e6cba188f9e77c7a18e26cc +SHA512 (annobin-12.64.tar.xz) = 369ba1d4fffaaf860216954dddccb585aa0522cd49194f0ea9e81fb0a21be103bfa5a1d6ada22864e38a779ddb24a19aa37a32f9522537a7ff0ef43c4c0d5870 From 971ba2a8a8696af2c35d069471b3e252262ca7b2 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 29 Jul 2024 14:26:39 +0100 Subject: [PATCH 316/361] Annocheck: Fix recording arguments for later re-use. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 35a74e7..94b7591 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.64 +Version: 12.65 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Jul 29 2024 Nick Clifton - 12.65-1 +- Annocheck: Fix recording arguments for later re-use. (RHEL-50802) + * Fri Jul 26 2024 Nick Clifton - 12.64-1 - GCC Plugin: Fix building AArch64 components with gcc earlier than 11.3. diff --git a/sources b/sources index 729b8e2..b6842bd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.64.tar.xz) = 369ba1d4fffaaf860216954dddccb585aa0522cd49194f0ea9e81fb0a21be103bfa5a1d6ada22864e38a779ddb24a19aa37a32f9522537a7ff0ef43c4c0d5870 +SHA512 (annobin-12.65.tar.xz) = ebe4736b4691e4d4846dfd0f0b1d417069a2fb7d6f1d176efb8bacd5f685b534e0045fb956fa656d3f41dda425f5140c81974b07ec22c9ccb1ae493122e42b2b From 723cebcb850ab786f4a796461e6ad3cceb1181d5 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 2 Aug 2024 12:21:43 +0100 Subject: [PATCH 317/361] Annocheck: Fix stack realign test. (#2302427) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 94b7591..ccacebe 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.65 +Version: 12.66 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Aug 02 2024 Nick Clifton - 12.66-1 +- Annocheck: Fix stack realign test. (#2302427) + * Mon Jul 29 2024 Nick Clifton - 12.65-1 - Annocheck: Fix recording arguments for later re-use. (RHEL-50802) diff --git a/sources b/sources index b6842bd..13dec8e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.65.tar.xz) = ebe4736b4691e4d4846dfd0f0b1d417069a2fb7d6f1d176efb8bacd5f685b534e0045fb956fa656d3f41dda425f5140c81974b07ec22c9ccb1ae493122e42b2b +SHA512 (annobin-12.66.tar.xz) = ce735e216266aecd2bc24021934da5f70ba67506464a8dfcb9b564379ddf83f65c0f52756ca60f6777622218da7c1115fdc93082d9c310df87e58a29c072055e From 1af9abd0da96588ad0a8772e71fee5d72191eebd Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 7 Aug 2024 16:11:25 +0100 Subject: [PATCH 318/361] Annocheck: Stop spurious assembler warnings. (RHEL-53213) - Annocheck: Stop warnings about known gaps. (RHEL-53218) --- annobin.spec | 6 +++++- sources | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index ccacebe..aeb1448 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.66 +Version: 12.67 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,10 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Aug 07 2024 Nick Clifton - 12.67-1 +- Annocheck: Stop spurious assembler warnings. (RHEL-53213) +- Annocheck: Stop warnings about known gaps. (RHEL-53218) + * Fri Aug 02 2024 Nick Clifton - 12.66-1 - Annocheck: Fix stack realign test. (#2302427) diff --git a/sources b/sources index 13dec8e..1dbdd18 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.66.tar.xz) = ce735e216266aecd2bc24021934da5f70ba67506464a8dfcb9b564379ddf83f65c0f52756ca60f6777622218da7c1115fdc93082d9c310df87e58a29c072055e +SHA512 (annobin-12.67.tar.xz) = 4c76cfc9faf499e9b016e32b591f96e9b636280190e6dadebd87f3d55416f118e57e50b54ca8dd10437200a0a96463be5ce4f6c663dc00240ed01e90dc69ff3b From 7583405a162217eb3b71f5786abd9c561db36434 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 12 Aug 2024 14:27:20 +0100 Subject: [PATCH 319/361] BuiltBy: Fix seg-fault when comparing language version strings. (RHEL-53497) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index aeb1448..aaaca33 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.67 +Version: 12.69 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Aug 12 2024 Nick Clifton - 12.69-1 +- BuiltBy: Fix seg-fault when comparing language version strings. (RHEL-53497) + * Wed Aug 07 2024 Nick Clifton - 12.67-1 - Annocheck: Stop spurious assembler warnings. (RHEL-53213) - Annocheck: Stop warnings about known gaps. (RHEL-53218) diff --git a/sources b/sources index 1dbdd18..26eab62 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.67.tar.xz) = 4c76cfc9faf499e9b016e32b591f96e9b636280190e6dadebd87f3d55416f118e57e50b54ca8dd10437200a0a96463be5ce4f6c663dc00240ed01e90dc69ff3b +SHA512 (annobin-12.69.tar.xz) = 41a14a2e5a99f9aa08bd54c789c9d8edc4ff7156622c8e42e6bb7f39df1fc2ac343f77b2ad40288f009626dfbb102a0fc98b6e0c2d03d62a18eebdb900f4cbba From f14a6141ce9e8392864da65270dc10bddfa486dc Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 14 Aug 2024 08:31:05 +0100 Subject: [PATCH 320/361] Clang & LLVM Plugins: Include install directory in binary. (RHEL-54069) --- annobin.spec | 9 ++++++--- sources | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/annobin.spec b/annobin.spec index aaaca33..13531ae 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.69 +Version: 12.70 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -419,13 +419,13 @@ rm %{_tmppath}/tmp_annobin.so %if %{with clangplugin} cp clang-plugin/annobin-for-clang.so %{_tmppath}/tmp_annobin.so # To enable verbose more in the plugin append the following: ANNOBIN="verbose" -make -C clang-plugin clean all CLANG_TARGET_OPTIONS="$CLANG_TARGET_OPTIONS $BUILD_FLAGS" +make -C clang-plugin clean all CLANG_TARGET_OPTIONS="$CLANG_TARGET_OPTIONS $BUILD_FLAGS" PLUGIN_INSTALL_DIR=%{clang_plugin_dir} %endif %if %{with llvmplugin} cp llvm-plugin/annobin-for-llvm.so %{_tmppath}/tmp_annobin.so # To enable verbose more in the plugin append the following: ANNOBIN_VERBOSE="true" -make -C llvm-plugin clean all CLANG_TARGET_OPTIONS="$CLANG_TARGET_OPTIONS $BUILD_FLAGS" +make -C llvm-plugin clean all CLANG_TARGET_OPTIONS="$CLANG_TARGET_OPTIONS $BUILD_FLAGS" PLUGIN_INSTALL_DIR=%{llvm_plugin_dir} %endif # endif for %%if {with_plugin_rebuild} @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Aug 13 2024 Nick Clifton - 12.70-1 +- Clang & LLVM Plugins: Include install directory in binary. (RHEL-54069) + * Mon Aug 12 2024 Nick Clifton - 12.69-1 - BuiltBy: Fix seg-fault when comparing language version strings. (RHEL-53497) diff --git a/sources b/sources index 26eab62..9b8ed3f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.69.tar.xz) = 41a14a2e5a99f9aa08bd54c789c9d8edc4ff7156622c8e42e6bb7f39df1fc2ac343f77b2ad40288f009626dfbb102a0fc98b6e0c2d03d62a18eebdb900f4cbba +SHA512 (annobin-12.70.tar.xz) = 50a29a630ab93577c6d79328595248f54f3da050208defe08432e5663e81050d64ca7079d30d2b5b48c3ce86048b631b81d09ff5081abde90ce9137216f1a93e From d1cb3897cd1ef3fd78fd609124cd16f8ea19d8c6 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 14 Oct 2024 11:46:45 +0100 Subject: [PATCH 321/361] GCC Plugin: Change type of the .annobin.notes section from SHT_STRTAB to SHT_PROGBITS. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 13531ae..8f31ab7 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.70 +Version: 12.71 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Oct 14 2024 Nick Clifton - 12.71-1 +- GCC Plugin: Change type of the .annobin.notes section from SHT_STRTAB to SHT_PROGBITS. + * Tue Aug 13 2024 Nick Clifton - 12.70-1 - Clang & LLVM Plugins: Include install directory in binary. (RHEL-54069) diff --git a/sources b/sources index 9b8ed3f..90c4b46 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.70.tar.xz) = 50a29a630ab93577c6d79328595248f54f3da050208defe08432e5663e81050d64ca7079d30d2b5b48c3ce86048b631b81d09ff5081abde90ce9137216f1a93e +SHA512 (annobin-12.71.tar.xz) = 5949923e89610490c1e26ceee3cd1ccc1c6350b8ecd95e56d9373118c9b016fba8fa8b16f6b173a01b4c8adaffd0fb27ac279c356a5217d04c423d97a42af98b From c59a7e6fcd0cf82878f4a24a8787dbb7315365c7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 1 Nov 2024 17:07:52 +0000 Subject: [PATCH 322/361] Annocheck: Skip FORTIFY and GLIBC_ASSERTIONS tests for LLVM produced binaries with unparseable DW_AT_producer attributes in their DWARF debug info. (RHEL-65411) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 8f31ab7..bd6033e 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.71 +Version: 12.72 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Nov 01 2024 Nick Clifton - 12.72-1 +- Annocheck: Skip FORTIFY and GLIBC_ASSERTIONS tests for LLVM produced binaries with unparseable DW_AT_producer attributes in their DWARF debug info. (RHEL-65411) + * Mon Oct 14 2024 Nick Clifton - 12.71-1 - GCC Plugin: Change type of the .annobin.notes section from SHT_STRTAB to SHT_PROGBITS. diff --git a/sources b/sources index 90c4b46..920ad65 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.71.tar.xz) = 5949923e89610490c1e26ceee3cd1ccc1c6350b8ecd95e56d9373118c9b016fba8fa8b16f6b173a01b4c8adaffd0fb27ac279c356a5217d04c423d97a42af98b +SHA512 (annobin-12.72.tar.xz) = 314bccd27be7814ebc01e03e1f4fd587fde9cd07c6b89d9cd83d05bb0eb82e4b56e055996238a4e5db63cc6dc4d452198945096047f0f329711ced5b49916a9a From 58d868552b72afb9fce83bed82a8837d1c2487b6 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 5 Nov 2024 14:18:23 +0000 Subject: [PATCH 323/361] Annocheck: Skip property note test for i386 binaries created by LLVM. (#2323797) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index bd6033e..7a22d7d 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.72 +Version: 12.73 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Nov 05 2024 Nick Clifton - 12.73-1 +- Annocheck: Skip property note test for i386 binaries created by LLVM. (#2323797) + * Fri Nov 01 2024 Nick Clifton - 12.72-1 - Annocheck: Skip FORTIFY and GLIBC_ASSERTIONS tests for LLVM produced binaries with unparseable DW_AT_producer attributes in their DWARF debug info. (RHEL-65411) diff --git a/sources b/sources index 920ad65..6985404 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.72.tar.xz) = 314bccd27be7814ebc01e03e1f4fd587fde9cd07c6b89d9cd83d05bb0eb82e4b56e055996238a4e5db63cc6dc4d452198945096047f0f329711ced5b49916a9a +SHA512 (annobin-12.73.tar.xz) = 446b3ab573ad84cf5668bd54f18197dba80a3b9b2a80037c6bb551ca2782a30091d2235da1f25adaebb69e0a5e23dda5c0d91f9390cb71fd30b935949141c925 From a136ae0fec49eaf2f571bf5b7af3c4feed5465d2 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 6 Nov 2024 09:00:24 +0000 Subject: [PATCH 324/361] Annocheck: Add exceptions for gcc binaries. (RHEL-33365) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 7a22d7d..9775863 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.73 +Version: 12.74 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Nov 06 2024 Nick Clifton - 12.74-1 +- Annocheck: Add exceptions for gcc binaries. (RHEL-33365) + * Tue Nov 05 2024 Nick Clifton - 12.73-1 - Annocheck: Skip property note test for i386 binaries created by LLVM. (#2323797) diff --git a/sources b/sources index 6985404..f842fb8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.73.tar.xz) = 446b3ab573ad84cf5668bd54f18197dba80a3b9b2a80037c6bb551ca2782a30091d2235da1f25adaebb69e0a5e23dda5c0d91f9390cb71fd30b935949141c925 +SHA512 (annobin-12.74.tar.xz) = 0d35bea085ef2aa831a7d352c5fb38232d5b37b12271325a45d64d128e2c68164f5db13f445e37105b687bd84f14dd34fde8a840daed02fb15f89728f0981e37 From 20e56a3c6596a409c1fd2ebec503f4827f9c6694 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 12 Nov 2024 08:51:17 +0000 Subject: [PATCH 325/361] Annocheck: Add more exceptions for gcc binaries. (RHEL-33365) Annocheck: Add --skip-passes option. --- annobin.spec | 6 +++++- sources | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 9775863..85371d0 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.74 +Version: 12.75 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,10 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Nov 12 2024 Nick Clifton - 12.75-1 +- Annocheck: Add more exceptions for gcc binaries. (RHEL-33365) +- Annocheck: Add --skip-passes option. + * Wed Nov 06 2024 Nick Clifton - 12.74-1 - Annocheck: Add exceptions for gcc binaries. (RHEL-33365) diff --git a/sources b/sources index f842fb8..91f07db 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.74.tar.xz) = 0d35bea085ef2aa831a7d352c5fb38232d5b37b12271325a45d64d128e2c68164f5db13f445e37105b687bd84f14dd34fde8a840daed02fb15f89728f0981e37 +SHA512 (annobin-12.75.tar.xz) = 59dc8c670b7b2152821db0da8b921e389c500b0a8f14312e206ff8f188f086bc01cfcfd657db54fd993d195a76888736ad8381436e991ecdd134b3ea2710f85a From bfeba1a32cb8ab554c08aca2db59c81e0d19a8be Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 15 Nov 2024 10:15:41 +0000 Subject: [PATCH 326/361] Annocheck: Rename rwx-seg test to load-segments. Add more checks. Add check for gaps as a future fail. Annocheck: Add --no-allow-excpetions to disable exceptions for known special binaries. Annocheck: Add --enable-future to enable future fail components in normal tests. Annocheck: Fix bug preventing the inclusion of the rpm name in reports. --- annobin.spec | 8 +++++++- sources | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 85371d0..0e1efe2 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.75 +Version: 12.76 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,12 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Nov 15 2024 Nick Clifton - 12.76-1 +- Annocheck: Rename rwx-seg test to load-segments. Add more checks. Add check for gaps as a future fail. +- Annocheck: Add --no-allow-excpetions to disable exceptions for known special binaries. +- Annocheck: Add --enable-future to enable future fail components in normal tests. +- Annocheck: Fix bug preventing the inclusion of the rpm name in reports. + * Tue Nov 12 2024 Nick Clifton - 12.75-1 - Annocheck: Add more exceptions for gcc binaries. (RHEL-33365) - Annocheck: Add --skip-passes option. diff --git a/sources b/sources index 91f07db..45df8eb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.75.tar.xz) = 59dc8c670b7b2152821db0da8b921e389c500b0a8f14312e206ff8f188f086bc01cfcfd657db54fd993d195a76888736ad8381436e991ecdd134b3ea2710f85a +SHA512 (annobin-12.76.tar.xz) = f7295e2c4db23d477a16fdb81c8b788edfa217f8904ff8b18180d733b5989eff7883a11a7d70b5cacf24593cf2120feacd16d84b28e87d8a06be0374df56ee49 From 66d77f6d2722df83e52e09f5f5ba9fbdc267a030 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 15 Nov 2024 11:02:49 +0000 Subject: [PATCH 327/361] Annocheck: Fix overly long debug messages. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 0e1efe2..45dd433 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.76 +Version: 12.77 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Nov 15 2024 Nick Clifton - 12.77-1 +- Annocheck: Fix overly long debug messages. + * Fri Nov 15 2024 Nick Clifton - 12.76-1 - Annocheck: Rename rwx-seg test to load-segments. Add more checks. Add check for gaps as a future fail. - Annocheck: Add --no-allow-excpetions to disable exceptions for known special binaries. diff --git a/sources b/sources index 45df8eb..48f2290 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.76.tar.xz) = f7295e2c4db23d477a16fdb81c8b788edfa217f8904ff8b18180d733b5989eff7883a11a7d70b5cacf24593cf2120feacd16d84b28e87d8a06be0374df56ee49 +SHA512 (annobin-12.77.tar.xz) = e439f348fad9c4276342e654394be8958356ccee8aa3cb877b853a65f664128b2cbed82edaa3076d1b5d906d586271bb26e3b102a222a58129bc8cc26d345af9 From 336646308344cd722fc46089c1ebe4fd08696f9f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 9 Dec 2024 17:03:30 +0000 Subject: [PATCH 328/361] GCC Plugin: Fix building with gcc 15. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 45dd433..9d5248a 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.77 +Version: 12.78 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Dec 09 2024 Nick Clifton - 12.78-1 +- GCC Plugin: Fix building with gcc 15. + * Fri Nov 15 2024 Nick Clifton - 12.77-1 - Annocheck: Fix overly long debug messages. diff --git a/sources b/sources index 48f2290..e37430f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.77.tar.xz) = e439f348fad9c4276342e654394be8958356ccee8aa3cb877b853a65f664128b2cbed82edaa3076d1b5d906d586271bb26e3b102a222a58129bc8cc26d345af9 +SHA512 (annobin-12.78.tar.xz) = 1d538f7812d03719b2dea2be156ef1e9f227fa2c7cdeed820e33fb7a042ddc1b2626d08ccd6f639f472da07fc0a216fcab022936d5ec026c68b7116f17ce326a From 8174c433db3f20233ab44e76bbec1bfd249355c4 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 10 Dec 2024 11:03:32 +0000 Subject: [PATCH 329/361] GCC Plugin: Tidy up use of gcc's diagnoatic headers. Testsuite: Use configured compiler when running tests. Resolves: PR 32429 --- annobin.spec | 8 ++++++-- sources | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 9d5248a..aa31168 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.78 +Version: 12.79 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,8 +532,12 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Dec 10 2024 Nick Clifton - 12.79-1 +- GCC Plugin: Tidy up use of gcc's diagnoatic headers. (#32429) +- Testsuite: Use configured compiler when running tests. + * Mon Dec 09 2024 Nick Clifton - 12.78-1 -- GCC Plugin: Fix building with gcc 15. +- GCC Plugin: Fix building with gcc 15. (#32429) * Fri Nov 15 2024 Nick Clifton - 12.77-1 - Annocheck: Fix overly long debug messages. diff --git a/sources b/sources index e37430f..7b5d185 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.78.tar.xz) = 1d538f7812d03719b2dea2be156ef1e9f227fa2c7cdeed820e33fb7a042ddc1b2626d08ccd6f639f472da07fc0a216fcab022936d5ec026c68b7116f17ce326a +SHA512 (annobin-12.79.tar.xz) = 0534b6cf4b17781af5fc4551f81d5bbe29ae627b03803f69f0132164defc92ba86bd2f7d5124c7de2b7660314bd9793ea65a7c1b6fdfce01cd05d1ad417a4927 From ad8d2bb481bf95aeb1db0066d40dd9644f85103f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 13 Dec 2024 16:04:32 +0000 Subject: [PATCH 330/361] Annocheck: Add support for sys-root'ed glibc packages. Resolves: RHEL-71296 --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index aa31168..132a9c2 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.79 +Version: 12.80 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Dec 13 2024 Nick Clifton - 12.80-1 +- Annocheck: Add support for sys-root'ed glibc packages. (RHEL-71296) + * Tue Dec 10 2024 Nick Clifton - 12.79-1 - GCC Plugin: Tidy up use of gcc's diagnoatic headers. (#32429) - Testsuite: Use configured compiler when running tests. diff --git a/sources b/sources index 7b5d185..5d19175 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.79.tar.xz) = 0534b6cf4b17781af5fc4551f81d5bbe29ae627b03803f69f0132164defc92ba86bd2f7d5124c7de2b7660314bd9793ea65a7c1b6fdfce01cd05d1ad417a4927 +SHA512 (annobin-12.80.tar.xz) = 68a90fe824589ded02afaa5d4ea992c80ee31ce663695766683b2783dd6fa1e0c568bf2bd1b867a9c6253628a2686cff1faadb6b420592583bd7b070b1b0385d From b1ea65635a9ea91c706844798093dbd52cbae6e1 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sat, 11 Jan 2025 10:48:27 +0100 Subject: [PATCH 331/361] 12.80-2 --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 132a9c2..d6c803f 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 12.80 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Sat Jan 11 2025 Jakub Jelinek - 12.80-2 +- NVR bump to allow rebuild for new GCC in a side-tag. + * Fri Dec 13 2024 Nick Clifton - 12.80-1 - Annocheck: Add support for sys-root'ed glibc packages. (RHEL-71296) From 50892b98b6b5a0155e68b5533275d2c33cd766b1 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 16 Jan 2025 10:57:14 +0000 Subject: [PATCH 332/361] Annocheck: Support multiple --debug-rpm options. (RHEL-73349) --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index d6c803f..fa907f8 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.80 -Release: 2%{?dist} +Version: 12.81 +Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Jan 16 2025 Nick Clifton - 12.81-1 +- Annocheck: Support multiple --debug-rpm options. (RHEL-73349) + * Sat Jan 11 2025 Jakub Jelinek - 12.80-2 - NVR bump to allow rebuild for new GCC in a side-tag. diff --git a/sources b/sources index 5d19175..036606a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.80.tar.xz) = 68a90fe824589ded02afaa5d4ea992c80ee31ce663695766683b2783dd6fa1e0c568bf2bd1b867a9c6253628a2686cff1faadb6b420592583bd7b070b1b0385d +SHA512 (annobin-12.81.tar.xz) = 03fd3c481b38b33f9d476866daaf944b4dc862f00009205904314596d25f98b49d7047ae193bf2da58c16af3b4bfb288dba893bd7827091911577bbccde90daa From 2415dea79062fe03b9acdbdbf69e352724a26df9 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 22 Jan 2025 09:49:29 +0000 Subject: [PATCH 333/361] Annocheck: Always look for annobin notes in separate debug info files. (RHEL-75778) --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index fa907f8..7a85ed9 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.81 +Version: 12.82 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,8 +532,11 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Jan 22 2025 Nick Clifton - 12.82-1 +- Annocheck: Always look for annobin notes in separate debug info files. (RHEL-75778) + * Thu Jan 16 2025 Nick Clifton - 12.81-1 -- Annocheck: Support multiple --debug-rpm options. (RHEL-73349) +- Annocheck: Support multiple --debug-rpm and --debug-file options. (RHEL-73349) * Sat Jan 11 2025 Jakub Jelinek - 12.80-2 - NVR bump to allow rebuild for new GCC in a side-tag. diff --git a/sources b/sources index 036606a..e4f42d8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.81.tar.xz) = 03fd3c481b38b33f9d476866daaf944b4dc862f00009205904314596d25f98b49d7047ae193bf2da58c16af3b4bfb288dba893bd7827091911577bbccde90daa +SHA512 (annobin-12.82.tar.xz) = fcad06d0121633edb588805f5eaf5cff465d25608d511a1a0b693bff5bcaa2c65377c2d508bcd109fa83625fb4d9cdf0dc2394adfd929aa24b9040e1e5105a32 From 63d1c12cd12f0fada781ee16aa5ea5e4f630d8d1 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 22 Jan 2025 11:41:30 +0000 Subject: [PATCH 334/361] 12.83: Annocheck: Remove spurious debugging messages --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 7a85ed9..353f09e 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.82 +Version: 12.83 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Jan 22 2025 Nick Clifton - 12.83-1 +- Annocheck: Remove spurious debugging messages. + * Wed Jan 22 2025 Nick Clifton - 12.82-1 - Annocheck: Always look for annobin notes in separate debug info files. (RHEL-75778) diff --git a/sources b/sources index e4f42d8..b3e2c0c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.82.tar.xz) = fcad06d0121633edb588805f5eaf5cff465d25608d511a1a0b693bff5bcaa2c65377c2d508bcd109fa83625fb4d9cdf0dc2394adfd929aa24b9040e1e5105a32 +SHA512 (annobin-12.83.tar.xz) = b0d9e50c52e1175d5ee8656661c20db5d2b14bd1ae4ae527707c9a5810f25f24f4c66997f803be970385382ea6e63627b08e02cff06bed4bacbd88190b48ade1 From 3ed5a5358c211c57daa8b5bba26ede589f42f3ae Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 23 Jan 2025 16:49:52 +0000 Subject: [PATCH 335/361] Annocheck: Fix corrupt warning message when unable to locate separate debug info files. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 353f09e..b904349 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.83 +Version: 12.84 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Jan 23 2025 Nick Clifton - 12.84-1 +- Annocheck: Fix corrupt warning message when unable to locate separate debug info files. + * Wed Jan 22 2025 Nick Clifton - 12.83-1 - Annocheck: Remove spurious debugging messages. diff --git a/sources b/sources index b3e2c0c..78a859f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.83.tar.xz) = b0d9e50c52e1175d5ee8656661c20db5d2b14bd1ae4ae527707c9a5810f25f24f4c66997f803be970385382ea6e63627b08e02cff06bed4bacbd88190b48ade1 +SHA512 (annobin-12.84.tar.xz) = dfb60f8231f96cca8e2a318f0b4e5a88798b2f3c0771c7edd38c96f199afd8ef41c7498d1390e689cb029cfd8b60db8048d16f345f4d55970be36d22cc084399 From 52003fae980ed1aafc89cb35143931f1c56250ea Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 27 Jan 2025 12:38:04 +0000 Subject: [PATCH 336/361] 12.85: Annocheck: Fix the --debug-dir option --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index b904349..b369fb3 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.84 +Version: 12.85 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Jan 27 2025 Nick Clifton - 12.85-1 +- Annocheck: Fix the --debug-dir option. + * Thu Jan 23 2025 Nick Clifton - 12.84-1 - Annocheck: Fix corrupt warning message when unable to locate separate debug info files. diff --git a/sources b/sources index 78a859f..31871b5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.84.tar.xz) = dfb60f8231f96cca8e2a318f0b4e5a88798b2f3c0771c7edd38c96f199afd8ef41c7498d1390e689cb029cfd8b60db8048d16f345f4d55970be36d22cc084399 +SHA512 (annobin-12.85.tar.xz) = c6e64aa18073847c470c195a29c0e14c84affb14dcffe7fca4378d7297f47b93e5a964dee4efa07e5ac9afc3b24446c238e7edec0c9559f11a0f335602e22b2a From a64f9d3ef13e034d4be79f3f3dbb957d98431662 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 28 Jan 2025 09:39:10 +0000 Subject: [PATCH 337/361] Annocheck: Add crtoffloadtableS.o to list of known gcc binaries. (RHEL-760404) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index b369fb3..85e2c85 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.85 +Version: 12.86 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Jan 27 2025 Nick Clifton - 12.86-1 +- Annocheck: Add crtoffloadtableS.o to list of known gcc binaries. (RHEL-760404) + * Mon Jan 27 2025 Nick Clifton - 12.85-1 - Annocheck: Fix the --debug-dir option. diff --git a/sources b/sources index 31871b5..887ff3e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.85.tar.xz) = c6e64aa18073847c470c195a29c0e14c84affb14dcffe7fca4378d7297f47b93e5a964dee4efa07e5ac9afc3b24446c238e7edec0c9559f11a0f335602e22b2a +SHA512 (annobin-12.86.tar.xz) = e05c79b59ae50a2e5dcb3e755a7232cc6cf159f56fc77b554e47ebe4281c8261d752a6f7373cd069cd6fe5ddd78e11b76b3d5903c08741bd0745fbd3d43fc579 From 667f38a4578ecf52f08d3c06258a5ceab96612d7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 28 Jan 2025 12:03:03 +0000 Subject: [PATCH 338/361] Annocheck: Fix locating string notes (again). Add exception for glibc benchmark tests. (RHEL-76456) --- annobin.spec | 3 +++ sources | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 85e2c85..0e61ec2 100644 --- a/annobin.spec +++ b/annobin.spec @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Jan 28 2025 Nick Clifton - 12.87-1 +- Annocheck: Fix locating string notes (again). Add exception for glibc benchmark tests. (RHEL-76456) + * Mon Jan 27 2025 Nick Clifton - 12.86-1 - Annocheck: Add crtoffloadtableS.o to list of known gcc binaries. (RHEL-760404) diff --git a/sources b/sources index 887ff3e..c070457 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.86.tar.xz) = e05c79b59ae50a2e5dcb3e755a7232cc6cf159f56fc77b554e47ebe4281c8261d752a6f7373cd069cd6fe5ddd78e11b76b3d5903c08741bd0745fbd3d43fc579 +SHA512 (annobin-12.87.tar.xz) = 2410e9ae692a32bffdbd3778735acce00fe5c8ff0507647ff2d10b5c13470b175ec071627e6209bb5191d09ea21f292770f937a213256c641747e4ac81ba952b From 5cc01bd7ed3d8f52281e67b0d912cac233b2877a Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 28 Jan 2025 12:06:14 +0000 Subject: [PATCH 339/361] NVR bump --- annobin.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 0e61ec2..64b39ed 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.86 +Version: 12.87 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ From 274102f8bd7414b8ffb20210c04084d271ea68b5 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 3 Feb 2025 15:01:29 +0000 Subject: [PATCH 340/361] Annocheck: Look for -fstack-clash-protection in DW_AT_producer string. (RHEL-77328) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 64b39ed..85f27cc 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.87 +Version: 12.88 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Feb 03 2025 Nick Clifton - 12.88-1 +- Annocheck: Look for -fstack-clash-protection in DW_AT_producer string. (RHEL-77328) + * Tue Jan 28 2025 Nick Clifton - 12.87-1 - Annocheck: Fix locating string notes (again). Add exception for glibc benchmark tests. (RHEL-76456) diff --git a/sources b/sources index c070457..cc87a5c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.87.tar.xz) = 2410e9ae692a32bffdbd3778735acce00fe5c8ff0507647ff2d10b5c13470b175ec071627e6209bb5191d09ea21f292770f937a213256c641747e4ac81ba952b +SHA512 (annobin-12.88.tar.xz) = 2523617393c2f8a7f61f863eecc49f94ab53b71c15522543bb2a6ddbdead6dc306dd67e0df73765b881fcbb4617af940e0fc5865cccb5b4940b11ce2cd27f816 From 36aba6172fb89649c8e1aa775a30d2f5a623bda4 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 11 Feb 2025 10:55:02 +0000 Subject: [PATCH 341/361] Annocheck: Improve diagnostics when a separate debug info file cannot be found. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 85f27cc..7d3d209 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.88 +Version: 12.89 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Feb 11 2025 Nick Clifton - 12.89-1 +- Annocheck: Improve diagnostics when a separate debug info file cannot be found. + * Mon Feb 03 2025 Nick Clifton - 12.88-1 - Annocheck: Look for -fstack-clash-protection in DW_AT_producer string. (RHEL-77328) diff --git a/sources b/sources index cc87a5c..ff8fe8d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.88.tar.xz) = 2523617393c2f8a7f61f863eecc49f94ab53b71c15522543bb2a6ddbdead6dc306dd67e0df73765b881fcbb4617af940e0fc5865cccb5b4940b11ce2cd27f816 +SHA512 (annobin-12.89.tar.xz) = 4f3a95f6d4d98be2b160d3c5a11ecfa46e573019035d594a4b5490788a05b66d272846b0beb912932086707614a465b53d3cb2fd053daa98985104d5d128ff93 From c5469afe6536d4783ce0801440a496c85c9a1bc5 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 12 Feb 2025 10:18:34 +0000 Subject: [PATCH 342/361] Annocheck: Fix double free(). Add special handling for COMBOOT modules --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 7d3d209..6a72052 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.89 +Version: 12.90 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Feb 12 2025 Nick Clifton - 12.90-1 +- Annocheck: Fix double free. Add special handling for COMBOOT modules. + * Tue Feb 11 2025 Nick Clifton - 12.89-1 - Annocheck: Improve diagnostics when a separate debug info file cannot be found. diff --git a/sources b/sources index ff8fe8d..c1e782d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.89.tar.xz) = 4f3a95f6d4d98be2b160d3c5a11ecfa46e573019035d594a4b5490788a05b66d272846b0beb912932086707614a465b53d3cb2fd053daa98985104d5d128ff93 +SHA512 (annobin-12.90.tar.xz) = 8f7a834f97d23b41d0bcd2c6ca20308d1c72a65ef49d08cae20ce6c1151151135447e77dfa3b08081639736cc5dd589b49e7dee4ae31e2709f59f418bc5bc6b7 From 38595c3a3411db6046257089bff978cdd596428f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 13 Feb 2025 14:03:32 +0000 Subject: [PATCH 343/361] Annocheck: Fix resource leak. (RHEL-79256) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 6a72052..dbd44cc 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.90 +Version: 12.91 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Feb 13 2025 Nick Clifton - 12.91-1 +- Annocheck: Fix resource leak. (RHEL-79253) + * Wed Feb 12 2025 Nick Clifton - 12.90-1 - Annocheck: Fix double free. Add special handling for COMBOOT modules. diff --git a/sources b/sources index c1e782d..bd5af73 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.90.tar.xz) = 8f7a834f97d23b41d0bcd2c6ca20308d1c72a65ef49d08cae20ce6c1151151135447e77dfa3b08081639736cc5dd589b49e7dee4ae31e2709f59f418bc5bc6b7 +SHA512 (annobin-12.91.tar.xz) = 5877cd93040fbffd1cd8d0ac4b7be66ad9573d25d3a29268de8f5bbcde7e0406ea50b8662ea532c8bf441d23baedea59e8e0c8350d7c095761aada6aecab456c From be7ffb96bcf6fcfa7238f89588190e49b00e30cd Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 14 Feb 2025 10:54:12 +0000 Subject: [PATCH 344/361] Annocheck: Do not rely upon libelf's ability to detect links to separate debuginfo files. (RHEL-79264) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index dbd44cc..ea42cd9 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.91 +Version: 12.92 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Feb 14 2025 Nick Clifton - 12.92-1 +- Annocheck: Do not rely upon libelf's ability to detect links to separate debuginfo files. (RHEL-79264) + * Thu Feb 13 2025 Nick Clifton - 12.91-1 - Annocheck: Fix resource leak. (RHEL-79253) diff --git a/sources b/sources index bd5af73..c239a59 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.91.tar.xz) = 5877cd93040fbffd1cd8d0ac4b7be66ad9573d25d3a29268de8f5bbcde7e0406ea50b8662ea532c8bf441d23baedea59e8e0c8350d7c095761aada6aecab456c +SHA512 (annobin-12.92.tar.xz) = 323e5a5ee4b2b5b755821924a5936485c2db70c83d612b4d12873f74dc51b2bc410963b1a737a2834105a52343fb75a906b3ce0a9444847240b79eb436ddba71 From 5c3d24ca6fee52758582ec1fc017324b7d234178 Mon Sep 17 00:00:00 2001 From: Tulio Magno Quites Machado Filho Date: Mon, 10 Mar 2025 15:22:05 -0300 Subject: [PATCH 345/361] Generate latest-annobin.tar.xz at %prep Generate a source tarball for annobin during the prep phase, after all the patches have been applied. Use this new tarball when installing the annobin source code for the GCC plugin. On distros without downstream patches, this change should not produce any changes. --- annobin.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index ea42cd9..5e1f7ec 100644 --- a/annobin.spec +++ b/annobin.spec @@ -324,6 +324,10 @@ touch configure */configure Makefile.in */Makefile.in # Similarly we do not want to rebuild the documentation. touch doc/annobin.info +# Generate a source tarball for installation later with all the patches +# applied. This must be the last step in the prep section. +tar -C ../ -cJf ../latest-annobin.tar.xz %{name}-%{version} + #--------------------------------------------------------------------------------- %build @@ -453,7 +457,7 @@ cat `gcc --print-file-name=rpmver` > %{buildroot}/%{ANNOBIN_GCC_PLUGIN_DIR}/%{av # Also install a copy of the sources into the build tree. mkdir -p %{buildroot}%{annobin_source_dir} -cp %{_sourcedir}/%{annobin_sources} %{buildroot}%{annobin_source_dir}/latest-annobin.tar.xz +cp ../latest-annobin.tar.xz %{buildroot}%{annobin_source_dir}/latest-annobin.tar.xz %endif rm -f %{buildroot}%{_infodir}/dir From 5d1c0d8e7ea38b01f2d3c7e0e42284333473cb28 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 17 Mar 2025 11:40:30 +0000 Subject: [PATCH 346/361] 12.93: Fix GO revision test --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index ea42cd9..5ceb46f 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.92 +Version: 12.93 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -532,6 +532,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Mar 17 2025 Nick Clifton - 12.93-1 +- Annocheck: Fix test for GO revision. (RHEL-56031) + * Fri Feb 14 2025 Nick Clifton - 12.92-1 - Annocheck: Do not rely upon libelf's ability to detect links to separate debuginfo files. (RHEL-79264) diff --git a/sources b/sources index c239a59..ef0806a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.92.tar.xz) = 323e5a5ee4b2b5b755821924a5936485c2db70c83d612b4d12873f74dc51b2bc410963b1a737a2834105a52343fb75a906b3ce0a9444847240b79eb436ddba71 +SHA512 (annobin-12.93.tar.xz) = d49670b652529dd0f3acfc7bac6c46321e54ba6dcc299e55dbb6427c2c9f5ed65817059d3abcced76a1172b08890303cdff30c2c09595d455ecfdb392a487be2 From 55b74474e15ba28f4051aa1d15f833b3e5b98e06 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 13 May 2025 10:59:11 +0100 Subject: [PATCH 347/361] Annocheck: Update heuristic for detecting gcc files to cope with gcc 15. (#2365824) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 68741a1..27b3c50 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.93 +Version: 12.94 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -536,6 +536,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue May 13 2025 Nick Clifton - 12.94-1 +- Annocheck: Update heuristic for detecting gcc files to cope with gcc 15. (#2365824) + * Mon Mar 17 2025 Nick Clifton - 12.93-1 - Annocheck: Fix test for GO revision. (RHEL-56031) diff --git a/sources b/sources index ef0806a..e489d35 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.93.tar.xz) = d49670b652529dd0f3acfc7bac6c46321e54ba6dcc299e55dbb6427c2c9f5ed65817059d3abcced76a1172b08890303cdff30c2c09595d455ecfdb392a487be2 +SHA512 (annobin-12.94.tar.xz) = 02ec315774f8a0914baf1dd462538b02bf490ebc1bfce334817900adb054c6a3eae00b9a0c5dc39675a5ee263735ba13d449769ae4c977c1ff753c8cf2206b27 From e3fb5aa9772be8e86fb3701be9b047b08017862f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 15 May 2025 16:31:37 +0100 Subject: [PATCH 348/361] Annocheck: Improve performance with multiple debug info files and multiple files to scan. (#2366180) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 27b3c50..23c587b 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.94 +Version: 12.95 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -536,6 +536,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu May 15 2025 Nick Clifton - 12.95-1 +- Annocheck: Improve performance with multiple debug info files and multiple files to scan. (#2366180) + * Tue May 13 2025 Nick Clifton - 12.94-1 - Annocheck: Update heuristic for detecting gcc files to cope with gcc 15. (#2365824) diff --git a/sources b/sources index e489d35..66db00c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.94.tar.xz) = 02ec315774f8a0914baf1dd462538b02bf490ebc1bfce334817900adb054c6a3eae00b9a0c5dc39675a5ee263735ba13d449769ae4c977c1ff753c8cf2206b27 +SHA512 (annobin-12.95.tar.xz) = e027e8a47c2878c920d6478e51b1fee165bea6b89177f60cc1063810545dc3f2bff20eb7f7836ff80ce58f328725a4344d8abd4c3aed23884dd6aa9e7fe3792f From 874f029d05a88663b37cf87bb1fe4fd6b352a09d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 4 Jun 2025 17:17:24 +0100 Subject: [PATCH 349/361] Annocheck: Fix bugs in debug rpm location code. Add more glibc exceptions. (RHEL-95216) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 23c587b..88442dc 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.95 +Version: 12.96 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -536,6 +536,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Jun 04 2025 Nick Clifton - 12.96-1 +- Annocheck: Fix bugs in debug rpm location code. Add more glibc exceptions. (RHEL-95216) + * Thu May 15 2025 Nick Clifton - 12.95-1 - Annocheck: Improve performance with multiple debug info files and multiple files to scan. (#2366180) diff --git a/sources b/sources index 66db00c..14a437a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.95.tar.xz) = e027e8a47c2878c920d6478e51b1fee165bea6b89177f60cc1063810545dc3f2bff20eb7f7836ff80ce58f328725a4344d8abd4c3aed23884dd6aa9e7fe3792f +SHA512 (annobin-12.96.tar.xz) = a6484c13e5a780e510b21e6f9178f146394e38f7f9d4e005a46cc9df0da0f34ae684349f8dacffbeb3850eaa8e487daef17ac9c9b080f73519e15c01d2e8ac5b From 4ed470d1fba09fe109dac6729e0131a629a6facc Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 19 Jun 2025 11:06:02 +0100 Subject: [PATCH 350/361] 12.97: Annocheck: delete temporary debuginfo directory --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 88442dc..9afc9f4 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.96 +Version: 12.97 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -536,6 +536,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Jun 19 2025 Nick Clifton - 12.97-1 +- Annocheck: Delete the temporary debug info directory after the tests have finished. + * Wed Jun 04 2025 Nick Clifton - 12.96-1 - Annocheck: Fix bugs in debug rpm location code. Add more glibc exceptions. (RHEL-95216) diff --git a/sources b/sources index 14a437a..65a6902 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.96.tar.xz) = a6484c13e5a780e510b21e6f9178f146394e38f7f9d4e005a46cc9df0da0f34ae684349f8dacffbeb3850eaa8e487daef17ac9c9b080f73519e15c01d2e8ac5b +SHA512 (annobin-12.97.tar.xz) = 0c4482a22e302080f44dc05cebf1e217304def13b91c366d9a4d487501e6412eb1504589abdba263147d88eb6ad4693c63a78cc05ff43cd25e9547504eb4df04 From 9c45dd821c2150d714db84b6b3c15ce5f102199d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 7 Jul 2025 10:34:33 +0100 Subject: [PATCH 351/361] Improve configure and meson files for consistent builds. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 9afc9f4..81dc8e2 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.97 +Version: 12.98 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -536,6 +536,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Jul 04 2025 Tulio Magno Quites Machado Filho - 12.98-1 +- Improve configure and meson files for consistent builds. + * Thu Jun 19 2025 Nick Clifton - 12.97-1 - Annocheck: Delete the temporary debug info directory after the tests have finished. diff --git a/sources b/sources index 65a6902..0dc0ef3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.97.tar.xz) = 0c4482a22e302080f44dc05cebf1e217304def13b91c366d9a4d487501e6412eb1504589abdba263147d88eb6ad4693c63a78cc05ff43cd25e9547504eb4df04 +SHA512 (annobin-12.98.tar.xz) = ded22fafbddb2935c4a9a08eae0e3a14bc93fb2d47364739f267542294cf8bcbcc5ab0527077aab8a5e9dbaec0d003b76224dbe88aaaecf0df4b1546afefcfa7 From 6869ce708f85fdb70d481d880b77e1be31d9ab34 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 16:59:30 +0000 Subject: [PATCH 352/361] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 81dc8e2..3e73834 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 12.98 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -536,6 +536,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 12.98-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Fri Jul 04 2025 Tulio Magno Quites Machado Filho - 12.98-1 - Improve configure and meson files for consistent builds. From 8bc321d24a8e1f4307d19a062bf857e5b88bd1b2 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 6 Aug 2025 10:36:49 +0100 Subject: [PATCH 353/361] Annocheck: Improve detection of glibc static maths libraries. (RHEL-107470) --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 3e73834..b61b959 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.98 -Release: 2%{?dist} +Version: 12.99 +Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -536,6 +536,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Aug 06 2025 Nick Clifton - 12.99-1 +- Annocheck: Improve detection of glibc static maths libraries. (RHEL-107470) + * Wed Jul 23 2025 Fedora Release Engineering - 12.98-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild diff --git a/sources b/sources index 0dc0ef3..60982ce 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.98.tar.xz) = ded22fafbddb2935c4a9a08eae0e3a14bc93fb2d47364739f267542294cf8bcbcc5ab0527077aab8a5e9dbaec0d003b76224dbe88aaaecf0df4b1546afefcfa7 +SHA512 (annobin-12.99.tar.xz) = d5409f9c60f601878dff5047ec38b3a113ab4caa0a24e96ecf715decab1c9ff509ac56033b105a7cc0efc9158230c359b9c596f5a2628b96a61094927f4e9872 From 844d102d83f559a4177fa0c05f4d7ed06405f8d0 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 23 Oct 2025 17:01:42 +0100 Subject: [PATCH 354/361] Annocheck: Change FAIL for binaries built by a cross compiler to a MAYBE. (RHEL-123175) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index b61b959..fae0335 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.99 +Version: 13.01 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -536,6 +536,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Oct 23 2025 Nick Clifton - 13.01-1 +- Annocheck: Change FAIL for binaries built by a cross compiler to a MAYBE. (RHEL-123175) + * Wed Aug 06 2025 Nick Clifton - 12.99-1 - Annocheck: Improve detection of glibc static maths libraries. (RHEL-107470) diff --git a/sources b/sources index 60982ce..771ba55 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.99.tar.xz) = d5409f9c60f601878dff5047ec38b3a113ab4caa0a24e96ecf715decab1c9ff509ac56033b105a7cc0efc9158230c359b9c596f5a2628b96a61094927f4e9872 +SHA512 (annobin-13.01.tar.xz) = c6641a1734c76e5e007a49b93bb4cefdfd6249472ac0333e5a5644bc8e4cdf6aa09e2066112dfc1c0524ed4a4f3f4b1765f69443a1eafd547675d98ab1a95f32 From 60e36afe5f1fd970e793828cee63597de5e24102 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 31 Oct 2025 14:52:22 +0000 Subject: [PATCH 355/361] Annocheck: Update heuristic to detect gcc libraries. (RHEL-124869) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index fae0335..6376df0 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 13.01 +Version: 13.02 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -536,6 +536,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Oct 31 2025 Nick Clifton - 13.01-2 +- Annocheck: Update heuristic to detect gcc libraries. (RHEL-124869) + * Thu Oct 23 2025 Nick Clifton - 13.01-1 - Annocheck: Change FAIL for binaries built by a cross compiler to a MAYBE. (RHEL-123175) diff --git a/sources b/sources index 771ba55..5cca8d9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-13.01.tar.xz) = c6641a1734c76e5e007a49b93bb4cefdfd6249472ac0333e5a5644bc8e4cdf6aa09e2066112dfc1c0524ed4a4f3f4b1765f69443a1eafd547675d98ab1a95f32 +SHA512 (annobin-13.02.tar.xz) = 4634fa779b7db3f79689582f1d7014e069427d8fc5c3aa7cb185e9af2ce493e1e9edb86d23a96f2aba8d5d879ae2a495f01e91482bd6d4fac37e35783071216e From a84ff429935b3b30b26c8cea841f35011dbfb090 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 5 Nov 2025 10:32:54 +0000 Subject: [PATCH 356/361] Annocheck: Skip production test for gcc libraries. (RHEL-123175) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 6376df0..afb50ae 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 13.02 +Version: 13.03 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -536,6 +536,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Nov 05 2025 Nick Clifton - 13.01-3 +- Annocheck: Skip production test for gcc libraries. (RHEL-123175) + * Fri Oct 31 2025 Nick Clifton - 13.01-2 - Annocheck: Update heuristic to detect gcc libraries. (RHEL-124869) diff --git a/sources b/sources index 5cca8d9..2e571e4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-13.02.tar.xz) = 4634fa779b7db3f79689582f1d7014e069427d8fc5c3aa7cb185e9af2ce493e1e9edb86d23a96f2aba8d5d879ae2a495f01e91482bd6d4fac37e35783071216e +SHA512 (annobin-13.03.tar.xz) = 1ed1e3a23041a9f0c6965991e9d0a89c908a89c694db68538f416d931b69892d13aa1df6d74cb7e813caa9043fd85b01991662f07bbaad10fba072531898bb3f From e11676d4ef7275b691c55dc69c19643131279e0c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 18 Dec 2025 08:48:36 +0000 Subject: [PATCH 357/361] Annocheck: Fix compile time warnings from GCC-15 re: strchr returning a const char *. --- annobin.spec | 9 ++++++--- sources | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/annobin.spec b/annobin.spec index afb50ae..8f3faba 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 13.03 +Version: 13.04 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -536,10 +536,13 @@ make check #--------------------------------------------------------------------------------- %changelog -* Wed Nov 05 2025 Nick Clifton - 13.01-3 +* Thu Dec 18 2025 Nick Clifton - 13.04-1 +- Annocheck: Fix compile time warnings from GCC-15 re: strchr returning a const char *. + +* Wed Nov 05 2025 Nick Clifton - 13.03-1 - Annocheck: Skip production test for gcc libraries. (RHEL-123175) -* Fri Oct 31 2025 Nick Clifton - 13.01-2 +* Fri Oct 31 2025 Nick Clifton - 13.02-1 - Annocheck: Update heuristic to detect gcc libraries. (RHEL-124869) * Thu Oct 23 2025 Nick Clifton - 13.01-1 diff --git a/sources b/sources index 2e571e4..5bc895e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-13.03.tar.xz) = 1ed1e3a23041a9f0c6965991e9d0a89c908a89c694db68538f416d931b69892d13aa1df6d74cb7e813caa9043fd85b01991662f07bbaad10fba072531898bb3f +SHA512 (annobin-13.04.tar.xz) = cbcf3b52f4fb7c5c61451f96c210023ef8dadc3f5e25bdb3f2ca2155d3393aafade357ff56f290e660061d02dae4707a7f5ea899ef4c5ad1820bcf617eba9d69 From 20e0cb02b6e01ff02837d530a6f197d4a67e0beb Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sat, 20 Dec 2025 13:43:13 +0100 Subject: [PATCH 358/361] 13.04-2 --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 8f3faba..e7157e0 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 13.04 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -536,6 +536,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Sat Dec 20 2025 Jakub Jelinek - 13.04-2 +- NVR bump to allow rebuild for new GCC in a side-tag. + * Thu Dec 18 2025 Nick Clifton - 13.04-1 - Annocheck: Fix compile time warnings from GCC-15 re: strchr returning a const char *. From 2576bee0595e0914e0d1292b2b7bace379d23648 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sat, 20 Dec 2025 15:11:11 +0100 Subject: [PATCH 359/361] 13.04-3 --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index e7157e0..74a0187 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 13.04 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -536,6 +536,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Sat Dec 20 2025 Jakub Jelinek - 13.04-3 +- NVR bump to allow rebuild for new GCC in a side-tag. + * Sat Dec 20 2025 Jakub Jelinek - 13.04-2 - NVR bump to allow rebuild for new GCC in a side-tag. From ba3345aaf822ea91c2dd28ebe9a510b949fc41f9 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 15 Jan 2026 15:29:42 +0000 Subject: [PATCH 360/361] Annocheck: Add .fc44 to list of known rpm file extensions. --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 74a0187..4aab253 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 13.04 -Release: 3%{?dist} +Version: 13.05 +Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -536,6 +536,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Jan 15 2026 Nick Clifton - 13.05-1 +- Annocheck: Add .fc44 to list of known rpm file extensions. + * Sat Dec 20 2025 Jakub Jelinek - 13.04-3 - NVR bump to allow rebuild for new GCC in a side-tag. diff --git a/sources b/sources index 5bc895e..ae2a779 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-13.04.tar.xz) = cbcf3b52f4fb7c5c61451f96c210023ef8dadc3f5e25bdb3f2ca2155d3393aafade357ff56f290e660061d02dae4707a7f5ea899ef4c5ad1820bcf617eba9d69 +SHA512 (annobin-13.05.tar.xz) = 07bc023018e3f456fae470b271915bde2e1ff367ee8bb58adb74255023ae59e8c45ced8e4bd2130bf8a496966d986bca9866e054019f6ca4660d78c129b6532f From d29890bd416900bc07f2acbdeeea5fdcc9fe078b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 03:41:03 +0000 Subject: [PATCH 361/361] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 4aab253..f2f5ad0 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 13.05 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -536,6 +536,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 13.05-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Thu Jan 15 2026 Nick Clifton - 13.05-1 - Annocheck: Add .fc44 to list of known rpm file extensions.