[Bug dynamic-link/23959] New: Skip /usr/lib/*-gdb.scm files, as are -gdb.py files ignored by ldconfig

dilyan.palauzov at aegee dot org sourceware-bugzilla@sourceware.org
Fri Dec 7 11:39:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=23959

            Bug ID: 23959
           Summary: Skip /usr/lib/*-gdb.scm files, as are -gdb.py files
                    ignored by ldconfig
           Product: glibc
           Version: 2.28
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: dilyan.palauzov at aegee dot org
  Target Milestone: ---

In the past /sbin/ldconfig complained for /usr/local/lib/*-gdb.py and
/usr/local/lib/*-gdb.scm files with “…is not an ELF file - it has the wrong
magic bytes at the start”.  Now it says only “ldconfig:
/usr/local/lib/libguile-2.2.so.1.3.1-gdb.scm is not an ELF file - it has the
wrong magic bytes at the start.” and
libc-2.28/elf/readlib.c:is_gdb_python_file() filters out the -gdb.py files.

* Adjust elf/readlib.c to ignore also -gdb.scm files.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list