Compare commits

..

No commits in common. "c9-beta" and "c8s" have entirely different histories.
c9-beta ... c8s

7 changed files with 50 additions and 57 deletions

View File

@ -1 +0,0 @@
b0926901d5fc2e76b48a923cafc2fc06e59219c5 SOURCES/annobin-12.92.tar.xz

9
.gitignore vendored
View File

@ -1 +1,8 @@
SOURCES/annobin-12.92.tar.xz /annobin-12.09.tar.xz
/annobin-12.10.tar.xz
/annobin-12.14.tar.xz
/annobin-12.17.tar.xz
/annobin-12.20.tar.xz
/annobin-12.32.tar.xz
/annobin-12.65.tar.xz
/annobin-12.69.tar.xz

11
annobin-nop.patch Normal file
View File

@ -0,0 +1,11 @@
--- annobin.orig/gcc-plugin/annobin.cc 2023-04-28 09:58:05.487156290 +0100
+++ annobin-12.09/gcc-plugin/annobin.cc 2023-04-28 09:58:36.434248542 +0100
@@ -2104,7 +2104,7 @@ annobin_emit_start_sym_and_version_note
Ensure that we do not have empty special text sections so that the
annobin start symbols are never beyond the end of the sections. */
#ifndef ANNOBIN_NOP_INSN
-#define ANNOBIN_NOP_INSN ".nop"
+#define ANNOBIN_NOP_INSN "nop"
#endif
if (* suffix && enable_ppc64_nops)
annobin_emit_asm (ANNOBIN_NOP_INSN,

View File

@ -1,6 +1,6 @@
--- annobin.orig/gcc-plugin/annobin.cc 2024-07-22 14:02:09.227059334 +0100 --- annobin.orig/gcc-plugin/annobin.cc 2024-08-01 15:11:39.354764926 +0100
+++ annobin-12.52/gcc-plugin/annobin.cc 2024-07-22 14:03:38.516398800 +0100 +++ annobin-12.65/gcc-plugin/annobin.cc 2024-08-01 15:12:52.266046180 +0100
@@ -3300,7 +3300,7 @@ plugin_init (struct plugin_name_args * @@ -3311,7 +3311,7 @@ plugin_init (struct plugin_name_args *
versions that are needed. (Note - 2.35.2, as used by RHEL-9, is insufficient). versions that are needed. (Note - 2.35.2, as used by RHEL-9, is insufficient).
See BZ 2016458 for an example of where this solution is needed. */ See BZ 2016458 for an example of where this solution is needed. */
#if GCCPLUGIN_VERSION_MAJOR >= 12 #if GCCPLUGIN_VERSION_MAJOR >= 12

View File

@ -8,7 +8,7 @@ BuildRequires: scl-utils-build
Name: %{?scl_prefix}annobin Name: %{?scl_prefix}annobin
Summary: Annotate and examine compiled binary files Summary: Annotate and examine compiled binary files
Version: 12.92 Version: 12.69
Release: 1%{?dist} Release: 1%{?dist}
License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later
URL: https://sourceware.org/annobin/ URL: https://sourceware.org/annobin/
@ -71,8 +71,8 @@ Source: https://nickc.fedorapeople.org/%{annobin_sources}
# For the latest sources use: git clone git://sourceware.org/git/annobin.git # For the latest sources use: git clone git://sourceware.org/git/annobin.git
# Insert patches here, if needed. # Insert patches here, if needed.
Patch01: annobin-tmp-default-to-using-group-attach.patch Patch01: annobin-nop.patch
# Patch02: annobin-tmp-skip-libannocheck-test.patch Patch02: annobin-tmp-default-to-using-group-attach.patch
# This is where a copy of the sources will be installed. # This is where a copy of the sources will be installed.
%global annobin_source_dir %{?_scl_root}/%{_usrsrc}/annobin %global annobin_source_dir %{?_scl_root}/%{_usrsrc}/annobin
@ -443,13 +443,13 @@ rm %{_tmppath}/tmp_annobin.so
%if %{with clangplugin} %if %{with clangplugin}
cp clang-plugin/annobin-for-clang.so %{_tmppath}/tmp_annobin.so cp clang-plugin/annobin-for-clang.so %{_tmppath}/tmp_annobin.so
# To enable verbose more in the plugin append the following: ANNOBIN="verbose" # To enable verbose more in the plugin append the following: ANNOBIN="verbose"
make -C clang-plugin clean all CLANG_TARGET_OPTIONS="$CLANG_TARGET_OPTIONS $BUILD_FLAGS" PLUGIN_INSTALL_DIR=%{buildroot}/%{llvm_plugin_dir} make -C clang-plugin clean all CLANG_TARGET_OPTIONS="$CLANG_TARGET_OPTIONS $BUILD_FLAGS"
%endif %endif
%if %{with llvmplugin} %if %{with llvmplugin}
cp llvm-plugin/annobin-for-llvm.so %{_tmppath}/tmp_annobin.so cp llvm-plugin/annobin-for-llvm.so %{_tmppath}/tmp_annobin.so
# To enable verbose more in the plugin append the following: ANNOBIN_VERBOSE="true" # To enable verbose more in the plugin append the following: ANNOBIN_VERBOSE="true"
make -C llvm-plugin clean all CLANG_TARGET_OPTIONS="$CLANG_TARGET_OPTIONS $BUILD_FLAGS" PLUGIN_INSTALL_DIR=%{buildroot}/%{llvm_plugin_dir} make -C llvm-plugin clean all CLANG_TARGET_OPTIONS="$CLANG_TARGET_OPTIONS $BUILD_FLAGS"
%endif %endif
# endif for %%if {with_plugin_rebuild} # endif for %%if {with_plugin_rebuild}
@ -574,45 +574,15 @@ make check GCC=%gcc_for_annobin
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
%changelog %changelog
* Tue Feb 18 2025 Nick Clifton <nickc@redhat.com> - 12.92-1
- Rebase to bring in improvements for locating string notes. (RHEL-79807)
- Annocheck: Do not rely upon libelf's ability to detect links to separate debuginfo files. (RHEL-79264)
- Annocheck: Fix resource leak. (RHEL-79253)
- Annocheck: Fix double free. Add special handling for COMBOOT modules.
- Annocheck: Improve diagnostics when a separate debug info file cannot be found.
- Annocheck: Look for -fstack-clash-protection in DW_AT_producer string. (RHEL-77328)
- Annocheck: Fix locating string notes (again). Add exception for glibc benchmark tests. (RHEL-76456)
- Annocheck: Add crtoffloadtableS.o to list of known gcc binaries. (RHEL-760404)
- Annocheck: Fix the --debug-dir option.
- Annocheck: Fix corrupt warning message when unable to locate separate debug info files.
- Annocheck: Remove spurious debugging messages.
- Annocheck: Always look for annobin notes in separate debug info files. (RHEL-75778)
- Annocheck: Support multiple --debug-rpm and --debug-file options. (RHEL-73349)
- Annocheck: Add support for sys-root'ed glibc packages. (RHEL-71296)
- GCC Plugin: Tidy up use of gcc's diagnoatic headers. (#32429)
- Testsuite: Use configured compiler when running tests.
- GCC Plugin: Fix building with gcc 15. (#32429)
- Annocheck: Fix overly long debug messages.
- Annocheck: Rename rwx-seg test to load-segments. Add more checks. Add check for gaps as a future fail.
- Annocheck: Add --no-allow-excpetions to disable exceptions for known special binaries.
- Annocheck: Add --enable-future to enable future fail components in normal tests.
- Annocheck: Fix bug preventing the inclusion of the rpm name in reports.
- Annocheck: Add more exceptions for gcc binaries. (RHEL-33365)
- Annocheck: Add --skip-passes option.
- Annocheck: Add exceptions for gcc binaries. (RHEL-33365)
- Annocheck: Skip property note test for i386 binaries created by LLVM. (#2323797)
- 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.
* Tue Aug 13 2024 Nick Clifton <nickc@redhat.com> - 12.70-1
- Clang & LLVM Plugins: Include install directory in binary. (RHEL-54069)
* Mon Aug 12 2024 Nick Clifton <nickc@redhat.com> - 12.69-1 * Mon Aug 12 2024 Nick Clifton <nickc@redhat.com> - 12.69-1
- BuiltBy: Fix seg-fault when comparing language version strings. (RHEL-53497) - BuiltBy: Fix seg-fault when comparing language version strings. (RHEL-53497)
- Spec File: Use correct names for the symlinks. (RHEL-53574) - Spec File: Use correct names for the symlinks. (RHEL-53572)
* Fri Aug 09 2024 Nick Clifton <nickc@redhat.com> - 12.65-3 * Fri Aug 09 2024 Nick Clifton <nickc@redhat.com> - 12.65-3
- Spec File: Use correct names for the symlinks. (RHEL-53574) - Spec File: Use correct names for the symlinks. (RHEL-53572)
* Thu Aug 01 2024 Nick Clifton <nickc@redhat.com> - 12.65-2
- Spec File: Rebase annobin-tmp-default-to-using-group-attach.patch.
* Tue Jul 30 2024 Nick Clifton <nickc@redhat.com> - 12.65-1 * Tue Jul 30 2024 Nick Clifton <nickc@redhat.com> - 12.65-1
- Rebase to 12.65. (RHEL-51018) - Rebase to 12.65. (RHEL-51018)
@ -633,8 +603,8 @@ make check GCC=%gcc_for_annobin
- Annocheck: Defer passing the branch protection test until all notes have been checked. - Annocheck: Defer passing the branch protection test until all notes have been checked.
- GCC Plugin: Add extra code for detecting the branch protection setting. (RHEL-35958) - GCC Plugin: Add extra code for detecting the branch protection setting. (RHEL-35958)
* Mon Jul 22 2024 Nick Clifton <nickc@redhat.com> - 12.52-1 * Mon Jul 29 2024 Nick Clifton <nickc@redhat.com> - 12.52-1
- Rebuild with LLVM 18. (RHEL-49954) - Rebuild with LLVM 18. (RHEL-50803)
- Rebase to 12.52 in order to bring in fixes for LLVM 18. - Rebase to 12.52 in order to bring in fixes for LLVM 18.
* Tue Nov 28 2023 Nick Clifton <nickc@redhat.com> - 12.32-2 * Tue Nov 28 2023 Nick Clifton <nickc@redhat.com> - 12.32-2
@ -659,15 +629,13 @@ make check GCC=%gcc_for_annobin
* Mon Jul 17 2023 Nick Clifton <nickc@redhat.com> - 12.20-1 * Mon Jul 17 2023 Nick Clifton <nickc@redhat.com> - 12.20-1
- Annocheck: Ignore AArch64 $x and $d symbols. (#2221192) - Annocheck: Ignore AArch64 $x and $d symbols. (#2221192)
- GCC Plugin: Suppress active checks for fortran sources. Improve scanning of COLLECT_GCC_OPTIONS. - GCC Plugin: Suppress active checks for fortran sources. Improve scanning of COLLECT_GCC_OPTIONS.
* Mon Jul 03 2023 Nick Clifton <nickc@redhat.com> - 12.18-1
- Annocheck: Remove dependency upon libiberty. - Annocheck: Remove dependency upon libiberty.
* Fri Jun 30 2023 Nick Clifton <nickc@redhat.com> - 12.17-1 * Fri Jun 30 2023 Nick Clifton <nickc@redhat.com> - 12.17-1
- Annocheck: Add detection of known parts of libstdc++-nonshared.a that contain gaps. (#2217864) - Annocheck: Add detection of known parts of libstdc++-nonshared.a that contain gaps. (#2217868)
* Tue Jun 27 2023 Nick Clifton <nickc@redhat.com> - 12.16-1 * Tue Jun 27 2023 Nick Clifton <nickc@redhat.com> - 12.16-1
- Spec File: Rebuild with annobin annotation. (#2217814) - Spec File: Rebuild with annobin annotation. (#2217812)
- Annocheck: Ignore weak/undef function symbols when checking to see if a binary contains code. (#2217840) - Annocheck: Ignore weak/undef function symbols when checking to see if a binary contains code. (#2217840)
- Annocheck: Add --suppress-version-warnings option. - Annocheck: Add --suppress-version-warnings option.
@ -675,16 +643,17 @@ make check GCC=%gcc_for_annobin
- Annocheck: Do not ignore separate debuginfo files that do not contain any DWARF. (#2144553) - Annocheck: Do not ignore separate debuginfo files that do not contain any DWARF. (#2144553)
- Annocheck: Ignore /dev/null filename in string notes. - Annocheck: Ignore /dev/null filename in string notes.
- Annocheck: More tweaks to glibc detection heuristics. (#2215968) - Annocheck: More tweaks to glibc detection heuristics. (#2215968)
- Annocheck: Check for string notes in separate debug info files. (#2211694)
- Annocheck: Add support for el10 and rhel-10 profiles. (RHEL-526)
* Wed Jun 07 2023 Nick Clifton <nickc@redhat.com> - 12.12-1 * Tue May 09 2023 Nick Clifton <nickc@redhat.com> - 12.10-2
- Rebuild against GTS-13 gcc. (#2196505) - Rebuild against GTS-13 gcc. (#2196506)
* Tue May 02 2023 Nick Clifton <nickc@redhat.com> - 12.10-1 * Wed May 03 2023 Nick Clifton <nickc@redhat.com> - 12.10-1
- Add gating.yaml file. (#2192492) - Add gating.yaml file. (#2192491)
- Annocheck: Suppress more tests for Rust binaries.
* Tue Apr 25 2023 Nick Clifton <nickc@redhat.com> - 12.09-1 * Tue Apr 25 2023 Nick Clifton <nickc@redhat.com> - 12.09-1
- Rebase to 12.09 (#2144553) - Rebase to 12.09 (#2188638)
* Tue Apr 25 2023 Nick Clifton <nickc@redhat.com> - 12.09-1 * Tue Apr 25 2023 Nick Clifton <nickc@redhat.com> - 12.09-1
- Annocheck: Fix detection of missing plugin options. (#2189492) - Annocheck: Fix detection of missing plugin options. (#2189492)

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.other.functional}

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (annobin-12.69.tar.xz) = 41a14a2e5a99f9aa08bd54c789c9d8edc4ff7156622c8e42e6bb7f39df1fc2ac343f77b2ad40288f009626dfbb102a0fc98b6e0c2d03d62a18eebdb900f4cbba