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

debugedit 5.1 regression with read-only exe/lib files and gdb-add-index error reporting

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: Generate New Ti...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-10.0
    • rhel-10.0
    • debugedit
    • None
    • debugedit-5.1-2.el10
    • Yes
    • Critical
    • 1
    • rhel-pt-perf-tools
    • ssg_platform_tools
    • 17
    • 18
    • 1
    • Hide

      There is already a fedora package update debugedit-5.1-2.fc41

      Show
      There is already a fedora package update debugedit-5.1-2.fc41
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • Perf Debug Sprint 14
    • Unspecified Release Note Type - Unknown
    • All
    • None

      find-debuginfo calls gdb-add-index and used to ignore the result. debugedit 5.1 added error checking for gdb-add-index. gdb-add-index produces an error on read-only files. This now makes find-debuginfo fail when a package contains such files.

      Workaround this by making sure all files are (temporarily) writable (already done by add_minidebug and debugedit) for gdb-add-index and objcopy --merge-notes.

      Proposed upstream patch:
      https://inbox.sourceware.org/debugedit/20241128171256.2194466-1-mark@klomp.org/T

      Fedora discussion:
      https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/DH5N6XV2NJHBIMX226HPDFUMO5NODE2V/

              rhn-engineering-mjw Mark Wielaard
              rhn-engineering-mjw Mark Wielaard
              Mark Wielaard Mark Wielaard
              Martin Cermak Martin Cermak
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: