2018-01-26 16:17:03 +00:00
|
|
|
|
2019-06-24 13:22:11 +00:00
|
|
|
Name: annobin
|
2020-02-27 12:42:53 +00:00
|
|
|
Summary: Annotate and examine compiled binary files
|
2022-12-21 16:32:48 +00:00
|
|
|
Version: 10.99
|
2022-07-25 14:44:44 +00:00
|
|
|
Release: 1%{?dist}
|
2019-06-24 13:22:11 +00:00
|
|
|
License: GPLv3+
|
2022-05-10 13:42:24 +00:00
|
|
|
URL: https://sourceware.org/annobin/
|
2019-06-24 13:22:11 +00:00
|
|
|
# Maintainer: nickc@redhat.com
|
2022-12-21 16:32:48 +00:00
|
|
|
# Web Page: https://sourceware.org/annobin/
|
2021-05-04 14:15:25 +00:00
|
|
|
# Watermark Protocol: https://fedoraproject.org/wiki/Toolchain/Watermark
|
2019-06-24 13:22:11 +00:00
|
|
|
|
2020-02-25 15:50:15 +00:00
|
|
|
#---------------------------------------------------------------------------------
|
2018-01-26 11:36:09 +00:00
|
|
|
|
2020-04-16 15:29:42 +00:00
|
|
|
# Use "--without tests" to disable the testsuite.
|
2017-09-21 12:39:01 +00:00
|
|
|
%bcond_without tests
|
|
|
|
|
2018-06-06 16:25:49 +00:00
|
|
|
# Use "--without annocheck" to disable the installation of the annocheck program.
|
|
|
|
%bcond_without annocheck
|
|
|
|
|
2020-01-31 12:05:43 +00:00
|
|
|
# Use "--with debuginfod" to force support for debuginfod to be compiled into
|
|
|
|
# the annocheck program. By default the configure script will check for
|
|
|
|
# availablilty at build time, but this might not match the run time situation.
|
2020-02-25 15:50:15 +00:00
|
|
|
# FIXME: Add a --without debuginfod option to forcefully disable the configure
|
|
|
|
# time check for debuginfod support.
|
2020-01-30 16:46:33 +00:00
|
|
|
%bcond_with debuginfod
|
|
|
|
|
2020-09-28 10:41:09 +00:00
|
|
|
# Use "--without clangplugin" to disable the building of the annobin plugin for Clang.
|
|
|
|
%bcond_without clangplugin
|
2020-02-25 15:50:15 +00:00
|
|
|
|
2020-11-09 13:55:03 +00:00
|
|
|
# Use "--without gccplugin" to disable the building of the annobin plugin for GCC.
|
|
|
|
%bcond_without gccplugin
|
|
|
|
|
2020-09-28 10:41:09 +00:00
|
|
|
# Use "--without llvmplugin" to disable the building of the annobin plugin for LLVM.
|
|
|
|
%bcond_without llvmplugin
|
2020-06-15 16:33:58 +00:00
|
|
|
|
2018-02-23 10:56:10 +00:00
|
|
|
# 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
|
2019-06-24 13:22:11 +00:00
|
|
|
# checking logic or when building on RHEL-7 or earlier.
|
2022-01-09 23:49:59 +00:00
|
|
|
%global with_hard_gcc_version_requirement 1
|
2018-02-23 10:56:10 +00:00
|
|
|
|
2022-12-21 16:32:48 +00:00
|
|
|
%bcond_without plugin_rebuild
|
2020-10-02 12:29:31 +00:00
|
|
|
# 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.
|
|
|
|
# (i.e. we are building the new version of annobin to go with the new version
|
|
|
|
# of gcc). If the *old* annobin plugin is used whilst building this new
|
|
|
|
# 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.
|
2020-02-25 15:50:15 +00:00
|
|
|
#
|
2021-09-15 09:43:42 +00:00
|
|
|
# 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}
|
2022-01-10 09:16:01 +00:00
|
|
|
%undefine _annotated_build
|
2021-09-15 09:43:42 +00:00
|
|
|
# %%endif
|
2020-01-24 11:19:26 +00:00
|
|
|
|
2018-02-23 10:56:10 +00:00
|
|
|
#---------------------------------------------------------------------------------
|
2020-02-25 15:50:15 +00:00
|
|
|
|
2021-08-25 12:38:58 +00:00
|
|
|
%global annobin_sources annobin-%{version}.tar.xz
|
|
|
|
Source: https://nickc.fedorapeople.org/%{annobin_sources}
|
2018-02-23 10:56:10 +00:00
|
|
|
# For the latest sources use: git clone git://sourceware.org/git/annobin.git
|
|
|
|
|
2021-08-25 12:38:58 +00:00
|
|
|
# This is where a copy of the sources will be installed.
|
|
|
|
%global annobin_source_dir %{_usrsrc}/annobin
|
|
|
|
|
2020-12-08 12:58:44 +00:00
|
|
|
# Insert patches here, if needed. Eg:
|
2022-02-16 12:49:47 +00:00
|
|
|
# Patch01: annobin-foo.patch
|
2022-05-11 12:26:42 +00:00
|
|
|
|
2018-07-23 16:40:07 +00:00
|
|
|
#---------------------------------------------------------------------------------
|
2018-04-30 09:30:15 +00:00
|
|
|
|
2021-05-19 11:05:01 +00:00
|
|
|
# Make sure that the necessary sub-packages are built.
|
2019-01-28 16:47:39 +00:00
|
|
|
|
2021-02-10 19:21:28 +00:00
|
|
|
%if %{with gccplugin}
|
2021-05-19 11:05:01 +00:00
|
|
|
Requires: %{name}-plugin-gcc
|
2021-02-10 19:21:28 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with llvmplugin}
|
2021-05-19 11:05:01 +00:00
|
|
|
Requires: %{name}-plugin-llvm
|
2021-02-10 19:21:28 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with clangplugin}
|
2021-05-19 11:05:01 +00:00
|
|
|
Requires: %{name}-plugin-clang
|
2021-02-10 19:21:28 +00:00
|
|
|
%endif
|
|
|
|
|
2021-05-19 11:05:01 +00:00
|
|
|
#---------------------------------------------------------------------------------
|
2018-02-23 10:56:10 +00:00
|
|
|
|
|
|
|
%description
|
2021-05-19 11:05:01 +00:00
|
|
|
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.
|
2018-02-23 10:56:10 +00:00
|
|
|
|
2018-11-13 13:20:17 +00:00
|
|
|
Note - the plugin is automatically enabled in gcc builds via flags
|
|
|
|
provided by the redhat-rpm-macros package.
|
2021-05-19 11:05:01 +00:00
|
|
|
%endif
|
2018-02-23 10:56:10 +00:00
|
|
|
|
2020-02-25 15:50:15 +00:00
|
|
|
%if %{with clangplugin}
|
2021-05-19 11:05:01 +00:00
|
|
|
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.
|
2020-06-15 16:33:58 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with llvmplugin}
|
2021-05-19 11:05:01 +00:00
|
|
|
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.
|
2020-02-25 15:50:15 +00:00
|
|
|
%endif
|
|
|
|
|
2021-04-09 13:51:58 +00:00
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
# 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
|
2021-05-19 11:05:01 +00:00
|
|
|
# The documentation uses pod2man...
|
2021-10-18 13:24:09 +00:00
|
|
|
BuildRequires: perl-interpreter perl-podlators gawk make sharutils
|
2021-04-09 13:51:58 +00:00
|
|
|
|
|
|
|
%description docs
|
|
|
|
Provides the documentation files and example shell scripts for use with annobin.
|
|
|
|
|
|
|
|
#----------------------------------------------------------------------------
|
2018-02-23 10:56:10 +00:00
|
|
|
%if %{with tests}
|
|
|
|
|
|
|
|
%package tests
|
|
|
|
Summary: Test scripts and binaries for checking the behaviour and output of the annobin plugin
|
2021-04-16 11:05:54 +00:00
|
|
|
Requires: %{name}-docs = %{version}-%{release}
|
2018-02-23 10:56:10 +00:00
|
|
|
|
|
|
|
%description tests
|
|
|
|
Provides a means to test the generation of annotated binaries and the parsing
|
|
|
|
of the resulting files.
|
|
|
|
|
2021-05-19 11:05:01 +00:00
|
|
|
BuildRequires: make
|
|
|
|
|
2021-04-30 08:50:06 +00:00
|
|
|
%if %{with debuginfod}
|
|
|
|
BuildRequires: elfutils-debuginfod-client-devel
|
|
|
|
%endif
|
|
|
|
|
2018-02-23 10:56:10 +00:00
|
|
|
%endif
|
2018-06-06 16:25:49 +00:00
|
|
|
|
2021-04-09 13:51:58 +00:00
|
|
|
#----------------------------------------------------------------------------
|
2018-06-06 16:25:49 +00:00
|
|
|
%if %{with annocheck}
|
|
|
|
|
|
|
|
%package annocheck
|
|
|
|
Summary: A tool for checking the security hardening status of binaries
|
|
|
|
|
2021-05-19 11:05:01 +00:00
|
|
|
BuildRequires: gcc elfutils elfutils-devel elfutils-libelf-devel rpm-devel binutils-devel make
|
|
|
|
|
2020-01-30 16:46:33 +00:00
|
|
|
%if %{with debuginfod}
|
2021-05-19 11:05:01 +00:00
|
|
|
BuildRequires: elfutils-debuginfod-client-devel
|
2020-01-30 16:46:33 +00:00
|
|
|
%endif
|
2021-04-30 08:50:06 +00:00
|
|
|
|
2021-04-16 11:05:54 +00:00
|
|
|
Requires: %{name}-docs = %{version}-%{release}
|
2022-01-14 09:48:30 +00:00
|
|
|
Requires: cpio rpm
|
2018-06-06 16:25:49 +00:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2022-10-21 15:19:40 +00:00
|
|
|
%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.
|
|
|
|
|
2018-06-06 16:25:49 +00:00
|
|
|
%endif
|
|
|
|
|
2021-04-09 13:51:58 +00:00
|
|
|
#----------------------------------------------------------------------------
|
2021-02-10 19:21:28 +00:00
|
|
|
%if %{with gccplugin}
|
2018-02-23 10:56:10 +00:00
|
|
|
|
2021-02-10 19:21:28 +00:00
|
|
|
%package plugin-gcc
|
|
|
|
Summary: annobin gcc plugin
|
|
|
|
|
2021-04-16 11:05:54 +00:00
|
|
|
Requires: %{name}-docs = %{version}-%{release}
|
2021-05-19 11:05:01 +00:00
|
|
|
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
|
|
|
|
# metadata.
|
|
|
|
#
|
|
|
|
# Define "gcc_vr", a variable to hold the VERSION-RELEASE string for the gcc
|
|
|
|
# we are being built against.
|
|
|
|
#
|
|
|
|
# Unfortunately, we can't simply run:
|
|
|
|
# rpm -q --qf="%%{version}-%%{release}"
|
|
|
|
# to determine this, as there's no guarantee of a sane rpm database within
|
|
|
|
# the chroots created by our build system
|
|
|
|
#
|
|
|
|
# So we instead query the version from gcc's output.
|
|
|
|
#
|
|
|
|
# gcc.spec has:
|
|
|
|
# Version: %%{gcc_version}
|
|
|
|
# Release: %%{gcc_release}%%{?dist}
|
|
|
|
# ...snip...
|
|
|
|
# echo 'Red Hat %%{version}-%%{gcc_release}' > gcc/DEV-PHASE
|
|
|
|
#
|
|
|
|
# So, given this output:
|
|
|
|
#
|
|
|
|
# $ gcc --version
|
|
|
|
# gcc (GCC) 4.6.1 20110908 (Red Hat 4.6.1-9)
|
|
|
|
# Copyright (C) 2011 Free Software Foundation, Inc.
|
|
|
|
# This is free software; see the source for copying conditions. There is NO
|
|
|
|
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
#
|
|
|
|
# we can scrape out the "4.6.1" from the version line.
|
|
|
|
#
|
|
|
|
# The following implements the above:
|
|
|
|
|
|
|
|
%global gcc_vr %(gcc --version | head -n 1 | sed -e 's|.*(Red\ Hat\ ||g' -e 's|)$||g')
|
|
|
|
|
|
|
|
# We need the major version of gcc.
|
|
|
|
%global gcc_major %(echo "%{gcc_vr}" | cut -f1 -d".")
|
|
|
|
%global gcc_next %(v="%{gcc_major}"; echo $((++v)))
|
|
|
|
|
|
|
|
# Needed when building the srpm.
|
|
|
|
%if 0%{?gcc_major} == 0
|
|
|
|
%global gcc_major 0
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# 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})
|
|
|
|
%else
|
|
|
|
Requires: gcc
|
|
|
|
%endif
|
2021-02-10 19:21:28 +00:00
|
|
|
|
2021-08-24 16:16:30 +00:00
|
|
|
# Information about the gcc plugin is recorded in this file.
|
2022-01-20 15:18:08 +00:00
|
|
|
%global aver annobin-plugin-version-info
|
2021-08-24 16:16:30 +00:00
|
|
|
|
2021-02-10 19:21:28 +00:00
|
|
|
%description plugin-gcc
|
|
|
|
Installs an annobin plugin that can be used by gcc.
|
2018-02-23 10:56:10 +00:00
|
|
|
|
2020-02-25 15:50:15 +00:00
|
|
|
%endif
|
|
|
|
|
2021-02-10 19:21:28 +00:00
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
%if %{with llvmplugin}
|
|
|
|
|
|
|
|
%package plugin-llvm
|
|
|
|
Summary: annobin llvm plugin
|
|
|
|
|
2021-04-16 11:05:54 +00:00
|
|
|
Requires: %{name}-docs = %{version}-%{release}
|
2021-10-18 13:24:09 +00:00
|
|
|
Requires: llvm-libs
|
2021-05-19 11:05:01 +00:00
|
|
|
Conflicts: %{name} <= 9.60-1
|
|
|
|
BuildRequires: clang clang-devel llvm llvm-devel compiler-rt
|
2021-02-10 19:21:28 +00:00
|
|
|
|
|
|
|
%description plugin-llvm
|
2021-05-19 11:05:01 +00:00
|
|
|
Installs an annobin plugin that can be used by LLVM tools.
|
2021-02-10 19:21:28 +00:00
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
%if %{with clangplugin}
|
|
|
|
|
|
|
|
%package plugin-clang
|
|
|
|
Summary: annobin clang plugin
|
|
|
|
|
2021-04-16 11:05:54 +00:00
|
|
|
Requires: %{name}-docs = %{version}-%{release}
|
2021-10-18 13:24:09 +00:00
|
|
|
Requires: llvm-libs
|
2021-05-19 11:05:01 +00:00
|
|
|
Conflicts: %{name} <= 9.60-1
|
|
|
|
BuildRequires: clang clang-devel llvm llvm-devel compiler-rt
|
2021-02-10 19:21:28 +00:00
|
|
|
|
|
|
|
%description plugin-clang
|
2021-05-19 11:05:01 +00:00
|
|
|
Installs an annobin plugin that can be used by Clang.
|
2021-02-10 19:21:28 +00:00
|
|
|
|
|
|
|
%endif
|
2021-05-19 11:05:01 +00:00
|
|
|
|
2021-02-10 19:21:28 +00:00
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
|
2021-05-19 11:05:01 +00:00
|
|
|
# Decide where the plugins will live. Change if necessary.
|
|
|
|
|
2021-02-10 19:21:28 +00:00
|
|
|
%global ANNOBIN_GCC_PLUGIN_DIR %(gcc --print-file-name=plugin)
|
|
|
|
|
2022-02-16 12:49:47 +00:00
|
|
|
%{!?llvm_plugin_dir:%global llvm_plugin_dir %{_libdir}/llvm/plugins}
|
|
|
|
%{!?clang_plugin_dir:%global clang_plugin_dir %{_libdir}/clang/plugins}
|
2021-05-19 11:05:01 +00:00
|
|
|
|
2018-05-03 11:56:54 +00:00
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
|
2017-07-27 13:58:31 +00:00
|
|
|
%prep
|
2018-11-26 14:17:58 +00:00
|
|
|
if [ -z "%{gcc_vr}" ]; then
|
|
|
|
echo "*** Missing gcc_vr spec file macro, cannot continue." >&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2020-03-30 16:13:30 +00:00
|
|
|
echo "Requires: (gcc >= %{gcc_major} and gcc < %{gcc_next})"
|
2019-01-29 10:06:30 +00:00
|
|
|
|
2017-07-27 13:58:31 +00:00
|
|
|
%autosetup -p1
|
|
|
|
|
2018-01-04 10:05:29 +00:00
|
|
|
# The plugin has to be configured with the same arcane configure
|
|
|
|
# scripts used by gcc. Hence we must not allow the Fedora build
|
|
|
|
# system to regenerate any of the configure files.
|
2020-03-12 16:29:39 +00:00
|
|
|
touch aclocal.m4 gcc-plugin/config.h.in
|
2017-09-26 12:59:20 +00:00
|
|
|
touch configure */configure Makefile.in */Makefile.in
|
2018-01-26 12:33:58 +00:00
|
|
|
# Similarly we do not want to rebuild the documentation.
|
|
|
|
touch doc/annobin.info
|
2017-09-26 12:59:20 +00:00
|
|
|
|
2018-05-03 11:56:54 +00:00
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
|
2017-07-27 13:58:31 +00:00
|
|
|
%build
|
2020-01-30 16:46:33 +00:00
|
|
|
|
2021-05-19 11:05:01 +00:00
|
|
|
CONFIG_ARGS="--quiet"
|
2020-06-15 16:33:58 +00:00
|
|
|
|
2020-01-30 16:46:33 +00:00
|
|
|
%if %{with debuginfod}
|
2020-06-15 16:33:58 +00:00
|
|
|
CONFIG_ARGS="$CONFIG_ARGS --with-debuginfod"
|
2020-01-30 16:46:33 +00:00
|
|
|
%else
|
2021-04-30 08:50:06 +00:00
|
|
|
# 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.
|
2020-06-15 16:33:58 +00:00
|
|
|
CONFIG_ARGS="$CONFIG_ARGS --without-debuginfod"
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with clangplugin}
|
|
|
|
CONFIG_ARGS="$CONFIG_ARGS --with-clang"
|
|
|
|
%endif
|
|
|
|
|
2020-11-09 13:55:03 +00:00
|
|
|
%if %{without gccplugin}
|
|
|
|
CONFIG_ARGS="$CONFIG_ARGS --without-gcc-plugin"
|
2021-05-19 11:05:01 +00:00
|
|
|
%else
|
|
|
|
CONFIG_ARGS="$CONFIG_ARGS --with-gcc-plugin-dir=%{ANNOBIN_GCC_PLUGIN_DIR}"
|
2020-11-09 13:55:03 +00:00
|
|
|
%endif
|
|
|
|
|
2020-06-15 16:33:58 +00:00
|
|
|
%if %{with llvmplugin}
|
|
|
|
CONFIG_ARGS="$CONFIG_ARGS --with-llvm"
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{without tests}
|
2022-04-02 08:31:20 +00:00
|
|
|
CONFIG_ARGS="$CONFIG_ARGS --without-tests"
|
2020-01-30 16:46:33 +00:00
|
|
|
%endif
|
|
|
|
|
2021-05-19 11:05:01 +00:00
|
|
|
%if %{without annocheck}
|
|
|
|
CONFIG_ARGS="$CONFIG_ARGS --without-annocheck"
|
2021-08-17 14:03:42 +00:00
|
|
|
%else
|
|
|
|
# Fedora supports AArch64's -mbranch-protection=bti, RHEL does not.
|
|
|
|
%if 0%{?fedora} != 0
|
2021-08-24 16:16:30 +00:00
|
|
|
export CFLAGS="$CFLAGS -DAARCH64_BRANCH_PROTECTION_SUPPORTED=1"
|
2021-08-17 14:03:42 +00:00
|
|
|
%endif
|
2021-05-19 11:05:01 +00:00
|
|
|
%endif
|
|
|
|
|
2021-06-15 13:48:49 +00:00
|
|
|
%set_build_flags
|
|
|
|
|
2021-09-15 09:43:42 +00:00
|
|
|
export CFLAGS="$CFLAGS $RPM_OPT_FLAGS %build_cflags"
|
|
|
|
export LDFLAGS="$LDFLAGS %build_ldflags"
|
|
|
|
|
2021-06-15 13:48:49 +00:00
|
|
|
%ifarch %{ix86} x86_64
|
|
|
|
# FIXME: There should be a better way to do this.
|
|
|
|
export CLANG_TARGET_OPTIONS="-fcf-protection"
|
|
|
|
%endif
|
|
|
|
|
2022-08-11 14:16:31 +00:00
|
|
|
%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
|
|
|
|
|
2021-09-15 09:43:42 +00:00
|
|
|
CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" CXXFLAGS="$CFLAGS" %configure ${CONFIG_ARGS} || cat config.log
|
2021-07-05 11:49:37 +00:00
|
|
|
|
2017-10-03 13:48:09 +00:00
|
|
|
%make_build
|
2020-06-15 16:33:58 +00:00
|
|
|
|
2020-11-09 13:55:03 +00:00
|
|
|
%if %{with plugin_rebuild}
|
2020-09-28 10:41:09 +00:00
|
|
|
# Rebuild the plugin(s), this time using the plugin itself! This
|
2018-04-30 15:33:05 +00:00
|
|
|
# ensures that the plugin works, and that it contains annotations
|
2020-10-02 12:29:31 +00:00
|
|
|
# of its own.
|
2020-11-09 13:55:03 +00:00
|
|
|
|
|
|
|
%if %{with gccplugin}
|
2020-03-12 16:29:39 +00:00
|
|
|
cp gcc-plugin/.libs/annobin.so.0.0.0 %{_tmppath}/tmp_annobin.so
|
|
|
|
make -C gcc-plugin clean
|
2020-10-02 12:29:31 +00:00
|
|
|
BUILD_FLAGS="-fplugin=%{_tmppath}/tmp_annobin.so"
|
|
|
|
|
|
|
|
# Disable the standard annobin plugin so that we do get conflicts.
|
2022-12-21 16:32:48 +00:00
|
|
|
# Note - Fedora's rpm uses a different way of evaluating macros.
|
|
|
|
%if 0%{?fedora} == 0
|
|
|
|
echo "OLD EVAL"
|
2022-02-16 12:49:47 +00:00
|
|
|
OPTS="$(rpm --eval '%undefine _annotated_build %build_cflags %build_ldflags')"
|
2022-12-21 16:32:48 +00:00
|
|
|
%else
|
|
|
|
echo "NEW EVAL"
|
|
|
|
OPTS="$(rpm --undefine=_annotated_build --eval '%build_cflags %build_ldflags')"
|
|
|
|
%endif
|
2020-10-02 12:29:31 +00:00
|
|
|
|
2021-05-19 11:05:01 +00:00
|
|
|
# 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.
|
2019-06-24 13:22:11 +00:00
|
|
|
# BUILD_FLAGS="$BUILD_FLAGS -fplugin-arg-tmp_annobin-no-attach"
|
2020-10-02 12:29:31 +00:00
|
|
|
|
2022-02-16 12:49:47 +00:00
|
|
|
make -C gcc-plugin CXXFLAGS="$OPTS $BUILD_FLAGS"
|
2018-09-25 09:17:37 +00:00
|
|
|
rm %{_tmppath}/tmp_annobin.so
|
2020-11-09 13:55:03 +00:00
|
|
|
%endif
|
2018-04-30 15:33:05 +00:00
|
|
|
|
2020-07-26 07:56:46 +00:00
|
|
|
%if %{with clangplugin}
|
2020-09-28 10:41:09 +00:00
|
|
|
cp clang-plugin/annobin-for-clang.so %{_tmppath}/tmp_annobin.so
|
2022-02-16 12:49:47 +00:00
|
|
|
make -C clang-plugin all CXXFLAGS="$OPTS $BUILD_FLAGS"
|
2020-09-28 10:41:09 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with llvmplugin}
|
|
|
|
cp llvm-plugin/annobin-for-llvm.so %{_tmppath}/tmp_annobin.so
|
2022-02-16 12:49:47 +00:00
|
|
|
make -C llvm-plugin all CXXFLAGS="$OPTS $BUILD_FLAGS"
|
2020-07-26 07:56:46 +00:00
|
|
|
%endif
|
|
|
|
|
2022-02-16 12:49:47 +00:00
|
|
|
# endif for %%if {with_plugin_rebuild}
|
2020-11-09 13:55:03 +00:00
|
|
|
%endif
|
|
|
|
|
2018-05-03 11:56:54 +00:00
|
|
|
#---------------------------------------------------------------------------------
|
2017-10-03 13:48:09 +00:00
|
|
|
|
|
|
|
%install
|
2021-08-24 16:16:30 +00:00
|
|
|
|
|
|
|
# PLUGIN_INSTALL_DIR is used by the Clang and LLVM makefiles...
|
2021-02-10 19:21:28 +00:00
|
|
|
%make_install PLUGIN_INSTALL_DIR=%{buildroot}/%{llvm_plugin_dir}
|
|
|
|
|
|
|
|
%if %{with clangplugin}
|
2021-08-24 16:16:30 +00:00
|
|
|
# Move the clang plugin to a seperate directory.
|
2021-02-10 19:21:28 +00:00
|
|
|
mkdir -p %{buildroot}/%{clang_plugin_dir}
|
|
|
|
mv %{buildroot}/%{llvm_plugin_dir}/annobin-for-clang.so %{buildroot}/%{clang_plugin_dir}
|
|
|
|
%endif
|
2021-08-24 16:16:30 +00:00
|
|
|
|
|
|
|
%if %{with gccplugin}
|
|
|
|
# Record the version of gcc that built this plugin.
|
2021-12-17 15:46:16 +00:00
|
|
|
# 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.
|
2022-01-20 15:18:08 +00:00
|
|
|
mkdir -p %{buildroot}/%{ANNOBIN_GCC_PLUGIN_DIR}
|
|
|
|
cat `gcc --print-file-name=rpmver` > %{buildroot}/%{ANNOBIN_GCC_PLUGIN_DIR}/%{aver}
|
2021-08-25 12:38:58 +00:00
|
|
|
|
|
|
|
# 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
|
2021-08-24 16:16:30 +00:00
|
|
|
%endif
|
|
|
|
|
2020-05-27 15:07:00 +00:00
|
|
|
rm -f %{buildroot}%{_infodir}/dir
|
2017-07-27 13:58:31 +00:00
|
|
|
|
2018-05-03 11:56:54 +00:00
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
|
2017-09-21 12:39:01 +00:00
|
|
|
%if %{with tests}
|
2017-10-03 13:48:09 +00:00
|
|
|
%check
|
2019-10-04 06:59:55 +00:00
|
|
|
# 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.
|
2021-09-03 16:55:06 +00:00
|
|
|
make check
|
2019-04-18 11:15:30 +00:00
|
|
|
if [ -f tests/test-suite.log ]; then
|
|
|
|
cat tests/test-suite.log
|
|
|
|
fi
|
2017-09-21 12:39:01 +00:00
|
|
|
%endif
|
|
|
|
|
2018-05-03 11:56:54 +00:00
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
|
2021-04-09 13:51:58 +00:00
|
|
|
%files docs
|
2017-07-27 13:58:31 +00:00
|
|
|
%license COPYING3 LICENSE
|
|
|
|
%exclude %{_datadir}/doc/annobin-plugin/COPYING3
|
|
|
|
%exclude %{_datadir}/doc/annobin-plugin/LICENSE
|
|
|
|
%doc %{_datadir}/doc/annobin-plugin/annotation.proposal.txt
|
2019-06-10 15:11:24 +00:00
|
|
|
%{_infodir}/annobin.info*
|
|
|
|
%{_mandir}/man1/annobin.1*
|
2021-10-14 19:04:48 +00:00
|
|
|
%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*
|
2020-02-27 12:42:53 +00:00
|
|
|
|
2021-02-10 19:21:28 +00:00
|
|
|
%if %{with llvmplugin}
|
|
|
|
%files plugin-llvm
|
2022-06-29 16:38:18 +00:00
|
|
|
%dir %{llvm_plugin_dir}
|
2021-02-10 19:21:28 +00:00
|
|
|
%{llvm_plugin_dir}/annobin-for-llvm.so
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with clangplugin}
|
|
|
|
%files plugin-clang
|
2022-06-29 16:38:18 +00:00
|
|
|
%dir %{clang_plugin_dir}
|
2021-02-10 19:21:28 +00:00
|
|
|
%{clang_plugin_dir}/annobin-for-clang.so
|
2020-02-25 15:50:15 +00:00
|
|
|
%endif
|
2020-11-16 14:26:06 +00:00
|
|
|
|
|
|
|
%if %{with gccplugin}
|
2021-02-10 19:21:28 +00:00
|
|
|
%files plugin-gcc
|
2022-06-29 16:38:18 +00:00
|
|
|
%dir %{ANNOBIN_GCC_PLUGIN_DIR}
|
2022-01-20 15:18:08 +00:00
|
|
|
%{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}
|
2021-08-25 12:38:58 +00:00
|
|
|
%{annobin_source_dir}/latest-annobin.tar.xz
|
2020-11-09 13:55:03 +00:00
|
|
|
%endif
|
2017-07-27 13:58:31 +00:00
|
|
|
|
2018-06-06 16:25:49 +00:00
|
|
|
%if %{with annocheck}
|
2019-06-06 08:06:43 +00:00
|
|
|
%files annocheck
|
2018-06-06 16:25:49 +00:00
|
|
|
%{_bindir}/annocheck
|
2019-06-10 15:11:24 +00:00
|
|
|
%{_mandir}/man1/annocheck.1*
|
2022-10-21 15:19:40 +00:00
|
|
|
|
|
|
|
%files libannocheck
|
|
|
|
%{_includedir}/libannocheck.h
|
|
|
|
%{_libdir}/libannocheck.*
|
|
|
|
%{_libdir}/pkgconfig/libannocheck.pc
|
2018-06-06 16:25:49 +00:00
|
|
|
%endif
|
|
|
|
|
2017-09-21 12:39:01 +00:00
|
|
|
#---------------------------------------------------------------------------------
|
2018-05-03 11:56:54 +00:00
|
|
|
|
2017-07-27 13:58:31 +00:00
|
|
|
%changelog
|
2022-12-21 16:32:48 +00:00
|
|
|
* Wed Dec 21 2022 Nick Clifton <nickc@redhat.com> - 10.99-1
|
|
|
|
- Annocheck: Improve handling of tool versions.
|
|
|
|
- Spec File: Fix building with plugin_rebuild enabled.
|
|
|
|
- GCC plugin: Fix building with gcc-13.
|
|
|
|
|
2022-12-16 08:52:18 +00:00
|
|
|
* Fri Dec 16 2022 Nick Clifton <nickc@redhat.com> - 10.97-1
|
|
|
|
- Annocheck: Add test for binaries built by cross compilers.
|
|
|
|
- Annocheck: Improve heuristic used to detect binaries without code. (#2144533)
|
|
|
|
|
2022-12-12 14:03:57 +00:00
|
|
|
* Mon Dec 12 2022 Nick Clifton <nickc@redhat.com> - 10.95-1
|
|
|
|
- Annocheck: Avoid using debug filename when parsing notes in a debuginfo file. (#2152280)
|
|
|
|
|
2022-11-23 19:19:48 +00:00
|
|
|
* Wed Nov 23 2022 Yara Ahmad <yahmad@redhat.com> - 10.93-1
|
|
|
|
- Annocheck: Provide more information when a test is skipped because the file being tested was not compiled.
|
|
|
|
|
2022-11-09 16:31:16 +00:00
|
|
|
* Wed Nov 09 2022 Yara Ahmad <yahmad@redhat.com> - 10.92-1
|
|
|
|
- Annocheck: Try harder not to run mutually exclusive tests.
|
|
|
|
|
2022-10-21 15:19:40 +00:00
|
|
|
* Fri Oct 21 2022 Yara Ahmad <yahmad@redhat.com> - 10.91-1
|
|
|
|
- Rebase to annobin-10.91
|
|
|
|
- Tests: Fix future-test so that it properly handles the situation where the compiler does not support the new options.
|
|
|
|
- Libannocheck: Actually set result fields after tests are run.
|
|
|
|
- Libannocheck: Replace libannocheck_version variable with LIBANNOCHECK_VERSION define.
|
|
|
|
- Libannocheck: Remove 'Requires binutils-devel' from libannocheck.pc.
|
|
|
|
- Libannocheck: Move into separate sub-package.
|
|
|
|
- Libannocheck: Add libannocheck.pc pkgconfig file.
|
|
|
|
- Libannocheck: Add libannocheck_reinit().
|
|
|
|
- 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.
|
|
|
|
- Clang Plugin: Fix for building with Clang-15. (#2125875)
|
|
|
|
- Annocheck: Add a test for the inconsistent use of -Ofast. (#1248744)
|
|
|
|
- NVR Bump in order to trigger a rebuild for ELN. (#2124562)
|
|
|
|
|
2022-08-11 14:16:31 +00:00
|
|
|
* Thu Aug 11 2022 Yara Ahmad <yahmad@redhat.com> - 10.81-1
|
|
|
|
- Plugin: Fix top level configuration support for RiscV.
|
|
|
|
- Annocheck: Improvements to the size tool.
|
|
|
|
|
2022-07-25 14:44:44 +00:00
|
|
|
* Mon Jul 25 2022 Nick Clifton <nickc@redhat.com> - 10.79-1
|
|
|
|
- Annocheck: Fixes for libannocheck.h.
|
|
|
|
|
2022-07-20 20:49:03 +00:00
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 10.78-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-07-05 08:16:59 +00:00
|
|
|
* Tue Jul 05 2022 Nick Clifton <nickc@redhat.com> - 10.78-1
|
|
|
|
- Annocheck: Add automatic profile selection.
|
|
|
|
|
2022-07-04 15:18:07 +00:00
|
|
|
* Mon Jul 04 2022 Nick Clifton <nickc@redhat.com> - 10.77-1
|
|
|
|
- Annocheck: Improve gap detection and reporting.
|
|
|
|
|
2022-06-29 16:38:18 +00:00
|
|
|
* Wed Jun 29 2022 Nick Clifton <nickc@redhat.com> - 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 <nickc@redhat.com> - 10.76-2
|
|
|
|
- Spec File: Remove bogus Provides from annobin-docs subpackage.
|
|
|
|
|
|
|
|
* Tue Jun 14 2022 Nick Clifton <nickc@redhat.com> - 10.76-1
|
2022-06-14 09:18:00 +00:00
|
|
|
- Annocheck: Check build-id of separate debuginfo files.
|
|
|
|
- Annocheck: Add GAPS test replacing --ignore-gaps.
|
|
|
|
|
2022-06-09 14:12:55 +00:00
|
|
|
* Thu Jun 09 2022 Nick Clifton <nickc@redhat.com> - 10.75-1
|
|
|
|
- Annocheck: Fix covscan detected race condition between stat() and open().
|
|
|
|
|
2022-06-07 15:56:59 +00:00
|
|
|
* Tue Jun 07 2022 Nick Clifton <nickc@redhat.com> - 10.74-1
|
|
|
|
- Annocheck: Handle binaries created by Rust 1.18. (#2094420)
|
|
|
|
- Annocheck: Add optional function name to --skip arguments. (PR 29229)
|
|
|
|
|
2022-05-17 11:34:14 +00:00
|
|
|
* Tue May 17 2022 Nick Clifton <nickc@redhat.com> - 10.73-1
|
|
|
|
- Annocheck: Fix handling of command line options that take arguments. (#2086850)
|
|
|
|
|
2022-05-16 14:53:08 +00:00
|
|
|
* Mon May 16 2022 Nick Clifton <nickc@redhat.com> - 10.72-1
|
|
|
|
- Annocheck: Do not complain about unenabled -mbranch-protection option in AArch64 binaries. (#2078909)
|
|
|
|
|
2022-05-11 13:35:10 +00:00
|
|
|
* Wed May 11 2022 Nick Clifton <nickc@redhat.com> - 10.71-1
|
|
|
|
- gcc-plugin: Fix typo in configure.ac.
|
|
|
|
|
|
|
|
* Tue May 10 2022 Nianqing Yao <imbearchild@outlook.com> - 10.70-2
|
2022-05-11 12:26:42 +00:00
|
|
|
- Add support for RISC-V.
|
|
|
|
|
2022-05-09 10:07:02 +00:00
|
|
|
* Mon May 09 2022 Nick Clifton <nickc@redhat.com> - 10.70-1
|
|
|
|
- Annocheck: Add another special case for glibc rpms. (#2083070)
|
|
|
|
|
2022-05-06 14:00:55 +00:00
|
|
|
* Fri May 06 2022 Nick Clifton <nickc@redhat.com> - 10.69-1
|
|
|
|
- Annocheck: Do not complain about unenabled -mbranch-protection option in AArch64 binaries if compiled using LTO. (#2082146)
|
|
|
|
|
2022-05-03 13:09:23 +00:00
|
|
|
* Tue May 03 2022 Nick Clifton <nickc@redhat.com> - 10.68-1
|
|
|
|
- Annocheck: Add more glibc exceptions + check PT_TLS segments. (#2081131)
|
|
|
|
|
2022-04-22 07:22:06 +00:00
|
|
|
* Fri Apr 22 2022 Nick Clifton <nickc@redhat.com> - 10.67-1
|
|
|
|
- Annocheck: Do not complain about missing -mbranch-protection option in AArch64 binaries if compiled by golang.
|
|
|
|
|
2022-04-13 08:35:37 +00:00
|
|
|
* Wed Apr 13 2022 Nick Clifton <nickc@redhat.com> - 10.66-1
|
|
|
|
- Annocheck: Do not complain about missing -mbranch-protection option in AArch64 binaries if compiled in LTO mode.
|
|
|
|
|
2022-04-12 16:53:12 +00:00
|
|
|
* Tue Apr 12 2022 Nick Clifton <nickc@redhat.com> - 10.65-1
|
|
|
|
- gcc-plugin: Add support for CLVC_INTEGER options.
|
|
|
|
|
2022-04-06 11:58:19 +00:00
|
|
|
* Wed Apr 06 2022 Nick Clifton <nickc@redhat.com> - 10.64-1
|
|
|
|
- Annocheck: Even more special cases for AArch64 glibc on RHEL-8. (#2072082)
|
|
|
|
|
2022-04-06 11:19:52 +00:00
|
|
|
* Wed Apr 06 2022 Nick Clifton <nickc@redhat.com> - 10.63-1
|
|
|
|
- Annocheck: Add more special cases for AArch64 glibc on RHEL-8. (#2072082)
|
|
|
|
|
2022-04-05 13:04:16 +00:00
|
|
|
* Tue Apr 05 2022 Nick Clifton <nickc@redhat.com> - 10.62-1
|
|
|
|
- llvm-plugin: Fix a thinko in the sources.
|
|
|
|
|
2022-04-02 08:31:20 +00:00
|
|
|
* Sat Apr 02 2022 Nick Clifton <nickc@redhat.com> - 10.61-1
|
|
|
|
- gcc-plugin: Add remap of OPT_Wall.
|
|
|
|
- configure: Fix typo in top level configure.ac.
|
|
|
|
|
2022-03-31 12:41:14 +00:00
|
|
|
* Thu Mar 31 2022 Timm Bäder <mail@baedert.org>redhat.com> - 10.60-1
|
|
|
|
- Add support for building using meson+ninja.
|
|
|
|
|
|
|
|
* Wed Mar 30 2022 Serge Guelton <sguelton@redhat.com> - 10.59-2
|
2022-03-30 14:21:21 +00:00
|
|
|
- Rebuilt against new LLVM release, with patch.
|
|
|
|
|
2022-03-30 10:49:43 +00:00
|
|
|
* Wed Mar 30 2022 Nick Clifton <nickc@redhat.com> - 10.59-1
|
|
|
|
- Annocheck: Fix test for AArch64 property notes. (#2068657)
|
|
|
|
|
2022-03-14 11:53:08 +00:00
|
|
|
* Mon Mar 14 2022 Nick Clifton <nickc@redhat.com> - 10.58-1
|
|
|
|
- gcc-plugin: Do not issue warning messages for autoconf generated source files. (#2009958)
|
|
|
|
|
2022-03-09 18:31:39 +00:00
|
|
|
* Wed Mar 09 2022 Jakub Jelinek <jakub@redhat.com> - 10.57-3
|
|
|
|
- NVR bump to allow rebuild for new GCC.
|
|
|
|
|
2022-03-09 14:28:56 +00:00
|
|
|
* Wed Mar 09 2022 Jakub Jelinek <jakub@redhat.com> - 10.57-2
|
|
|
|
- NVR bump to allow rebuild for new GCC.
|
|
|
|
|
2022-03-07 12:29:47 +00:00
|
|
|
* Mon Mar 07 2022 Nick Clifton <nickc@redhat.com> - 10.57-1
|
|
|
|
- Annocheck: Update documentation and fix typo in annocheck. (#2061291)
|
|
|
|
|
2022-03-04 17:29:15 +00:00
|
|
|
* Fri Mar 04 2022 Nick Clifton <nickc@redhat.com> - 10.56-1
|
|
|
|
- Annocheck: Add option to enable/disable following symbolic links.
|
|
|
|
|
2022-02-28 11:53:01 +00:00
|
|
|
* Mon Feb 28 2022 Nick Clifton <nickc@redhat.com> - 10.55-1
|
|
|
|
- Always identify Rust binaries, even if built on a host that does not know about Rust. (#2057737)
|
|
|
|
|
2022-02-24 13:53:49 +00:00
|
|
|
* Thu Feb 24 2022 Jakub Jelinek <jakub@redhat.com> - 10.54-4
|
|
|
|
- NVR bump to allow rebuild for new GCC.
|
|
|
|
|
2022-02-16 12:49:47 +00:00
|
|
|
* Wed Feb 16 2022 Nick Clifton <nickc@redhat.com> - 10.54-3
|
|
|
|
- Spec File: Use a different method to disable the annobin plugin (#2054571)
|
|
|
|
|
2022-02-14 09:10:40 +00:00
|
|
|
* Mon Feb 14 2022 Jakub Jelinek <jakub@redhat.com> - 10.54-2
|
|
|
|
- NVR bump to allow rebuild for new GCC.
|
|
|
|
|
2022-02-11 15:26:15 +00:00
|
|
|
* Fri Feb 11 2022 Nick Clifton <nickc@redhat.com> - 10.54-1
|
|
|
|
- Annocheck: Skip PIE anf PIC tests for GO binaries.
|
|
|
|
|
2022-02-06 16:45:26 +00:00
|
|
|
* Sun Feb 06 2022 Jakub Jelinek <jakub@redhat.com> - 10.53-2
|
|
|
|
- NVR bump to allow rebuild in yet another side tag.
|
|
|
|
|
2022-01-27 16:56:19 +00:00
|
|
|
* Thu Jan 27 2022 Nick Clifton <nickc@redhat.com> - 10.53-1
|
|
|
|
- gcc-plugin: Fix libtool so that extraneous runpaths are not added to the plugin. (#2030667)
|
|
|
|
|
2022-01-27 13:09:45 +00:00
|
|
|
* Thu Jan 27 2022 Nick Clifton <nickc@redhat.com> - 10.52-1
|
|
|
|
- gcc-plugin: Use canonical_option field of save_decoded_options array. (#2047148)
|
|
|
|
|
2022-01-27 09:29:49 +00:00
|
|
|
* Thu Jan 27 2022 Florian Weimer <fweimer@redhat.com> - 10.51-2
|
|
|
|
- Rebuild for new gcc version
|
|
|
|
|
2022-01-25 15:42:19 +00:00
|
|
|
* Tue Jan 25 2022 Nick Clifton <nickc@redhat.com> - 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.
|
|
|
|
|
2022-01-20 16:20:57 +00:00
|
|
|
* Thu Jan 20 2022 Nick Clifton <nickc@redhat.com> - 10.50-1
|
|
|
|
- Annocheck: Add another glibc static library symbol. (#2043047)
|
|
|
|
|
2022-01-20 15:18:08 +00:00
|
|
|
* Thu Jan 20 2022 Nick Clifton <nickc@redhat.com> - 10.49-1
|
|
|
|
- Annocheck: Skip property note test for GO binaries. (#204300)
|
|
|
|
|
2022-01-19 21:16:45 +00:00
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 10.48-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2022-01-19 19:31:54 +00:00
|
|
|
* Wed Jan 19 2022 Nick Clifton <nickc@redhat.com> - 10.48-5
|
|
|
|
- NVR bump to allow rebuild in another side tag.
|
|
|
|
|
2022-01-19 17:35:04 +00:00
|
|
|
* Wed Jan 19 2022 Jakub Jelinek <jakub@redhat.com> - 10.48-4
|
|
|
|
- NVR bump to allow rebuild in yet another side tag.
|
|
|
|
|
2022-01-19 14:25:39 +00:00
|
|
|
* Wed Jan 19 2022 Nick Clifton <nickc@redhat.com> - 10.48-3
|
|
|
|
- NVR bump to allow rebuild in another side tag.
|
|
|
|
|
2022-01-19 13:56:59 +00:00
|
|
|
* Wed Jan 19 2022 Nick Clifton <nickc@redhat.com> - 10.48-2
|
|
|
|
- NVR bump to allow rebuild in a side tag.
|
|
|
|
|
2022-01-17 14:38:17 +00:00
|
|
|
* Mon Jan 17 2022 Nick Clifton <nickc@redhat.com> - 10.48-1
|
|
|
|
- GCC Plugin: Do not fail if a section cannot be attached to a group.
|
|
|
|
|
2022-01-14 10:45:48 +00:00
|
|
|
* Fri Jan 14 2022 Nick Clifton <nickc@redhat.com> - 10.47-2
|
|
|
|
- NVR bump to allow rebuild in a side tag.
|
|
|
|
|
2022-01-14 09:48:30 +00:00
|
|
|
* Fri Jan 14 2022 Nick Clifton <nickc@redhat.com> - 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 <nickc@redhat.com> - 10.46-1
|
|
|
|
- Annocheck: Add option to disable instrumentation test.
|
|
|
|
|
2022-01-10 09:33:18 +00:00
|
|
|
* Mon Jan 10 2022 Nick Clifton <nickc@redhat.com> - 10.45-1
|
|
|
|
- GCC Plugin: Replace CLVC_BOOLEAN with CLVC_BIT_SET/CLVC_BIT_CLEAR.
|
|
|
|
|
2022-01-10 00:00:55 +00:00
|
|
|
* Sun Jan 09 2022 Jakub Jelinek <jakub@redhat.com> - 10.44-4
|
|
|
|
- Rebuild against new GCC.
|
|
|
|
|
2022-01-09 23:49:59 +00:00
|
|
|
* Sun Jan 09 2022 Jakub Jelinek <jakub@redhat.com> - 10.44-3
|
|
|
|
- Rebuild against new GCC.
|
|
|
|
|
2022-01-09 19:08:02 +00:00
|
|
|
* Sun Jan 09 2022 Jakub Jelinek <jakub@redhat.com> - 10.44-2
|
|
|
|
- Rebuild against new GCC.
|
|
|
|
|
2022-01-07 15:09:37 +00:00
|
|
|
* Fri Jan 07 2022 Nick Clifton <nickc@redhat.com> - 10.44-1
|
|
|
|
- Annocheck: Add even more glibc function names. (#2037333)
|
|
|
|
|
2022-01-07 14:10:23 +00:00
|
|
|
* Fri Jan 07 2022 Nick Clifton <nickc@redhat.com> - 10.43-1
|
|
|
|
- Annocheck: ARM: Do not fail tests that rely upon annobin notes.
|
|
|
|
|
2022-01-05 15:38:48 +00:00
|
|
|
* Wed Jan 05 2022 Nick Clifton <nickc@redhat.com> - 10.42-1
|
|
|
|
- Annocheck: Extend list of known glibc functions. (#2037333)
|
|
|
|
|
2022-01-05 12:06:02 +00:00
|
|
|
* Wed Jan 05 2022 Nick Clifton <nickc@redhat.com> - 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 <nickc@redhat.com> - 10.40-1
|
2022-01-04 11:42:27 +00:00
|
|
|
- Annocheck: Do not complaining about missing stack clash notes if the compilation used LTO. (#2034946)
|
|
|
|
|
2021-12-17 15:46:16 +00:00
|
|
|
* Fri Dec 17 2021 Nick Clifton <nickc@redhat.com> - 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)
|
|
|
|
|
2021-12-14 17:55:37 +00:00
|
|
|
* Tue Dec 14 2021 Nick Clifton <nickc@redhat.com> - 10.38-1
|
|
|
|
- Annocheck: Add special case for x86_64 RHEL-7 gaps. (#2031133)
|
|
|
|
|
2021-12-14 10:04:35 +00:00
|
|
|
* Tue Dec 14 2021 Nick Clifton <nickc@redhat.com> - 10.37-1
|
|
|
|
- Annocheck: Do not complaining about missing -mstackrealign notes in LTO mode. (#2030298)
|
|
|
|
|
2021-12-13 17:54:33 +00:00
|
|
|
* Mon Dec 13 2021 Nick Clifton <nickc@redhat.com> - 10.36-1
|
|
|
|
- GCC Plugin: Do not record missing -mstackrealign in LTO mode. (#2030298)
|
|
|
|
|
2021-12-13 12:55:43 +00:00
|
|
|
* Mon Dec 13 2021 Nick Clifton <nickc@redhat.com> - 10.35-1
|
|
|
|
- Tests: Fix fortify and debuginfod tests to use newly built annobin plugin.
|
|
|
|
|
2021-12-06 17:49:41 +00:00
|
|
|
* Mon Dec 06 2021 Nick Clifton <nickc@redhat.com> - 10.34-1
|
2021-12-06 14:43:50 +00:00
|
|
|
- Tests: Fix gaps and stat tests to use newly built annobin plugin. (#2028063)
|
|
|
|
|
2021-12-06 12:19:06 +00:00
|
|
|
* Mon Dec 06 2021 Nick Clifton <nickc@redhat.com> - 10.32-1
|
|
|
|
- Annocheck: Ignore gaps in binaries at least partial built by golang. (#2028583)
|
|
|
|
|
2021-12-02 15:38:52 +00:00
|
|
|
* Thu Dec 02 2021 Nick Clifton <nickc@redhat.com> - 10.31-1
|
|
|
|
- Annocheck: Allow spaces in golang symbols.
|
|
|
|
|
2021-12-01 15:53:49 +00:00
|
|
|
* Wed Dec 01 2021 Nick Clifton <nickc@redhat.com> - 10.30-1
|
|
|
|
- Annocheck: Initial deployment of libannocheck.
|
|
|
|
|
2021-11-24 14:03:50 +00:00
|
|
|
* Wed Nov 24 2021 Nick Clifton <nickc@redhat.com> - 10.29-1
|
|
|
|
- gcc-plugin: Fix bug creating empty attachments.
|
|
|
|
- Annocheck: Change MAYB result to SKIP for DT_RPATH. (#2026300)
|
|
|
|
|
2021-11-19 12:25:11 +00:00
|
|
|
* Fri Nov 19 2021 Nick Clifton <nickc@redhat.com> - 10.27-1
|
|
|
|
- Annocheck: Skip missing fortify/warning notes for ARM32.
|
|
|
|
|
2021-11-18 13:29:22 +00:00
|
|
|
* Thu Nov 18 2021 Nick Clifton <nickc@redhat.com> - 10.26-1
|
|
|
|
- gcc-plugin: Try another fix for ppc64le section grouping. (#2023437)
|
|
|
|
|
2021-11-16 17:01:20 +00:00
|
|
|
* Tue Nov 16 2021 Nick Clifton <nickc@redhat.com> - 10.25-1
|
|
|
|
- gcc-plugin: Revert 10.22 change. (#2023437)
|
|
|
|
|
2021-11-16 11:14:14 +00:00
|
|
|
* Mon Nov 15 2021 Nick Clifton <nickc@redhat.com> - 10.24-1
|
|
|
|
- Annocheck: Add exception for /usr/sbin/ldconfig. (#2022973)
|
|
|
|
|
2021-11-08 13:47:26 +00:00
|
|
|
* Mon Nov 08 2021 Nick Clifton <nickc@redhat.com> - 10.23-1
|
|
|
|
- Annocheck: Add a test for unicode characters in identifiers.
|
|
|
|
|
2021-10-27 10:10:47 +00:00
|
|
|
* Wed Oct 27 2021 Nick Clifton <nickc@redhat.com> - 10.22-1
|
|
|
|
- gcc-plugin: Default to link-order grouping for PPC64LE. (#2016458)
|
|
|
|
|
2021-10-26 14:58:02 +00:00
|
|
|
* Tue Oct 26 2021 Nick Clifton <nickc@redhat.com> - 10.21-1
|
|
|
|
- Annocheck: Do not fail if a --skip-<name> option does not match a known test.
|
|
|
|
- ldconfig-test: Skip the LTO check.
|
|
|
|
|
2021-10-26 07:28:59 +00:00
|
|
|
* Tue Oct 26 2021 Nick Clifton <nickc@redhat.com> - 10.20-1
|
|
|
|
- Annocheck: Add more glibc function names.
|
|
|
|
|
2021-10-21 12:48:54 +00:00
|
|
|
* Thu Oct 21 2021 Nick Clifton <nickc@redhat.com> - 10.19-1
|
|
|
|
- gcc-plugin: Fix attaching the .text section to the .text.group section.
|
|
|
|
|
2021-10-20 16:49:04 +00:00
|
|
|
* Wed Oct 20 2021 Nick Clifton <nickc@redhat.com> - 10.18-1
|
|
|
|
- Complain about DT_RPATH for Fedora binaries.
|
|
|
|
|
2021-10-18 15:17:25 +00:00
|
|
|
* Mon Oct 18 2021 Nick Clifton <nickc@redhat.com> - 10.17-1
|
|
|
|
- Better reporting of problems in object files. (#2013708)
|
|
|
|
|
2021-10-18 13:24:09 +00:00
|
|
|
* Mon Oct 18 2021 Nick Clifton <nickc@redhat.com> - 10.16-2
|
|
|
|
- Add a requirement on llvm-libs for clang and llvm plugins. (#2014573)
|
|
|
|
|
2021-10-14 19:04:48 +00:00
|
|
|
* Thu Oct 14 2021 Nick Clifton <nickc@redhat.com> - 10.16-1
|
|
|
|
- Fix configuring annocheck without gcc-plugin.
|
|
|
|
- Annocheck: Better reporting of debuginfod problems.
|
|
|
|
- Tests: Fix bugs in debuginfod test.
|
|
|
|
|
2021-10-13 10:55:02 +00:00
|
|
|
* Wed Oct 13 2021 Nick Clifton <nickc@redhat.com> - 10.15-1
|
|
|
|
- Annocheck: Add tests based upon recent bug fixes.
|
|
|
|
|
2021-10-13 10:56:58 +00:00
|
|
|
* Tue Oct 12 2021 Nick Clifton <nickc@redhat.com> - 10.14-1
|
2021-10-13 10:55:02 +00:00
|
|
|
- Annocheck: Another tweak to glibc detection code.
|
|
|
|
|
2021-10-07 23:27:54 +00:00
|
|
|
* Tue Oct 12 2021 Tom Stellard <tstellar@redhat.com> - 10.13-2
|
|
|
|
- Rebuild for llvm-13.0.0
|
|
|
|
|
2021-10-08 15:25:13 +00:00
|
|
|
* Fri Oct 08 2021 Nick Clifton <nickc@redhat.com> - 10.13-1
|
|
|
|
- Annocheck: Fix memory corruptions when using --debug-path and when a corrupt note is found. (#20011438)
|
|
|
|
|
2021-10-08 13:15:39 +00:00
|
|
|
* Fri Oct 08 2021 Nick Clifton <nickc@redhat.com> - 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.
|
|
|
|
|
2021-10-06 09:59:43 +00:00
|
|
|
* Tue Oct 05 2021 Nick Clifton <nickc@redhat.com> - 10.11-1
|
|
|
|
- Annocheck: Fix covscan detected flaws.
|
|
|
|
- plugins: Add more required build options.
|
|
|
|
|
2021-10-05 13:28:09 +00:00
|
|
|
* Tue Oct 05 2021 Nick Clifton <nickc@redhat.com> - 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 <nickc@redhat.com> - 10.09-1
|
2021-10-04 14:26:35 +00:00
|
|
|
- Annocheck: Add more cases of glibc startup functions.
|
|
|
|
|
2021-10-01 12:11:12 +00:00
|
|
|
* Fri Oct 01 2021 Nick Clifton <nickc@redhat.com> - 10.08-1
|
|
|
|
- Annocheck: Fix covscan detected problems.
|
|
|
|
- Annocheck: Add --profile=el8.
|
|
|
|
- gcc-plugin: Conditionalize generation of branch protection note.
|
|
|
|
|
2021-09-29 12:12:12 +00:00
|
|
|
* Wed Sep 29 2021 Nick Clifton <nickc@redhat.com> - 10.07-1
|
|
|
|
- Annocheck: Ignore gaps containing NOP instructions.
|
|
|
|
|
2021-09-16 14:06:57 +00:00
|
|
|
* Thu Sep 16 2021 Nick Clifton <nickc@redhat.com> - 10.06-1
|
|
|
|
- GCC Plugin: Fix detection of running inside the LTO compiler. (#2004917)
|
|
|
|
|
2021-09-15 14:00:18 +00:00
|
|
|
* Wed Sep 15 2021 Nick Clifton <nickc@redhat.com> - 10.05-1
|
|
|
|
- Annocheck: Do not insist on the DT_AARCH64_PAC_PLT flag being present in AArch64 binaries.
|
|
|
|
|
2021-09-15 11:09:38 +00:00
|
|
|
* Wed Sep 15 2021 Nick Clifton <nickc@redhat.com> - 10.04-1
|
|
|
|
- Annocheck: With gaps at the start/end of the .text section, check for special symbols before displaying a MAYB result.
|
|
|
|
|
2021-09-15 09:43:42 +00:00
|
|
|
* Wed Sep 15 2021 Nick Clifton <nickc@redhat.com> - 10.03-1
|
|
|
|
- Annocheck: Do not set CFLAGS/LDFLAGS when building. Take from environment instead.
|
|
|
|
|
2021-09-10 10:08:17 +00:00
|
|
|
* Fri Sep 10 2021 Nick Clifton <nickc@redhat.com> - 10.02-1
|
|
|
|
- Annocheck: Fix exit code when tests PASS.
|
|
|
|
|
2021-09-09 13:18:24 +00:00
|
|
|
* Thu Sep 09 2021 Nick Clifton <nickc@redhat.com> - 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-<tool> option.
|
|
|
|
|
2021-09-03 16:55:06 +00:00
|
|
|
* Fri Sep 03 2021 Nick Clifton <nickc@redhat.com> - 9.95-1
|
|
|
|
- Annocheck: Fix fuzzing detected failures.
|
2021-09-09 13:18:24 +00:00
|
|
|
- Annocheck: Add --profile option.
|
|
|
|
- Docs: Document --profile option and rpminspect.yaml.
|
2021-09-03 16:55:06 +00:00
|
|
|
|
2021-08-31 14:18:09 +00:00
|
|
|
* Tue Aug 31 2021 Nick Clifton <nickc@redhat.com> - 9.94-1
|
|
|
|
- Annocheck: Skip GO/CET checks. Fix fuzzing detected failures.
|
|
|
|
|
2021-08-25 12:38:58 +00:00
|
|
|
* Wed Aug 25 2021 Nick Clifton <nickc@redhat.com> - 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.
|
|
|
|
|
2021-08-24 16:16:30 +00:00
|
|
|
* Tue Aug 24 2021 Nick Clifton <nickc@redhat.com> - 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 <nickc@redhat.com> - 9.91-1
|
|
|
|
- Annocheck: Fix conditionalization of AArch64's PAC+BTI detection.
|
|
|
|
|
2021-08-18 10:28:24 +00:00
|
|
|
* Wed Aug 18 2021 Nick Clifton <nickc@redhat.com> - 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.
|
|
|
|
|
2021-08-17 14:03:42 +00:00
|
|
|
* Tue Aug 17 2021 Nick Clifton <nickc@redhat.com> - 9.89-1
|
|
|
|
- Annocheck: Conditionalize detection of AArch64's PAC+BTI protection.
|
|
|
|
- Annocheck: Add linker generated function for s390x exceptions. (#1981410)
|
|
|
|
|
2021-08-17 11:06:55 +00:00
|
|
|
* Tue Aug 17 2021 Nick Clifton <nickc@redhat.com> - 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 <tstellar@redhat.com>)
|
|
|
|
|
|
|
|
* Mon Aug 16 2021 Tom Stellard <tstellar@redhat.com> - 9.87-2
|
2021-08-16 19:09:10 +00:00
|
|
|
- Rebuild for LLVM 13.0.0-rc1
|
|
|
|
|
2021-08-16 11:41:17 +00:00
|
|
|
* Mon Aug 16 2021 Nick Clifton <nickc@redhat.com> - 9.87-1
|
|
|
|
- Annocheck: Fix memory corruption. (#1988715)
|
|
|
|
|
2021-08-11 16:23:33 +00:00
|
|
|
* Wed Aug 11 2021 Nick Clifton <nickc@redhat.com> - 9.86-1
|
|
|
|
- Annocheck: Skip certain tests for kernel modules.
|
|
|
|
|
2021-08-10 14:14:48 +00:00
|
|
|
* Tue Aug 10 2021 Nick Clifton <nickc@redhat.com> - 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.
|
|
|
|
|
2021-08-09 10:14:43 +00:00
|
|
|
* Mon Aug 09 2021 Nick Clifton <nickc@redhat.com> - 9.84-1
|
|
|
|
- Annocheck: Process files in command line order. (#1988714)
|
|
|
|
|
2021-07-23 12:36:44 +00:00
|
|
|
* Fri Jul 23 2021 Nick Clifton <nickc@redhat.com> - 9.83-1
|
|
|
|
- Annocheck: Reverse AArch64 PAC+BTI check, ie fail if they are enabled. (#1984995)
|
|
|
|
|
2021-07-21 17:34:53 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9.82-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-07-13 16:15:00 +00:00
|
|
|
* Tue Jul 13 2021 Nick Clifton <nickc@redhat.com> - 9.82-1
|
|
|
|
- Annocheck: Add another test exceptions.
|
|
|
|
|
2021-07-13 14:39:21 +00:00
|
|
|
* Tue Jul 13 2021 Nick Clifton <nickc@redhat.com> - 9.81-1
|
|
|
|
- Annocheck: Add some more test exceptions.
|
|
|
|
|
2021-07-05 11:49:37 +00:00
|
|
|
* Mon Jul 05 2021 Nick Clifton <nickc@redhat.com> - 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.
|
|
|
|
|
2021-06-29 15:06:16 +00:00
|
|
|
* Tue Jun 29 2021 Nick Clifton <nickc@redhat.com> - 9.79-1
|
2021-07-05 11:49:37 +00:00
|
|
|
- Annocheck: Fix spelling mistake in -mstack-realign failure message. (#1977349)
|
2021-06-29 15:06:16 +00:00
|
|
|
|
2021-06-22 15:05:21 +00:00
|
|
|
* Mon Jun 21 2021 Nick Clifton <nickc@redhat.com> - 9.78-1
|
|
|
|
- gcc-plugin: Do not record global versions of stack protection settings in LTO mode, if not set. (#1958954)
|
|
|
|
|
2021-06-21 15:16:26 +00:00
|
|
|
* Mon Jun 21 2021 Nick Clifton <nickc@redhat.com> - 9.77-1
|
2021-06-29 15:06:16 +00:00
|
|
|
- Annocheck: Remove limit on number of input files.
|
2021-06-21 15:16:26 +00:00
|
|
|
|
2021-06-15 13:48:49 +00:00
|
|
|
* Tue Jun 15 2021 Nick Clifton <nickc@redhat.com> - 9.76-1
|
|
|
|
- clang/llvm plugins: Build with correct security options.
|
|
|
|
|
2021-06-15 11:10:19 +00:00
|
|
|
* Tue Jun 15 2021 Nick Clifton <nickc@redhat.com> - 9.75-1
|
|
|
|
- Annocheck: Better detection of GO compiler version.
|
|
|
|
|
2021-06-09 15:49:05 +00:00
|
|
|
* Wed Jun 09 2021 Nick Clifton <nickc@redhat.com> - 9.74-1
|
|
|
|
- Annocheck: Better support for symbolic links.
|
|
|
|
- Annocheck: In verbose mode, report the reason for skipping specific tests. (#1969584)
|
|
|
|
|
2021-06-04 01:39:25 +00:00
|
|
|
* Fri Jun 04 2021 Tom Stellard <tstellar@redhat.com> - 9.73-3
|
|
|
|
- Rebuild for LLVM 12.0.1
|
|
|
|
|
2021-06-03 10:41:16 +00:00
|
|
|
* Thu Jun 03 2021 Nick Clifton <nickc@redhat.com> - 9.73-2
|
|
|
|
- Obsolete all previous versions of annobin. (#1967339)
|
|
|
|
|
2021-05-25 13:54:34 +00:00
|
|
|
* Tue May 25 2021 Nick Clifton <nickc@redhat.com> - 9.73-1
|
2021-06-29 15:06:16 +00:00
|
|
|
- Annocheck: Improve detection of shared libraries. (#1958954)
|
2021-05-25 13:54:34 +00:00
|
|
|
|
2021-05-19 11:05:01 +00:00
|
|
|
* Wed May 19 2021 Nick Clifton <nickc@redhat.com> - 9.72-2
|
|
|
|
- Tidy up spec file.
|
|
|
|
|
2021-05-13 11:40:46 +00:00
|
|
|
* Thu May 13 2021 Nick Clifton <nickc@redhat.com> - 9.72-1
|
2021-06-29 15:06:16 +00:00
|
|
|
- Annocheck: Accept 0 as a valid number for gcc minor versions and release numbers.
|
2021-05-13 11:40:46 +00:00
|
|
|
- gcc-plugin: Add support for ARM and RISCV targets.
|
|
|
|
|
2021-05-04 14:15:25 +00:00
|
|
|
* Tue May 04 2021 Nick Clifton <nickc@redhat.com> - 9.71-1
|
|
|
|
- timing: do not initialise the clock if the timing tool is disabled.
|
|
|
|
|
2021-04-30 08:50:06 +00:00
|
|
|
* Fri Apr 30 2021 Nick Clifton <nickc@redhat.com> - 9.70-1
|
|
|
|
- gcc-plugin: Replace ICE messsages with verbose messages.
|
|
|
|
|
2021-04-22 13:15:51 +00:00
|
|
|
* Thu Apr 22 2021 Nick Clifton <nickc@redhat.com> - 9.69-1
|
|
|
|
- Fix the testsuite so that it can be run in parallel.
|
|
|
|
|
2021-04-21 11:56:16 +00:00
|
|
|
* Wed Apr 21 2021 Nick Clifton <nickc@redhat.com> - 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)
|
|
|
|
|
2021-04-20 11:20:58 +00:00
|
|
|
* Tue Apr 20 2021 Petr Pisar <ppisar@redhat.com> - 9.67-2
|
|
|
|
- Obsolete annobin < 9.66-1 (bug #1949570)
|
|
|
|
|
2021-04-20 11:35:20 +00:00
|
|
|
* Tue Apr 20 2021 Nick Clifton <nickc@redhat.com> - 9.67-1
|
|
|
|
- Annocheck: Improve detection of missing GNU-stack support.
|
|
|
|
|
2021-04-19 07:46:44 +00:00
|
|
|
* Mon Apr 19 2021 Petr Pisar <ppisar@redhat.com> - 9.66-4
|
|
|
|
- Bump a release
|
|
|
|
|
2021-04-16 11:05:54 +00:00
|
|
|
* Fri Apr 16 2021 Petr Pisar <ppisar@redhat.com> - 9.66-3
|
|
|
|
- Correct a package rename (bug #1949570)
|
|
|
|
- Require docs subpackage by the other ones because of a license
|
2021-04-16 11:26:58 +00:00
|
|
|
- Build-requiring perl-interpreter is enough
|
2021-04-16 11:05:54 +00:00
|
|
|
|
2021-04-16 07:16:09 +00:00
|
|
|
* Thu Apr 15 2021 Martin Cermak <mcermak@redhat.com> - 9.66-2
|
|
|
|
- Fix bz1949570
|
|
|
|
|
2021-04-09 13:51:58 +00:00
|
|
|
* Fri Apr 09 2021 Nick Clifton <nickc@redhat.com> - 9.66-1
|
|
|
|
- Fix anomolies reported by covscan.
|
|
|
|
- Move documentation into a sub-package.
|
|
|
|
|
2021-03-20 10:05:06 +00:00
|
|
|
* Sat Mar 20 2021 Jakub Jelinek <jakub@redhat.com> - 9.65-2
|
|
|
|
- NVR bump to rebuild against GCC 11.0.1
|
|
|
|
|
2021-03-09 13:38:59 +00:00
|
|
|
* Tue Mar 09 2021 Nick Clifton <nickc@redhat.com> - 9.65-1
|
|
|
|
- gcc-plugin: Use a fixed filename when running in LTO mode.
|
|
|
|
|
2021-03-03 10:10:12 +00:00
|
|
|
* Wed Mar 03 2021 Nick Clifton <nickc@redhat.com> - 9.64-1
|
|
|
|
- Annocheck: Fix detection of special function names. (#1934189)
|
|
|
|
|
2021-02-26 10:09:08 +00:00
|
|
|
* Fri Feb 26 2021 Nick Clifton <nickc@redhat.com> - 9.63-1
|
|
|
|
- Annocheck: FAIL the deliberate use of -fno-stack-protector, but add some exceptions for glibc. (#1923439)
|
|
|
|
|
2021-02-25 11:22:54 +00:00
|
|
|
* Thu Feb 25 2021 Nick Clifton <nickc@redhat.com> - 9.62-1
|
|
|
|
- Annocheck: Add colour to some messages. Skip the deliberate use of -fno-stack-protector. (#1923439)
|
|
|
|
|
2021-02-22 13:02:23 +00:00
|
|
|
* Mon Feb 22 2021 Nick Clifton <nickc@redhat.com> - 9.61-1
|
|
|
|
- Annocheck: Fix some problems with tests for missing notes.
|
|
|
|
|
2021-02-10 19:21:28 +00:00
|
|
|
* Wed Feb 10 2021 Tom Stellard <tstellar@redhat.com> = 9.60-2
|
|
|
|
- Split plugins into separate sub-packages
|
|
|
|
|
2021-02-05 11:21:57 +00:00
|
|
|
* Fri Feb 05 2021 Nick Clifton <nickc@redhat.com> - 9.60-1
|
|
|
|
- Add some GO tests to annocheck.
|
|
|
|
|
2021-01-26 00:07:03 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9.59-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2021-01-20 11:15:10 +00:00
|
|
|
* Wed Jan 20 2021 Nick Clifton <nickc@redhat.com> - 9.59-1
|
|
|
|
- Add a future fail for the presence of RPATH in the dynamic tags.
|
|
|
|
|
2021-01-18 18:09:39 +00:00
|
|
|
* Mon Jan 18 2021 Nick Clifton <nickc@redhat.com> - 9.58-1
|
|
|
|
- Add the ability to disable the warning message about -D_FORTIFY_SOURCE being missing.
|
|
|
|
|
2021-01-14 10:37:21 +00:00
|
|
|
* Wed Jan 13 2021 Nick Clifton <nickc@redhat.com> - 9.57-1
|
|
|
|
- Workaround for elflint problems with PPC compiled files. (#1880634)
|
|
|
|
|
2021-01-13 10:30:18 +00:00
|
|
|
* Wed Jan 13 2021 Nick Clifton <nickc@redhat.com> - 9.56-1
|
|
|
|
- Fix bogus AArch64 test failures.
|
|
|
|
|
2021-01-12 17:19:21 +00:00
|
|
|
* Tue Jan 12 2021 Nick Clifton <nickc@redhat.com> - 9.55-1
|
|
|
|
- Improved testing by annocheck. Add fixed format message mode.
|
|
|
|
|
|
|
|
* Mon Jan 04 2021 Nick Clifton <nickc@redhat.com> - 9.54-1
|
|
|
|
- Fix inconsistency reporting -fcf-protection and -fstack-clash-protection results.
|
|
|
|
|
|
|
|
* Mon Jan 04 2021 Nick Clifton <nickc@redhat.com> - 9.53-1
|
2021-01-04 16:18:52 +00:00
|
|
|
- Add support for -D_FORTIFY_SOURCE=3.
|
|
|
|
|
2020-12-11 17:04:35 +00:00
|
|
|
* Fri Dec 11 2020 Nick Clifton <nickc@redhat.com> - 9.52-2
|
|
|
|
- NVR bump in order to allow the new gating tests to be run.
|
|
|
|
|
2020-12-11 14:53:32 +00:00
|
|
|
* Fri Dec 11 2020 Nick Clifton <nickc@redhat.com> - 9.52-1
|
|
|
|
- annocheck: When a binary is produced both by GAS and GCC, select GAS as the real producer. (#1906171)
|
|
|
|
|
2020-12-10 11:48:06 +00:00
|
|
|
* Thu Dec 10 2020 Nick Clifton <nickc@redhat.com> - 9.51-1
|
|
|
|
- annocheck: Improve test for LTO compiled binaries that do not have -Wall annotations. (#1906171)
|
|
|
|
|
2020-12-09 17:15:19 +00:00
|
|
|
* Wed Dec 09 2020 Nick Clifton <nickc@redhat.com> - 9.50-1
|
|
|
|
- annocheck: Mark a missining -D_FORTIFY_SOURCE as a FAIL.
|
|
|
|
|
2020-12-08 12:58:44 +00:00
|
|
|
* Tue Dec 08 2020 Nick Clifton <nickc@redhat.com> - 9.49-1
|
|
|
|
- annocheck: Fix notes analyzer to accept empty PPC64 notes.
|
|
|
|
|
2020-12-07 13:50:08 +00:00
|
|
|
* Mon Dec 07 2020 Jakub Jelinek <jakub@redhat.com> - 9.48-5
|
|
|
|
- NVR bump for another ELN sidetag rebuild.
|
|
|
|
|
2020-12-06 11:17:38 +00:00
|
|
|
* Sun Dec 06 2020 Jakub Jelinek <jakub@redhat.com> - 9.48-4
|
|
|
|
- Revert back to previous settings.
|
|
|
|
|
2020-12-06 10:30:03 +00:00
|
|
|
* Sun Dec 06 2020 Jakub Jelinek <jakub@redhat.com> - 9.48-3
|
|
|
|
- Another NVR bump for GCC 11 rebuild.
|
|
|
|
|
2020-12-06 10:18:53 +00:00
|
|
|
* Sun Dec 06 2020 Jakub Jelinek <jakub@redhat.com> - 9.48-2
|
|
|
|
- NVR bump for GCC 11 rebuild.
|
|
|
|
|
|
|
|
* Wed Dec 02 2020 Nick Clifton <nickc@redhat.com> - 9.48-1
|
2020-12-02 12:12:12 +00:00
|
|
|
- gcc plugin: Tweak generation of end symbols for PPC64 when LTO is active. (#1898075)
|
|
|
|
|
2020-12-06 10:18:53 +00:00
|
|
|
* Tue Dec 01 2020 Nick Clifton <nickc@redhat.com> - 9.47-1
|
2020-12-01 13:39:47 +00:00
|
|
|
- gcc plugin: Add support for GCC 11's cl_vars array.
|
|
|
|
|
2020-11-27 10:04:11 +00:00
|
|
|
* Fri Nov 27 2020 Jakub Jelinek <jakub@redhat.com> - 9.46-2
|
|
|
|
- NVR bump for another ELN sidetag rebuild.
|
|
|
|
|
2020-11-24 10:39:50 +00:00
|
|
|
* Tue Nov 24 2020 Nick Clifton <nickc@redhat.com> - 9.46-1
|
|
|
|
- Annocheck: Support enabling/disabling future fails.
|
|
|
|
|
|
|
|
* Wed Nov 18 2020 Nick Clifton <nickc@redhat.com> - 9.45-1
|
2020-11-23 12:12:25 +00:00
|
|
|
- GCC plugin: Always record global notes for the .text.startup,
|
|
|
|
.text.exit, .text.hot and .text.cold sections.
|
|
|
|
|
2020-11-17 16:30:19 +00:00
|
|
|
* Tue Nov 17 2020 Nick Clifton <nickc@redhat.com> - 9.44-1
|
|
|
|
- Clang plugin: Add -lLLVM to the build command line.
|
|
|
|
|
2020-11-16 14:26:06 +00:00
|
|
|
* Mon Nov 16 2020 Nick Clifton <nickc@redhat.com> - 9.43-1
|
|
|
|
- Annocheck: Improve reporting of missing -D_FORTIFY_SOURCE option. (#1898075)
|
|
|
|
|
2020-11-16 11:40:56 +00:00
|
|
|
* Mon Nov 16 2020 Nick Clifton <nickc@redhat.com> - 9.42-1
|
|
|
|
- Annocheck: Improve reporting of missing LTO option.
|
|
|
|
|
2020-11-10 16:41:31 +00:00
|
|
|
* Tue Nov 10 2020 Nick Clifton <nickc@redhat.com> - 9.41-1
|
|
|
|
- Add detecting of gimple compiled binaries.
|
|
|
|
|
2020-11-09 13:55:03 +00:00
|
|
|
* Mon Nov 09 2020 Nick Clifton <nickc@redhat.com> - 9.40-1
|
|
|
|
- Add --without-gcc-plugin option.
|
|
|
|
|
2020-11-06 12:30:46 +00:00
|
|
|
* Fri Nov 06 2020 Nick Clifton <nickc@redhat.com> - 9.38-1
|
|
|
|
- Annocheck: Fix bug parsing DW_AT_producer.
|
|
|
|
|
2020-11-04 14:17:42 +00:00
|
|
|
* Wed Nov 04 2020 Nick Clifton <nickc@redhat.com> - 9.37-1
|
|
|
|
- Add test of .note.gnu.property section for PowerPC.
|
|
|
|
- Add test of objcopy's ability to merge notes.
|
|
|
|
|
2020-10-29 23:17:46 +00:00
|
|
|
* Fri Oct 30 2020 Jakub Jelinek <jakub@redhat.com> - 9.36-2
|
|
|
|
- NVR bump for another ELN sidetag rebuild.
|
|
|
|
|
2020-10-21 14:18:44 +00:00
|
|
|
* Wed Oct 21 2020 Nick Clifton <nickc@redhat.com> - 9.36-1
|
|
|
|
- Record the -flto setting and produce a soft warning if it is absent.
|
|
|
|
- Suppress warnings about _D_GLIBCXX_ASSERTIONS if the source code is known to be something other than C++.
|
|
|
|
|
2020-10-21 09:23:00 +00:00
|
|
|
* Wed Oct 21 2020 Nick Clifton <nickc@redhat.com> - 9.35-3
|
|
|
|
- NVR bump to allow building on ELN sidetag.
|
|
|
|
|
2020-10-05 11:40:13 +00:00
|
|
|
* Mon Oct 05 2020 Nick Clifton <nickc@redhat.com> - 9.35-2
|
|
|
|
- Correct the directory chosen for 32-bit LLVM and Clang plugins. (#1884951)
|
|
|
|
|
2020-10-02 12:29:31 +00:00
|
|
|
* Thu Oct 01 2020 Nick Clifton <nickc@redhat.com> - 9.35-1
|
|
|
|
- Allow the use of the SHF_LINK_ORDER section flag to discard unused notes. (Experimental).
|
|
|
|
|
2020-09-28 10:41:09 +00:00
|
|
|
* Mon Sep 28 2020 Nick Clifton <nickc@redhat.com> - 9.34-1
|
2020-10-02 12:29:31 +00:00
|
|
|
- Enable the build and installation of the LLVM and Clang plugins. (Experimental).
|
2020-09-28 10:41:09 +00:00
|
|
|
|
2020-09-21 12:13:34 +00:00
|
|
|
* Mon Sep 21 2020 Nick Clifton <nickc@redhat.com> - 9.33-1
|
|
|
|
- gcc-plugin: Fix test for empty PowerPC sections. (#1880634)
|
|
|
|
|
2020-09-17 12:55:20 +00:00
|
|
|
* Thu Sep 17 2020 Nick Clifton <nickc@redhat.com> - 9.32-2
|
|
|
|
- NVR bump to allow rebuild against f34-build-side-30319.
|
|
|
|
|
2020-09-16 06:47:41 +00:00
|
|
|
* Tue Sep 15 2020 Nick Clifton <nickc@redhat.com> - 9.32-1
|
|
|
|
- annocheck: Add tests for the AArch64 BTI and PAC security features. (#1862478)
|
|
|
|
|
2020-09-10 12:42:30 +00:00
|
|
|
* Thu Sep 10 2020 Nick Clifton <nickc@redhat.com> - 9.31-1
|
|
|
|
- gcc plugin: Use a 4 byte offset for PowerPC start symbols, so that they do not break disassemblies.
|
|
|
|
|
2020-09-10 10:06:24 +00:00
|
|
|
* Thu Sep 10 2020 Nick Clifton <nickc@redhat.com> - 9.30-1
|
|
|
|
- gcc plugin: Correct the detection of 32-bit x86 builds. (#1876197)
|
|
|
|
|
2020-08-17 09:51:27 +00:00
|
|
|
* Mon Aug 17 2020 Nick Clifton <nickc@redhat.com> - 9.29-1
|
|
|
|
- gcc plugin: Detect any attempt to access the global_options array.
|
|
|
|
|
2020-08-11 15:24:55 +00:00
|
|
|
* Tue Aug 11 2020 Nick Clifton <nickc@redhat.com> - 9.28-1
|
|
|
|
- gcc plugin: Do not complain about missing pre-processor options when examining a preprocessed input file. (#1862718)
|
|
|
|
|
2020-07-30 16:01:07 +00:00
|
|
|
* Thu Jul 30 2020 Nick Clifton <nickc@redhat.com> - 9.27-1
|
|
|
|
- Use more robust checks for AArch64 options.
|
|
|
|
|
2020-07-30 07:40:49 +00:00
|
|
|
* Thu Jul 30 2020 Nick Clifton <nickc@redhat.com> - 9.26-1
|
|
|
|
- Detect CLANG compiled assembler that is missing IBT support.
|
|
|
|
|
2020-07-29 15:35:49 +00:00
|
|
|
* Wed Jul 29 2020 Nick Clifton <nickc@redhat.com> - 9.25-1
|
|
|
|
- Improved target pointer size discovery.
|
|
|
|
|
2020-07-27 12:04:18 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.24-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-26 08:42:58 +00:00
|
|
|
* Sun Jul 26 2020 Nick Clifton <nickc@redhat.com> - 9.24-2
|
|
|
|
- Rebuild with plugin enabled to check that suppression works.
|
|
|
|
|
2020-07-26 08:31:57 +00:00
|
|
|
* Sun Jul 26 2020 Nick Clifton <nickc@redhat.com> - 9.24-1
|
2020-07-26 08:05:32 +00:00
|
|
|
- Add support for installing clang and llvm plugins.
|
2020-07-26 08:42:58 +00:00
|
|
|
- Temporary suppression of aarch64 pointer size check. (#1860549)
|
2020-07-26 07:56:46 +00:00
|
|
|
|
2020-07-25 09:44:33 +00:00
|
|
|
* Sat Jul 25 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 9.23-2
|
|
|
|
- Rebuild for gcc 10.2
|
|
|
|
|
2020-07-01 15:59:51 +00:00
|
|
|
* Wed Jul 01 2020 Nick Clifton <nickc@redhat.com> - 9.23-1
|
|
|
|
- Annocheck: Do not skip tests of the short-enums notes. (#1743635)
|
|
|
|
|
2020-06-15 16:33:58 +00:00
|
|
|
* Mon Jun 15 2020 Nick Clifton <nickc@redhat.com> - 9.22-1
|
|
|
|
- Add (optional) llvm plugin.
|
|
|
|
|
2020-04-22 12:01:20 +00:00
|
|
|
* Wed Apr 22 2020 Nick Clifton <nickc@redhat.com> - 9.21-1
|
|
|
|
- Annobin: Fall back on using the flags if the option cannot be found in cl_options. (#1817659)
|
|
|
|
|
2020-04-16 15:29:42 +00:00
|
|
|
* Thu Apr 16 2020 Nick Clifton <nickc@redhat.com> - 9.20-1
|
|
|
|
- Annocheck: Detect Fortran compiled programs. (#1824393)
|
|
|
|
|
2020-04-01 13:21:23 +00:00
|
|
|
* Wed Apr 01 2020 Nick Clifton <nickc@redhat.com> - 9.19-1
|
|
|
|
- Annobin: If option name mismatch occurs, seach for the real option. (#1817452)
|
|
|
|
|
2020-03-30 16:13:30 +00:00
|
|
|
* Mon Mar 30 2020 Nick Clifton <nickc@redhat.com> - 9.18-1
|
|
|
|
- Annocheck: Fix a division by zero error when parsing GO binaries. (#1818863)
|
|
|
|
|
2020-03-27 09:53:24 +00:00
|
|
|
* Fri Mar 27 2020 Nick Clifton <nickc@redhat.com> - 9.16-1
|
|
|
|
- Annobin: Fix access to the -flto and -fsanitize flags.
|
|
|
|
|
2020-03-26 15:46:44 +00:00
|
|
|
* Thu Mar 26 2020 Nick Clifton <nickc@redhat.com> - 9.14-1
|
2020-03-27 09:53:24 +00:00
|
|
|
- Annobin: Use offsets stored in gcc's cl_option structure to access the global_options array, thus removing the need to check for changes in the size of this structure.
|
2020-03-26 15:46:44 +00:00
|
|
|
|
2020-03-26 12:03:20 +00:00
|
|
|
* Thu Mar 26 2020 Nick Clifton <nickc@redhat.com> - 9.13-2
|
|
|
|
- NVR bump to allow rebuilding against new gcc.
|
|
|
|
|
2020-03-12 16:29:39 +00:00
|
|
|
* Thu Mar 12 2020 Nick Clifton <nickc@redhat.com> - 9.13-1
|
|
|
|
- Rename gcc plugin directory to gcc-plugin.
|
|
|
|
- Stop annocheck from complaining about missing options when the binary has been built in a mixed environment.
|
|
|
|
|
2020-03-12 11:24:42 +00:00
|
|
|
* Thu Mar 12 2020 Nick Clifton <nickc@redhat.com> - 9.12-3
|
|
|
|
- And again, this time with annotation enabled. (#1810941)
|
|
|
|
|
2020-03-12 11:10:13 +00:00
|
|
|
* Thu Mar 12 2020 Nick Clifton <nickc@redhat.com> - 9.12-2
|
|
|
|
- NVR bump to enable rebuild against updated gcc. (#1810941)
|
|
|
|
|
2020-03-04 14:22:53 +00:00
|
|
|
* Wed Mar 04 2020 Nick Clifton <nickc@redhat.com> - 9.12-1
|
|
|
|
- Improve builtby tool.
|
|
|
|
- Stop annocheck complaining about missing notes when the binary is not compiled by either gcc or clang.
|
2020-03-04 14:23:48 +00:00
|
|
|
- Skip the check of the ENTRY instruction for binaries not compiled by gcc or clang. (#1809656)
|
2020-03-04 14:22:53 +00:00
|
|
|
|
2020-02-28 10:43:39 +00:00
|
|
|
* Fri Feb 28 2020 Nick Clifton <nickc@redhat.com> - 9.11-1
|
|
|
|
- Fix infinite loop hangup in annocheck.
|
|
|
|
- Disable debuginfod support by default.
|
|
|
|
- Improve parsing of .comment section.
|
|
|
|
|
2020-02-27 12:42:53 +00:00
|
|
|
* Thu Feb 27 2020 Nick Clifton <nickc@redhat.com> - 9.10-1
|
|
|
|
- Fix clang plugin to use hidden symbols.
|
|
|
|
|
2020-02-25 15:50:15 +00:00
|
|
|
* Tue Feb 25 2020 Nick Clifton <nickc@redhat.com> - 9.09-1
|
|
|
|
- Add ability to build clang plugin (disabled by default).
|
|
|
|
|
2020-02-17 17:21:55 +00:00
|
|
|
* Mon Feb 17 2020 Nick Clifton <nickc@redhat.com> - 9.08-1
|
|
|
|
- Annocheck: Fix error printing out the version number.
|
|
|
|
|
2020-02-14 13:48:28 +00:00
|
|
|
* Fri Feb 14 2020 Nick Clifton <nickc@redhat.com> - 9.07-1
|
|
|
|
- Annobin: Add checks of the exact location of the examined switches.
|
|
|
|
|
2020-02-11 15:30:09 +00:00
|
|
|
* Tue Feb 11 2020 Nick Clifton <nickc@redhat.com> - 9.06-1
|
|
|
|
- Annobin: Note when stack clash notes are generated.
|
|
|
|
- Annocheck: Handle multiple builder IDs in the .comment section.
|
|
|
|
|
2020-01-31 13:32:01 +00:00
|
|
|
* Fri Jan 31 2020 Nick Clifton <nickc@redhat.com> - 9.05-1
|
|
|
|
- Add configure option to suppress building annocheck.
|
|
|
|
|
2020-01-31 12:05:43 +00:00
|
|
|
* Fri Jan 31 2020 Nick Clifton <nickc@redhat.com> - 9.04-1
|
|
|
|
- Fix debuginfod test.
|
|
|
|
|
2020-01-30 17:18:38 +00:00
|
|
|
* Thu Jan 30 2020 Nick Clifton <nickc@redhat.com> - 9.03-2
|
|
|
|
- Correct the build requirement for building with debuginfod support.
|
|
|
|
|
2020-01-30 16:46:33 +00:00
|
|
|
* Thu Jan 30 2020 Nick Clifton <nickc@redhat.com> - 9.03-1
|
|
|
|
- Add debuginfod support.
|
|
|
|
|
2020-01-28 11:36:19 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.01-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-24 10:54:37 +00:00
|
|
|
* Mon Jan 20 2020 Nick Clifton <nickc@redhat.com> - 9.01-2
|
|
|
|
- Rebuild againt latest gcc-10.
|
|
|
|
|
2020-01-20 12:38:03 +00:00
|
|
|
* Mon Jan 20 2020 Nick Clifton <nickc@redhat.com> - 9.01-1
|
|
|
|
- Add clang plugin (experimental).
|
2020-01-20 11:38:51 +00:00
|
|
|
|
2019-12-06 14:43:08 +00:00
|
|
|
* Fri Dec 06 2019 Nick Clifton <nickc@redhat.com> - 8.92-1
|
|
|
|
- Have annocheck ignore notes with an end address of 0.
|
|
|
|
|
2019-11-18 17:37:38 +00:00
|
|
|
* Mon Nov 18 2019 Nick Clifton <nickc@redhat.com> - 8.91-1
|
|
|
|
- Improve checking of gcc versions.
|
|
|
|
|
2019-11-15 15:59:54 +00:00
|
|
|
* Fri Nov 15 2019 Nick Clifton <nickc@redhat.com> - 8.90-1
|
|
|
|
- Do not skip positive results.
|
|
|
|
|
2019-11-01 13:58:20 +00:00
|
|
|
* Fri Nov 01 2019 Nick Clifton <nickc@redhat.com> - 8.88-1
|
|
|
|
- Generate a WARN result for code compiled with instrumentation enabled. (#1753918)
|
|
|
|
|
2019-10-22 15:55:27 +00:00
|
|
|
* Tue Oct 22 2019 Nick Clifton <nickc@redhat.com> - 8.87-1
|
|
|
|
- Replace address checks with dladdr1.
|
|
|
|
|
2019-10-21 15:51:56 +00:00
|
|
|
* Mon Oct 21 2019 Nick Clifton <nickc@redhat.com> - 8.86-1
|
|
|
|
- Use libabigail like checking to ensure variable address consistency.
|
|
|
|
|
2019-10-16 15:35:21 +00:00
|
|
|
* Wed Oct 16 2019 Nick Clifton <nickc@redhat.com> - 8.85-1
|
|
|
|
- Skip generation of global notes for hot/cold sections.
|
|
|
|
|
2019-10-10 13:40:50 +00:00
|
|
|
* Thu Oct 10 2019 Nick Clifton <nickc@redhat.com> - 8.84-1
|
|
|
|
- Generate FAIL results if -Wall or -Wformat-security are missing.
|
|
|
|
|
2019-10-04 06:59:55 +00:00
|
|
|
* Thu Oct 03 2019 Nick Clifton <nickc@redhat.com> - 8.83-1
|
|
|
|
- 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.
|
|
|
|
|
2019-09-23 12:39:55 +00:00
|
|
|
* Mon Sep 23 2019 Nick Clifton <nickc@redhat.com> - 8.81-1
|
|
|
|
- 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.
|
|
|
|
|
2019-09-04 07:30:12 +00:00
|
|
|
* Wed Sep 04 2019 Nick Clifton <nickc@redhat.com> - 8.79-2
|
|
|
|
- NVR bump to allow rebuild against latest gcc. (#1748529)
|
|
|
|
|
2019-08-19 09:45:35 +00:00
|
|
|
* Tue Aug 06 2019 Nick Clifton <nickc@redhat.com> - 8.79-1
|
|
|
|
- Allow compiler used to run tests to be specified on the command line. (#1723401)
|
|
|
|
|
2019-08-06 14:42:50 +00:00
|
|
|
* Tue Aug 06 2019 Nick Clifton <nickc@redhat.com> - 8.78-1
|
|
|
|
- Fix a memory allocation error in the annobin plugin. (#1737306)
|
|
|
|
|
2019-07-24 17:55:36 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.77-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-06-24 13:22:11 +00:00
|
|
|
* Mon Jun 24 2019 Nick Clifton <nickc@redhat.com> - 8.77-1
|
|
|
|
- Another attempt at fixing the detection and reporting of missing -D_FORTIFY_SOURCE options. (#1703500)
|
|
|
|
|
2019-06-10 22:13:17 +00:00
|
|
|
* Mon Jun 10 22:13:17 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 8.76-4
|
|
|
|
- Rebuild for RPM 4.15
|
|
|
|
|
2019-06-10 15:42:00 +00:00
|
|
|
* Mon Jun 10 15:42:00 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 8.76-3
|
|
|
|
- Rebuild for RPM 4.15
|
|
|
|
|
2019-06-06 08:06:43 +00:00
|
|
|
* Thu Jun 06 2019 Panu Matilainen <pmatilai@redhat.com> - 8.76-2
|
|
|
|
- Really enable annocheck sub-package
|
|
|
|
|
2019-04-30 14:48:33 +00:00
|
|
|
* Tue Apr 30 2019 Nick Clifton <nickc@redhat.com> - 8.76-1
|
|
|
|
- Report a missing -D_FORTIFY_SOUCRE option if -D_GLIBCXX_ASSERTIONS was detected. (#1703499)
|
|
|
|
- Do not report problems with -fstack-protection if the binary was not built by gcc or clang. (#1703788)
|
|
|
|
|
2019-04-26 12:16:53 +00:00
|
|
|
* Fri Apr 26 2019 Nick Clifton <nickc@redhat.com> - 8.74-1
|
|
|
|
- Add tests of clang command line options recorded in the DW_AT_producer attribute.
|
|
|
|
|
2019-04-24 11:27:15 +00:00
|
|
|
* Wed Apr 24 2019 Nick Clifton <nickc@redhat.com> - 8.73-1
|
|
|
|
- Fix test for an executable stack segment. (#1700924)
|
|
|
|
|
2019-04-18 11:15:30 +00:00
|
|
|
* Thu Apr 18 2019 Nick Clifton <nickc@redhat.com> - 8.72-1
|
|
|
|
- Rebuild annobin with the latest rawhide gcc sources. (#1700923)
|
|
|
|
|
2019-02-28 15:51:40 +00:00
|
|
|
* Thu Feb 28 2019 Nick Clifton <nickc@redhat.com> - 8.71-1
|
|
|
|
- Annobin: Suppress more calls to free() which are triggering memory checker errors. (#1684148)
|
|
|
|
|
2019-02-01 15:23:41 +00:00
|
|
|
* Fri Feb 01 2019 Nick Clifton <nickc@redhat.com> - 8.70-1
|
|
|
|
- Add section flag matching ability to section size tool.
|
|
|
|
|
2019-01-31 13:20:17 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.69-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-01-29 10:26:55 +00:00
|
|
|
* Tue Jan 29 2019 Björn Esser <besser82@fedoraproject.org> - 8.69-6
|
|
|
|
- Use 'with' for rich dependency on gcc
|
|
|
|
|
2019-01-29 10:06:30 +00:00
|
|
|
* Tue Jan 29 2019 Björn Esser <besser82@fedoraproject.org> - 8.69-5
|
|
|
|
- Really fix rhbz#1607430.
|
|
|
|
|
2019-01-28 18:03:52 +00:00
|
|
|
* Mon Jan 28 2019 Björn Esser <besser82@fedoraproject.org> - 8.69-4
|
|
|
|
- Rebuilt with annotations enabled
|
|
|
|
|
2019-01-28 18:00:38 +00:00
|
|
|
* Mon Jan 28 2019 Björn Esser <besser82@fedoraproject.org> - 8.69-3
|
|
|
|
- Fix rpm query for gcc version.
|
|
|
|
|
2019-01-28 16:47:39 +00:00
|
|
|
* Mon Jan 28 2019 Nick Clifton <nickc@redhat.com> - 8.69-2
|
2019-01-28 16:48:37 +00:00
|
|
|
- Add an exact requirement on the major version of gcc. (#1607430)
|
2019-01-28 16:47:39 +00:00
|
|
|
|
2019-01-24 15:47:34 +00:00
|
|
|
* Thu Jan 24 2019 Nick Clifton <nickc@redhat.com> - 8.69-1
|
|
|
|
- Annobin: Add support for .text.startup and .text.exit sections generated by gcc 9.
|
|
|
|
- Annocheck: Add a note displaying tool.
|
|
|
|
|
2019-01-23 13:57:56 +00:00
|
|
|
* Wed Jan 23 2019 Nick Clifton <nickc@redhat.com> - 8.68-1
|
|
|
|
- Annocheck: Skip checks for -D_FORTIFY_SOURCE and -D_GLIBCXX_ASSERTIONS if there is no compiler generated code in the binary.
|
|
|
|
|
2019-01-21 11:03:49 +00:00
|
|
|
* Mon Jan 21 2019 Björn Esser <besser82@fedoraproject.org> - 8.67-3
|
|
|
|
- Rebuilt with annotations enabled
|
|
|
|
|
2019-01-21 10:54:35 +00:00
|
|
|
* Mon Jan 21 2019 Björn Esser <besser82@fedoraproject.org> - 8.67-2
|
|
|
|
- Rebuilt for GCC 9
|
|
|
|
|
2019-01-17 10:18:16 +00:00
|
|
|
* Thu Jan 17 2019 Nick Clifton <nickc@redhat.com> - 8.67-1
|
|
|
|
- Annocheck: Only skip specific checks for specific symbols. (#1666823)
|
|
|
|
- Annobin: Record the setting of the -fomit-frame-pointer option.
|
|
|
|
|
2019-01-02 13:54:48 +00:00
|
|
|
* Wed Jan 02 2019 Nick Clifton <nickc@redhat.com> - 8.66-1
|
|
|
|
- Annocheck: Do not ignore -Og when checking to see if an optimization level has been set. (#1624162)
|
|
|
|
|
2018-12-11 09:59:46 +00:00
|
|
|
* Tue Dec 11 2018 Nick Clifton <nickc@redhat.com> - 8.65-1
|
|
|
|
- Annobin: Fix handling of multiple .text.unlikely sections.
|
|
|
|
|
2018-11-30 16:02:59 +00:00
|
|
|
* Fri Nov 30 2018 Nick Clifton <nickc@redhat.com> - 8.64-1
|
|
|
|
- Annocheck: Skip gaps in PPC64 executables covered by start_bcax_ symbols. (#1630564)
|
|
|
|
|
2018-11-26 15:05:19 +00:00
|
|
|
* Mon Nov 26 2018 Nick Clifton <nickc@redhat.com> - 8.63-1
|
|
|
|
- Annocheck: Disable ENDBR test for shared libraries. (#1652925)
|
|
|
|
|
2018-11-26 14:17:58 +00:00
|
|
|
* Mon Nov 26 2018 Nick Clifton <nickc@redhat.com> - 8.62-1
|
|
|
|
- Annocheck: Add test for ENDBR instruction at entry address of x86/x86_64 executables. (#1652925)
|
|
|
|
|
|
|
|
* Tue Nov 20 2018 David Cantrell <dcantrell@redhat.com> - 8.61-2
|
|
|
|
- Adjust how the gcc_vr macro is set.
|
|
|
|
|
2018-11-19 12:06:27 +00:00
|
|
|
* Mon Nov 19 2018 Nick Clifton <nickc@redhat.com> - 8.61-1
|
|
|
|
- Fix building with gcc version 4.
|
|
|
|
|
2018-11-13 13:20:17 +00:00
|
|
|
* Tue Nov 13 2018 Nick Clifton <nickc@redhat.com> - 8.60-1
|
|
|
|
- Skip -Wl,-z,now and -Wl,-z,relro checks for non-gcc produced binaries. (#1624421)
|
|
|
|
|
2018-11-05 17:08:28 +00:00
|
|
|
* Mon Nov 05 2018 Nick Clifton <nickc@redhat.com> - 8.59-1
|
|
|
|
- Ensure GNU Property notes are 8-byte aligned in x86_64 binaries. (#1645817)
|
|
|
|
|
2018-10-18 14:29:57 +00:00
|
|
|
* Thu Oct 18 2018 Nick Clifton <nickc@redhat.com> - 8.58-1
|
|
|
|
- Skip PPC64 linker stubs created in the middle of text sections (again). (#1630640)
|
|
|
|
|
2018-10-18 12:19:51 +00:00
|
|
|
* Thu Oct 18 2018 Nick Clifton <nickc@redhat.com> - 8.57-1
|
|
|
|
- Suppress free of invalid pointer. (#1638371)
|
|
|
|
|
2018-10-18 11:03:24 +00:00
|
|
|
* Thu Oct 18 2018 Nick Clifton <nickc@redhat.com> - 8.56-1
|
|
|
|
- Skip PPC64 linker stubs created in the middle of text sections. (#1630640)
|
|
|
|
|
2018-10-16 14:37:17 +00:00
|
|
|
* Tue Oct 16 2018 Nick Clifton <nickc@redhat.com> - 8.55-1
|
|
|
|
- Reset the (PPC64) section start symbol to 0 if its section is empty. (#1638251)
|
|
|
|
|
2018-10-11 15:11:08 +00:00
|
|
|
* Thu Oct 11 2018 Nick Clifton <nickc@redhat.com> - 8.53-1
|
|
|
|
- Also skip virtual thinks created by G++. (#1630619)
|
|
|
|
|
2018-10-10 17:14:55 +00:00
|
|
|
* Wed Oct 10 2018 Nick Clifton <nickc@redhat.com> - 8.52-1
|
|
|
|
- Use uppercase for all fail/mayb/pass results. (#1637706)
|
|
|
|
|
2018-10-10 15:50:29 +00:00
|
|
|
* Wed Oct 10 2018 Nick Clifton <nickc@redhat.com> - 8.51-1
|
|
|
|
- Generate notes for unlikely sections. (#1630620)
|
|
|
|
|
2018-10-08 16:13:56 +00:00
|
|
|
* Mon Oct 08 2018 Nick Clifton <nickc@redhat.com> - 8.50-1
|
|
|
|
- Fix edge case computing section names for end symbols. (#1637039)
|
|
|
|
|
2018-10-08 09:42:53 +00:00
|
|
|
* Mon Oct 08 2018 Nick Clifton <nickc@redhat.com> - 8.49-1
|
|
|
|
- Skip dynamic checks for binaries without a dynamic segment. (#1636606)
|
|
|
|
|
2018-10-05 11:22:45 +00:00
|
|
|
* Fri Oct 05 2018 Nick Clifton <nickc@redhat.com> - 8.48-1
|
|
|
|
- Delay generating attach_to_group directives until the end of the compilation. (#1636265)
|
|
|
|
|
|
|
|
* Mon Oct 01 2018 Nick Clifton <nickc@redhat.com> - 8.47-1
|
|
|
|
- Fix bug introduced in previous delta which would trigger a seg-fault when scanning for gaps.
|
|
|
|
|
|
|
|
* Mon Oct 01 2018 Nick Clifton <nickc@redhat.com> - 8.46-1
|
|
|
|
- Annobin: Fix section name selection for startup sections.
|
|
|
|
- Annocheck: Improve gap skipping heuristics. (#1630574)
|
|
|
|
|
2018-10-03 08:37:55 +00:00
|
|
|
* Mon Oct 01 2018 Nick Clifton <nickc@redhat.com> - 8.45-1
|
|
|
|
- Fix function section support (again). (#1630574)
|
|
|
|
|
2018-10-01 09:01:11 +00:00
|
|
|
* Fri Sep 28 2018 Nick Clifton <nickc@redhat.com> - 8.44-1
|
|
|
|
- Skip compiler option checks for non-GNU producers. (#1633749)
|
|
|
|
|
|
|
|
* Wed Sep 26 2018 Nick Clifton <nickc@redhat.com> - 8.43-1
|
|
|
|
- Fix function section support (again). (#1630574)
|
|
|
|
|
|
|
|
* Tue Sep 25 2018 Nick Clifton <nickc@redhat.com> - 8.42-1
|
|
|
|
- Ignore ppc64le notes where start = end + 2. (#1632259)
|
|
|
|
|
2018-09-25 09:17:37 +00:00
|
|
|
* Tue Sep 25 2018 Nick Clifton <nickc@redhat.com> - 8.41-1
|
|
|
|
- Make annocheck ignore symbols suffixed with ".end". (#1639618)
|
|
|
|
|
|
|
|
* Mon Sep 24 2018 Nick Clifton <nickc@redhat.com> - 8.40-1
|
|
|
|
- Reinstate building annobin with annobin enabled. (#1630550)
|
|
|
|
|
2018-09-21 20:34:13 +00:00
|
|
|
* Fri Sep 21 2018 Nick Clifton <nickc@redhat.com> - 8.39-1
|
|
|
|
- Tweak tests.
|
|
|
|
|
2018-09-21 17:43:52 +00:00
|
|
|
* Fri Sep 21 2018 Nick Clifton <nickc@redhat.com> - 8.38-1
|
|
|
|
- Generate notes and groups for .text.hot and .text.unlikely sections.
|
|
|
|
- When -ffunction-sections is active, put notes for startup sections into .text.startup.foo rather than .text.foo.
|
|
|
|
- Similarly put exit section notes into .text.exit.foo. (#1630574)
|
|
|
|
- Change annocheck's maybe result for GNU Property note being missing into a PASS if it is not needed and a FAIL if it is needed.
|
|
|
|
|
2018-09-19 14:43:54 +00:00
|
|
|
* Wed Sep 19 2018 Nick Clifton <nickc@redhat.com> - 8.37-1
|
|
|
|
- Make the --skip-* options skip all messages about the specified test.
|
|
|
|
|
2018-09-18 10:41:21 +00:00
|
|
|
* Tue Sep 18 2018 Nick Clifton <nickc@redhat.com> - 8.36-1
|
|
|
|
- Improve error message when an ET_EXEC binary is detected.
|
|
|
|
|
2018-09-17 13:47:45 +00:00
|
|
|
* Mon Sep 17 2018 Nick Clifton <nickc@redhat.com> - 8.35-1
|
|
|
|
- Skip failures for PIC vs PIE. (#1629698)
|
|
|
|
|
2018-09-17 10:40:50 +00:00
|
|
|
* Mon Sep 17 2018 Nick Clifton <nickc@redhat.com> - 8.34-1
|
|
|
|
- Ensure 4 byte alignment of note sub-sections. (#1629671)
|
|
|
|
|
2018-09-12 13:27:41 +00:00
|
|
|
* Wed Sep 12 2018 Nick Clifton <nickc@redhat.com> - 8.33-1
|
|
|
|
- Add timing tool to report on speed of the checks.
|
|
|
|
- Add check for conflicting use of the -fshort-enum option.
|
|
|
|
- Add check of the GNU Property notes.
|
|
|
|
- Skip check for -O2 if compiled with -Og. (#1624162)
|
|
|
|
|
2018-09-03 15:45:27 +00:00
|
|
|
* Mon Sep 03 2018 Nick Clifton <nickc@redhat.com> - 8.32-1
|
2018-09-12 13:27:41 +00:00
|
|
|
- Add test for ET_EXEC binaries. (#1625627)
|
2018-09-03 15:45:27 +00:00
|
|
|
- Document --report-unknown option.
|
|
|
|
|
2018-08-30 10:59:48 +00:00
|
|
|
* Thu Aug 30 2018 Nick Clifton <nickc@redhat.com> - 8.31-1
|
|
|
|
- Fix bug in hardened tool which would skip gcc compiled files if the notes were too small.
|
|
|
|
- Fix bugs in section-size tool.
|
2018-09-03 15:45:27 +00:00
|
|
|
- Fix bug in built-by tool.
|
2018-08-30 10:59:48 +00:00
|
|
|
|
2018-08-29 10:09:02 +00:00
|
|
|
* Wed Aug 29 2018 Nick Clifton <nickc@redhat.com> - 8.30-1
|
|
|
|
- Generate notes for comdat sections. (#1619267)
|
|
|
|
|
2018-08-23 13:07:31 +00:00
|
|
|
* Thu Aug 23 2018 Nick Clifton <nickc@redhat.com> - 8.29-1
|
|
|
|
- Add more names to the gap skip list. (#1619267)
|
|
|
|
|
2018-08-23 10:33:37 +00:00
|
|
|
* Thu Aug 23 2018 Nick Clifton <nickc@redhat.com> - 8.28-1
|
|
|
|
- Skip gaps covered by _x86.get_pc_thunk and _savegpr symbols. (#1619267)
|
|
|
|
- Merge ranges where one is wholly covered by another.
|
|
|
|
|
2018-08-22 10:50:15 +00:00
|
|
|
* Wed Aug 22 2018 Nick Clifton <nickc@redhat.com> - 8.27-1
|
|
|
|
- Skip gaps at the end of functions. (#1619267)
|
|
|
|
|
2018-08-21 07:58:31 +00:00
|
|
|
* Tue Aug 21 2018 Nick Clifton <nickc@redhat.com> - 8.26-1
|
|
|
|
- Fix thinko in ppc64 gap detection code. (#1619267)
|
|
|
|
|
2018-08-20 13:26:52 +00:00
|
|
|
* Mon Aug 20 2018 Nick Clifton <nickc@redhat.com> - 8.25-1
|
2018-08-21 07:58:31 +00:00
|
|
|
- Skip gaps at the end of the .text section in ppc64 binaries. (#1619267)
|
2018-08-20 13:26:52 +00:00
|
|
|
|
2018-08-15 08:51:54 +00:00
|
|
|
* Wed Aug 15 2018 Nick Clifton <nickc@redhat.com> - 8.24-1
|
|
|
|
- Skip checks in stack_chk_local_fail.c
|
|
|
|
- Treat gaps as FAIL results rather than MAYBE.
|
|
|
|
|
2018-08-08 12:43:37 +00:00
|
|
|
* Wed Aug 08 2018 Nick Clifton <nickc@redhat.com> - 8.23-1
|
|
|
|
- Skip checks in __stack_chk_local_fail.
|
|
|
|
|
2018-08-08 08:30:17 +00:00
|
|
|
* Wed Aug 08 2018 Nick Clifton <nickc@redhat.com> - 8.22-1
|
|
|
|
- Reduce version check to gcc major version number only. Skip compiler option checks if binary not built with gcc. (#1603089)
|
|
|
|
|
2018-08-07 14:21:37 +00:00
|
|
|
* Tue Aug 07 2018 Nick Clifton <nickc@redhat.com> - 8.21-1
|
|
|
|
- Fix bug in annobin plugin. Add --section-size=NAME option to annocheck.
|
|
|
|
|
2018-08-02 13:01:05 +00:00
|
|
|
* Thu Aug 2 2018 Peter Robinson <pbrobinson@fedoraproject.org> 8.20-2
|
|
|
|
- rebuild for new gcc
|
|
|
|
|
2018-08-02 08:51:33 +00:00
|
|
|
* Thu Aug 02 2018 Nick Clifton <nickc@redhat.com> - 8.20-1
|
|
|
|
- Correct name of man page for run-on-binaries-in script. (#1611155)
|
|
|
|
|
2018-07-25 10:25:11 +00:00
|
|
|
* Wed Jul 25 2018 Nick Clifton <nickc@redhat.com> - 8.19-1
|
2018-11-13 13:20:17 +00:00
|
|
|
- Allow $ORIGIN to be at the start of entries in DT_RPATH and DT_RUNPATH.
|
2018-07-25 10:25:11 +00:00
|
|
|
|
|
|
|
* Mon Jul 23 2018 Nick Clifton <nickc@redhat.com> - 8.18-1
|
|
|
|
- Add support for big endian targets.
|
|
|
|
|
2018-07-23 15:23:55 +00:00
|
|
|
* Mon Jul 23 2018 Nick Clifton <nickc@redhat.com> - 8.17-1
|
|
|
|
- Count passes and failures on a per-component basis and report gaps.
|
|
|
|
|
2018-07-20 11:57:43 +00:00
|
|
|
* Fri Jul 20 2018 Nick Clifton <nickc@redhat.com> - 8.16-1
|
|
|
|
- Use our own copy of the targetm.asm_out.function_section() function. (#159861 comment#17)
|
|
|
|
|
|
|
|
* Fri Jul 20 2018 Nick Clifton <nickc@redhat.com> - 8.15-1
|
2018-07-20 09:50:18 +00:00
|
|
|
- Generate grouped note section name all the time. (#159861 comment#16)
|
|
|
|
|
2018-07-19 11:25:41 +00:00
|
|
|
* Thu Jul 19 2018 Nick Clifton <nickc@redhat.com> - 8.14-1
|
|
|
|
- Fix section conflict problem. (#1603071)
|
|
|
|
|
2018-07-18 14:24:48 +00:00
|
|
|
* Wed Jul 18 2018 Nick Clifton <nickc@redhat.com> - 8.13-1
|
|
|
|
- Fix for building with gcc version 4.
|
|
|
|
- Fix symbol placement in functions with local assembler.
|
|
|
|
|
2018-07-17 17:06:21 +00:00
|
|
|
* Tue Jul 17 2018 Nick Clifton <nickc@redhat.com> - 8.12-1
|
2018-11-13 13:20:17 +00:00
|
|
|
- Fix assertions in range checking code. Add detection of -U options.
|
2018-07-17 17:06:21 +00:00
|
|
|
|
2018-07-17 15:04:01 +00:00
|
|
|
* Tue Jul 17 2018 Nick Clifton <nickc@redhat.com> - 8.11-1
|
|
|
|
- Handle function sections properly. Handle .text.startup and .text.unlikely sections. Improve gap detection and reporting. (#1601055)
|
|
|
|
|
2018-07-12 20:14:26 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8.10-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-12 09:08:04 +00:00
|
|
|
* Thu Jul 12 2018 Nick Clifton <nickc@redhat.com> - 8.10-1
|
|
|
|
- Fix construction of absolute versions of --dwarf-dir and --debug-rpm options.
|
|
|
|
|
2018-07-11 08:27:49 +00:00
|
|
|
* Tue Jul 10 2018 Nick Clifton <nickc@redhat.com> - 8.9-1
|
|
|
|
- Fix buffer overrun when very long symbol names are encountered.
|
|
|
|
|
2018-07-10 09:12:15 +00:00
|
|
|
* Tue Jul 10 2018 Nick Clifton <nickc@redhat.com> - 8.8-1
|
|
|
|
- Do not force the generation of function notes when -ffunction-sections is active. (#1598961)
|
|
|
|
|
2018-07-09 16:23:41 +00:00
|
|
|
* Mon Jul 09 2018 Nick Clifton <nickc@redhat.com> - 8.7-1
|
|
|
|
- Skip the .annobin_ prfix when reporting symbols. (#1599315)
|
|
|
|
|
2018-07-09 11:42:06 +00:00
|
|
|
* Mon Jul 09 2018 Nick Clifton <nickc@redhat.com> - 8.6-1
|
|
|
|
- Use the assembler (c++ mangled) version of function names when switching sections. (#1598579)
|
|
|
|
|
2018-07-09 11:22:24 +00:00
|
|
|
* Mon Jul 09 2018 Nick Clifton <nickc@redhat.com> - 8.5-1
|
|
|
|
- Do not call function_section. (#1598961)
|
|
|
|
|
2018-07-06 11:23:12 +00:00
|
|
|
* Fri Jul 06 2018 Nick Clifton <nickc@redhat.com> - 8.4-1
|
|
|
|
- Ignore cross-section gaps. (#1598551)
|
|
|
|
|
2018-07-05 09:53:33 +00:00
|
|
|
* Thu Jul 05 2018 Nick Clifton <nickc@redhat.com> - 8.3-1
|
2018-07-12 09:08:04 +00:00
|
|
|
- Do not skip empty range notes in object files. (#1598361)
|
2018-07-05 09:53:33 +00:00
|
|
|
|
2018-07-02 13:20:53 +00:00
|
|
|
* Mon Jul 02 2018 Nick Clifton <nickc@redhat.com> - 8.2-1
|
|
|
|
- Create the start symbol at the start of the function and the end symbol at the end. (#1596823)
|
|
|
|
|
2018-07-02 10:58:23 +00:00
|
|
|
* Mon Jul 02 2018 Nick Clifton <nickc@redhat.com> - 8.1-1
|
|
|
|
- Fix --debug-rpm when used inside a directory.
|
|
|
|
|
2018-06-28 12:20:24 +00:00
|
|
|
* Thu Jun 28 2018 Nick Clifton <nickc@redhat.com> - 8.0-1
|
|
|
|
- Use a prefix for all annobin generated symbols, and make them hidden.
|
|
|
|
- Only generate weak symbol definitions for linkonce sections.
|
|
|
|
|
2018-06-27 13:55:35 +00:00
|
|
|
* Wed Jun 27 2018 Nick Clifton <nickc@redhat.com> - 7.1-1
|
|
|
|
- Skip some checks for relocatable object files, and dynamic objects.
|
|
|
|
- Stop bogus complaints about stackrealignment not being enabled.
|
|
|
|
|
2018-06-25 15:38:03 +00:00
|
|
|
* Mon Jun 25 2018 Nick Clifton <nickc@redhat.com> - 7.0-1
|
|
|
|
- Add -debug-rpm= option to annocheck.
|
|
|
|
- Only use a 2 byte offset for the initial symbol on PowerPC.
|
|
|
|
|
2018-06-22 14:35:18 +00:00
|
|
|
* Fri Jun 22 2018 Nick Clifton <nickc@redhat.com> - 6.6-1
|
|
|
|
- Use --dwarf-path when looking for build-id based debuginfo files.
|
|
|
|
|
2018-06-22 10:15:40 +00:00
|
|
|
* Fri Jun 22 2018 Nick Clifton <nickc@redhat.com> - 6.5-1
|
|
|
|
- Fix premature closing of dwarf handle.
|
|
|
|
|
2018-06-22 09:46:17 +00:00
|
|
|
* Fri Jun 22 2018 Nick Clifton <nickc@redhat.com> - 6.4-1
|
|
|
|
- Fix scoping bug computing the name of a separate debuginfo file.
|
|
|
|
|
2018-06-19 14:42:03 +00:00
|
|
|
* Tue Jun 19 2018 Nick Clifton <nickc@redhat.com> - 6.3-1
|
|
|
|
- Fix file descriptor leak.
|
|
|
|
|
2018-06-19 13:49:31 +00:00
|
|
|
* Tue Jun 19 2018 Nick Clifton <nickc@redhat.com> - 6.2-1
|
|
|
|
- Add command line options to annocheck to disable individual tests.
|
|
|
|
|
2018-06-08 10:36:47 +00:00
|
|
|
* Fri Jun 08 2018 Nick Clifton <nickc@redhat.com> - 6.1-1
|
|
|
|
- Remove C99-ism from annocheck sources.
|
|
|
|
|
2018-06-06 16:25:49 +00:00
|
|
|
* Wed Jun 06 2018 Nick Clifton <nickc@redhat.com> - 6.0-1
|
|
|
|
- Add the annocheck program.
|
|
|
|
|
2018-06-01 14:08:25 +00:00
|
|
|
* Fri Jun 01 2018 Nick Clifton <nickc@redhat.com> - 5.11-1
|
|
|
|
- Do not use the SHF_GNU_BUILD_NOTE section flag.
|
|
|
|
|
2018-05-31 15:10:11 +00:00
|
|
|
* Thu May 31 2018 Nick Clifton <nickc@redhat.com> - 5.10-1
|
|
|
|
- Remove .sh extension from shell scripts.
|
|
|
|
|
2018-05-30 11:08:39 +00:00
|
|
|
* Wed May 30 2018 Nick Clifton <nickc@redhat.com> - 5.9-1
|
|
|
|
- Record the setting of the -mstackrealign option for i686 binaries.
|
|
|
|
|
2018-05-14 16:28:20 +00:00
|
|
|
* Mon May 14 2018 Nick Clifton <nickc@redhat.com> - 5.8-1
|
|
|
|
- Hide the annobin start of file symbol.
|
|
|
|
|
2018-05-08 12:29:58 +00:00
|
|
|
* Tue May 08 2018 Nick Clifton <nickc@redhat.com> - 5.7-1
|
|
|
|
- Fix script bug in hardended.sh. (Thanks to: Stefan Sørensen <stefan.sorensen@spectralink.com>)
|
|
|
|
|
2018-05-03 11:56:54 +00:00
|
|
|
* Thu May 03 2018 Nick Clifton <nickc@redhat.com> - 5.6-3
|
|
|
|
- Version number bump so that the plugin can be rebuilt with the latest version of GCC.
|
|
|
|
|
2018-04-30 15:33:05 +00:00
|
|
|
* Mon Apr 30 2018 Nick Clifton <nickc@redhat.com> - 5.6-2
|
|
|
|
- Rebuild the plugin with the newly created plugin enabled. (#1573082)
|
|
|
|
|
2018-04-30 09:30:15 +00:00
|
|
|
* Mon Apr 30 2018 Nick Clifton <nickc@redhat.com> - 5.6-1
|
|
|
|
- Skip the isa_flags check in the ABI test because the crt[in].o files are compiled with different flags from the test files.
|
|
|
|
|
2018-04-20 15:52:49 +00:00
|
|
|
* Fri Apr 20 2018 Nick Clifton <nickc@redhat.com> - 5.3-1
|
|
|
|
- Add manual pages for annobin and the scripts.
|
|
|
|
|
2018-04-03 15:16:48 +00:00
|
|
|
* Tue Apr 03 2018 Nick Clifton <nickc@redhat.com> - 5.2-1
|
|
|
|
- Do not record a stack protection setting of -1. (#1563141)
|
|
|
|
|
2018-03-20 11:33:13 +00:00
|
|
|
* Tue Mar 20 2018 Nick Clifton <nickc@redhat.com> - 5.1-1
|
|
|
|
- Do not complain about a dwarf_version value of -1. (#1557511)
|
|
|
|
|
2018-03-15 17:10:38 +00:00
|
|
|
* Thu Mar 15 2018 Nick Clifton <nickc@redhat.com> - 5.0-1
|
|
|
|
- Bias file start symbols by 2 in order to avoid them confused with function symbols. (#1554332)
|
|
|
|
- Version jump is to sync the version number with the annobin plugins internal version number.
|
|
|
|
|
2018-03-12 12:55:40 +00:00
|
|
|
* Mon Mar 12 2018 Nick Clifton <nickc@redhat.com> - 3.6-1
|
|
|
|
- Add --ignore-gaps option to check-abi.sh script.
|
|
|
|
- Use this option in the abi-test check.
|
|
|
|
- Tweak hardening test to skip pic and stack protection checks.
|
|
|
|
|
2018-03-06 11:22:26 +00:00
|
|
|
* Tue Mar 06 2018 Nick Clifton <nickc@redhat.com> - 3.5-1
|
|
|
|
- Handle functions with specific assembler names. (#1552018)
|
|
|
|
|
2018-02-23 10:34:14 +00:00
|
|
|
* Fri Feb 23 2018 Nick Clifton <nickc@redhat.com> - 3.4-2
|
|
|
|
- Add an explicit requirement on the version of gcc used to built the plugin. (#1547260)
|
|
|
|
|
2018-02-09 09:00:08 +00:00
|
|
|
* Fri Feb 09 2018 Nick Clifton <nickc@redhat.com> - 3.4-1
|
|
|
|
- Change type and size of symbols to STT_NOTYPE/0 so that they do not confuse GDB. (#1539664)
|
|
|
|
- Add run-on-binaries-in.sh script to allow the other scripts to be run over a repository.
|
|
|
|
|
2018-02-07 02:18:06 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-30 16:33:00 +00:00
|
|
|
* Tue Jan 30 2018 Nick Clifton <nickc@redhat.com> - 3.3-1
|
|
|
|
- Rebase on 3.3 release, which adds support for recording -mcet and -fcf-protection.
|
|
|
|
|
2018-01-29 13:03:52 +00:00
|
|
|
* Mon Jan 29 2018 Florian Weimer <fweimer@redhat.com> - 3.2-3
|
|
|
|
- Rebuild for GCC 8
|
|
|
|
|
2018-01-26 16:17:03 +00:00
|
|
|
* Fri Jan 26 2018 Nick Clifton <nickc@redhat.com> - 3.2-2
|
|
|
|
- Fix the installation of the annobin.info file.
|
|
|
|
|
2018-01-26 12:33:58 +00:00
|
|
|
* Fri Jan 26 2018 Nick Clifton <nickc@redhat.com> - 3.2-1
|
|
|
|
- Rebase on 3.2 release, which now contains documentation!
|
|
|
|
|
2018-01-26 09:45:52 +00:00
|
|
|
* Fri Jan 26 2018 Richard W.M. Jones <rjones@redhat.com> - 3.1-3
|
|
|
|
- Rebuild against GCC 7.3.1.
|
|
|
|
|
2018-01-16 17:48:21 +00:00
|
|
|
* Tue Jan 16 2018 Nick Clifton <nickc@redhat.com> - 3.1-2
|
|
|
|
- Add --with-gcc-plugin-dir option to the configure command line.
|
|
|
|
|
2018-01-04 10:05:29 +00:00
|
|
|
* Thu Jan 04 2018 Nick Clifton <nickc@redhat.com> - 3.1-1
|
|
|
|
- Rebase on version 3.1 sources.
|
|
|
|
|
2017-12-11 10:36:08 +00:00
|
|
|
* Mon Dec 11 2017 Nick Clifton <nickc@redhat.com> - 2.5.1-5
|
|
|
|
- Do not generate notes when there is no output file. (#1523875)
|
|
|
|
|
|
|
|
* Fri Dec 08 2017 Nick Clifton <nickc@redhat.com> - 2.5.1-4
|
2017-12-08 11:11:14 +00:00
|
|
|
- Invent an input filename when reading from a pipe. (#1523401)
|
|
|
|
|
2017-11-30 17:53:24 +00:00
|
|
|
* Thu Nov 30 2017 Florian Weimer <fweimer@redhat.com> - 2.5.1-3
|
|
|
|
- Use DECL_ASSEMBLER_NAME for symbol references (#1519165)
|
|
|
|
|
2017-10-03 13:48:47 +00:00
|
|
|
* Tue Oct 03 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.5.1-2
|
|
|
|
- Cleanups in spec
|
|
|
|
|
2017-10-03 13:49:30 +00:00
|
|
|
* Tue Sep 26 2017 Nick Clifton <nickc@redhat.com> - 2.5.1-1
|
2017-09-26 12:59:20 +00:00
|
|
|
- Touch the auto-generated files in order to stop them from being regenerated.
|
|
|
|
|
2017-10-03 13:49:30 +00:00
|
|
|
* Tue Sep 26 2017 Nick Clifton <nickc@redhat.com> - 2.5-2
|
2017-09-26 11:33:04 +00:00
|
|
|
- Stop the plugin complaining about compiler datestamp mismatches.
|
|
|
|
|
2017-10-03 13:49:30 +00:00
|
|
|
* Thu Sep 21 2017 Nick Clifton <nickc@redhat.com> - 2.4-1
|
2017-09-21 13:31:48 +00:00
|
|
|
- Tweak tests so that they will run on older machines.
|
|
|
|
|
2017-10-03 13:49:30 +00:00
|
|
|
* Thu Sep 21 2017 Nick Clifton <nickc@redhat.com> - 2.3-1
|
2017-09-21 12:39:01 +00:00
|
|
|
- Add annobin-tests subpackage containing some preliminary tests.
|
2018-11-13 13:20:17 +00:00
|
|
|
- Remove link-time test for unsupported targets.
|
2017-09-21 12:39:01 +00:00
|
|
|
|
2017-08-02 17:35:45 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-31 06:34:29 +00:00
|
|
|
* Mon Jul 31 2017 Florian Weimer <fweimer@redhat.com> - 2.0-2
|
|
|
|
- Rebuild with binutils fix for ppc64le (#1475636)
|
|
|
|
|
2017-10-03 13:49:30 +00:00
|
|
|
* Wed Jun 28 2017 Nick Clifton <nickc@redhat.com> - 2.0-1
|
2017-07-27 13:58:31 +00:00
|
|
|
- Fixes for problems reported by the package submission review:
|
|
|
|
* Add %%license entry to %%file section.
|
|
|
|
* Update License and BuildRequires tags.
|
|
|
|
* Add Requires tag.
|
|
|
|
* Remove %%clean.
|
|
|
|
* Add %%check.
|
|
|
|
* Clean up the %%changelog.
|
|
|
|
- Update to use version 2 of the specification and sources.
|
|
|
|
|
2017-10-03 13:49:30 +00:00
|
|
|
* Thu May 11 2017 Nick Clifton <nickc@redhat.com> - 1.0-1
|
2017-07-27 13:58:31 +00:00
|
|
|
- Initial submission.
|