diff --git a/.annobin.metadata b/.annobin.metadata index f5b29d2..c07422a 100644 --- a/.annobin.metadata +++ b/.annobin.metadata @@ -1 +1 @@ -2540d158154efa946eb5f091c2865b526063f89a SOURCES/annobin-12.55.tar.xz +e2baf11dc6d4e5ea8745f810e1ea82586e621a80 SOURCES/annobin-12.72.tar.xz diff --git a/.gitignore b/.gitignore index 8db1d9b..8b69f67 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/annobin-12.55.tar.xz +SOURCES/annobin-12.72.tar.xz diff --git a/SOURCES/annobin-gcc-plugin-input-filename.patch b/SOURCES/annobin-gcc-plugin-input-filename.patch new file mode 100644 index 0000000..f799e07 --- /dev/null +++ b/SOURCES/annobin-gcc-plugin-input-filename.patch @@ -0,0 +1,21 @@ +--- annobin.orig/gcc-plugin/annobin.cc 2024-11-04 10:17:09.628685926 +0000 ++++ annobin-12.72/gcc-plugin/annobin.cc 2024-11-04 10:18:01.542935615 +0000 +@@ -540,7 +540,17 @@ annobin_gen_string_note (annobin_functio + + if (use_extended_string) + { +- size_t len = strlen (annobin_note_buffer) + 1 + strlen (annobin_input_filename); ++ // For some reason this is happening with RHEL-10 builds. ++ if (annobin_input_filename == NULL) ++ { ++ if (!init_annobin_input_filename ()) ++ { ++ ice ("annobin_gen_string_note called without an input filename\n"); ++ return; ++ } ++ } ++ ++ size_t len = strlen (dst) + 1 + strlen (annobin_input_filename); + + if (! is_global (info)) + len += strlen (get_func_name (info)) + 1; diff --git a/SPECS/annobin.spec b/SPECS/annobin.spec index 654b521..15c90ab 100644 --- a/SPECS/annobin.spec +++ b/SPECS/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.55 -Release: 3%{?dist} +Version: 12.72 +Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -73,6 +73,7 @@ Source: https://nickc.fedorapeople.org/%{annobin_sources} # Insert patches here, if needed. Eg: # Patch01: annobin-plugin-default-string-notes.patch +Patch01: annobin-gcc-plugin-input-filename.patch #--------------------------------------------------------------------------------- @@ -532,6 +533,27 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Nov 01 2024 Nick Clifton - 12.72-1 +- Annocheck: Skip FORTIFY and GLIBC_ASSERTIONS tests for LLVM produced binaries with unparseable DW_AT_producer attributes in their DWARF debug info. (RHEL-65411) +- GCC Plugin: Change type of the .annobin.notes section from SHT_STRTAB to SHT_PROGBITS. +- Clang & LLVM Plugins: Include install directory in binary. (RHEL-54069) +- BuiltBy: Fix seg-fault when comparing language version strings. (RHEL-53497) +- Annocheck: Stop spurious assembler warnings. (RHEL-53213) +- Annocheck: Stop warnings about known gaps. (RHEL-53218) +- Annocheck: Fix stack realign test. (#2302427) +- Annocheck: Fix recording arguments for later re-use. (RHEL-50802) +- GCC Plugin: Fix building AArch64 components with gcc earlier than 11.3. +- Annocheck: Add improvements to the builtby utility. +- Annocheck: Add support for ADA binaries. +- Annocheck: Add support for binaries built from more than two high level source languages. +- Annocheck: Add support for object files containing no executable code. +- Annocheck: Do not FAIL LLVM compiled binaries that have not been built with sanitize-cfi and/or sanitize-safe-stack. +- Annocheck: Add support for Fortran binaries. +- Annocheck: Add heuristic for detecting parts of the CGO runtime library. +- Annocheck: Add improvements for handling Clang runtime binaries. +- Annocheck: Add tweaks for mixed Rust/C binaries. (#2284605) +- Annocheck: Add more glibc source file names. + * Tue Oct 29 2024 Troy Dawson - 12.55-3 - Bump release for October 2024 mass rebuild: Resolves: RHEL-64018