From e78f0f12c65776b3dd8f734f200683a14c925d2b Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jan 21 2020 22:47:04 +0000 Subject: import annobin-8.90-1.el8 --- diff --git a/.annobin.metadata b/.annobin.metadata index 7eae869..251f07a 100644 --- a/.annobin.metadata +++ b/.annobin.metadata @@ -1 +1 @@ -202df450cd4f88e928dfd622a7fd2ce4f233dedd SOURCES/annobin-8.76.tar.xz +eafca541590675b6734ff6d5cebfb720eed2e732 SOURCES/annobin-8.90.tar.xz diff --git a/.gitignore b/.gitignore index 4c54836..80d5723 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/annobin-8.76.tar.xz +SOURCES/annobin-8.90.tar.xz diff --git a/SPECS/annobin.spec b/SPECS/annobin.spec index 77a72dd..d692161 100644 --- a/SPECS/annobin.spec +++ b/SPECS/annobin.spec @@ -1,8 +1,14 @@ -# Suppress this for BZ 1630550. -# The problem should now only arise when rebasing to a new major version -# of gcc, in which case the undefine below can be temporarily reinstated. -# +Name: annobin +Summary: Binary annotation plugin for GCC +Version: 8.90 +Release: 1%{?dist} + +License: GPLv3+ +URL: https://fedoraproject.org/wiki/Toolchain/Watermark +# Maintainer: nickc@redhat.com + + # # Do not build the annobin plugin with annotation enabled. # # 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. @@ -11,16 +17,13 @@ # # version, the old plugin will complain that version of gcc for which it # # was built is different from the version of gcc that is now being used, and # # then it will abort. +# +# Suppress this for BZ 1630550. +# The problem should now only arise when rebasing to a new major version +# of gcc, in which case the undefine below can be temporarily reinstated. +# # %%undefine _annotated_build -Name: annobin -Summary: Binary annotation plugin for GCC -Version: 8.76 -Release: 1%{?dist} - -License: GPLv3+ -URL: https://fedoraproject.org/wiki/Toolchain/Watermark - # Use "--without tests" to disable the testsuite. The default is to run them. %bcond_without tests @@ -29,11 +32,12 @@ URL: https://fedoraproject.org/wiki/Toolchain/Watermark # 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. +# checking logic or when building on RHEL-7 or earlier. %global with_hard_gcc_version_requirement 1 #--------------------------------------------------------------------------------- -Source: https://nickc.fedorapeople.org/annobin-%{version}.tar.xz +# Source: https://nickc.fedorapeople.org/annobin-%%{version}.tar.xz +Source: annobin-%{version}.tar.xz # For the latest sources use: git clone git://sourceware.org/git/annobin.git # Insert patches here, if needed. @@ -97,8 +101,7 @@ BuildRequires: gcc gcc-plugin-devel gcc-c++ %description Provides a plugin for GCC that records extra information in the files -that it compiles and a set of scripts that can analyze the recorded -information. +that it compiles. Note - the plugin is automatically enabled in gcc builds via flags provided by the redhat-rpm-macros package. @@ -168,7 +171,7 @@ touch doc/annobin.info cp plugin/.libs/annobin.so.0.0.0 %{_tmppath}/tmp_annobin.so make -C plugin clean BUILD_FLAGS="-fplugin=%{_tmppath}/tmp_annobin.so -fplugin-arg-tmp_annobin-rename" -# Disable the use of the .attach_to_group assembler pseudo op, as it is not available in the RHEL7 assembler. +# If building on RHEL7, enable the next option as the .attach_to_group assembler pseudo op is not available in the assembler. # BUILD_FLAGS="$BUILD_FLAGS -fplugin-arg-tmp_annobin-no-attach" make -C plugin CXXFLAGS="%{optflags} $BUILD_FLAGS" rm %{_tmppath}/tmp_annobin.so @@ -183,6 +186,7 @@ rm %{_tmppath}/tmp_annobin.so %if %{with tests} %check +# On RHEL7 the assembler does not support all of the annobin tests. make check if [ -f tests/test-suite.log ]; then cat tests/test-suite.log @@ -216,6 +220,38 @@ fi #--------------------------------------------------------------------------------- %changelog +* Fri Nov 15 2019 Nick Clifton - 8.90-1 +- Do not skip positive results. + +* Tue Nov 12 2019 Nick Clifton - 8.89-2 +- Bump NVR to allow rebuild after tweaking gating tests. + +* Tue Nov 12 2019 Nick Clifton - 8.89-1 +- Update to version 8.89. (#1766631) +- Generate a WARN result for code compiled with instrumentation enabled. (#1753918) +- Replace address checks with dladdr1. +- Use libabigail like checking to ensure variable address consistency. +- Skip generation of global notes for hot/cold sections. +- Generate FAIL results if -Wall or -Wformat-security are missing. +- If notes cannot be found in the executable look for them in the debuginfo file, if available. +- Generate a FAIL if notes are missing from the executable/debuginfo file. +- Record and report the setting of the AArcht64 specific -mbranch-protection option. +- Improve detection of GO binaries. +- Add gcc version information to annobin notes. +- Do not complain about missing FORTIFY_SOURCE and GLIBCXX_ASSERTIONS in LTO compilations. + +* Tue Aug 06 2019 Nick Clifton - 8.78-1 +- Fix a memory allocation error in the annobin plugin. (#1737306) + +* Mon Aug 05 2019 Nick Clifton - 8.77-2 +- NVR bump to allow rebuilding against latest gcc. + +* Mon Jun 24 2019 Nick Clifton - 8.77-1 +- Another attempt at fixing the detection and reporting of missing -D_FORTIFY_SOURCE options. (#1703500) + +* Thu Jun 13 2019 Nick Clifton - 8.76-2 +- Release bump in order to allow rebuild against latest version of gcc in RHEL-8 buildroot. (#1720179) + * Tue Jun 04 2019 Nick Clifton - 8.76-1 - Report a missing -D_FORTIFY_SOUCRE option if -D_GLIBCXX_ASSERTIONS was detected. (#1703500) - Do not report problems with -fstack-protection if the binary was not built by gcc or clang. (#1703788)