Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-82887

annobin: Installs unpatched sources for use by GCC, causing RHEL-21772 regression

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-9.4.z
    • rhel-9.4.z
    • annobin
    • annobin-12.31-3.el9_4
    • Yes
    • Low
    • rhel-sst-pt-gcc
    • ssg_platform_tools
    • 1
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      The gcc-11.4.1-4.el9_4 build switch to the GCC-built annobin plugin. This brought back RHEL-21772 because the annobin spec file installs the unpatched sources for later use by GCC:

      # Also install a copy of the sources into the build tree.
      mkdir -p                            %{buildroot}%{annobin_source_dir}
      cp %{_sourcedir}/%{annobin_sources} %{buildroot}%{annobin_source_dir}/latest-annobin.tar.xz
      %endif
      

      This blocks glibc rebuilds (exactly the same symptoms as RHEL-21772) and could result in other packages getting misbuilt, too.

      Fixing this in the annobin package is sufficient, there's no need to rebuild GCC. A simple rebuild of annobin itself will result in the patched sources being used, but it's not a long-term fix of the underlying issue.

              abobrov@redhat.com Anton Bobrov
              fweimer@redhat.com Florian Weimer
              Platform Tools Sustaining Platform Tools Sustaining
              Lenka Špačková Lenka Špačková
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: