public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/18585] ldconfig doesn't ignore GDB .py files
2015-06-23 20:28 [Bug libc/18585] New: ldconfig doesn't ignore GCC.py files hjl.tools at gmail dot com
@ 2015-06-23 20:28 ` hjl.tools at gmail dot com
2015-06-24 17:29 ` cvs-commit at gcc dot gnu.org
2015-06-24 20:31 ` hjl.tools at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2015-06-23 20:28 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=18585
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ldconfig doesn't ignore |ldconfig doesn't ignore GDB
|GCC.py files |.py files
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/18585] New: ldconfig doesn't ignore GCC.py files
@ 2015-06-23 20:28 hjl.tools at gmail dot com
2015-06-23 20:28 ` [Bug libc/18585] ldconfig doesn't ignore GDB .py files hjl.tools at gmail dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2015-06-23 20:28 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=18585
Bug ID: 18585
Summary: ldconfig doesn't ignore GCC.py files
Product: glibc
Version: 2.21
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
ldconfig doesn't ignore GCC.py files:
[root@gnu-6 ld.so.conf.d]# ldconfig
ldconfig: /usr/gcc-5.1.1/lib/libstdc++.so.6.0.21-gdb.py is not an ELF file - it
has the wrong magic bytes at the start.
ldconfig: /usr/gcc-5.1.1/libx32/libstdc++.so.6.0.21-gdb.py is not an ELF file -
it has the wrong magic bytes at the start.
ldconfig: /usr/gcc-5.1.1/lib64/libstdc++.so.6.0.21-gdb.py is not an ELF file -
it has the wrong magic bytes at the start.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/18585] ldconfig doesn't ignore GDB .py files
2015-06-23 20:28 [Bug libc/18585] New: ldconfig doesn't ignore GCC.py files hjl.tools at gmail dot com
2015-06-23 20:28 ` [Bug libc/18585] ldconfig doesn't ignore GDB .py files hjl.tools at gmail dot com
@ 2015-06-24 17:29 ` cvs-commit at gcc dot gnu.org
2015-06-24 20:31 ` hjl.tools at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-06-24 17:29 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=18585
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via eea3dc5bf2813b77ee9819d1b9ec893140db1491 (commit)
from 6f874bd4d4063cacd9edd7f7607fb929f0db218f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=eea3dc5bf2813b77ee9819d1b9ec893140db1491
commit eea3dc5bf2813b77ee9819d1b9ec893140db1491
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Jun 24 03:21:29 2015 -0700
Don't issue errors on GDB Python files
Many packages, including GCC, install Python files for GDB in library
diretory. ldconfig reads them and issue errors since they aren't ELF
files:
ldconfig: /usr/gcc-5.1.1/lib/libstdc++.so.6.0.21-gdb.py is not an ELF file
- it has the wrong magic bytes at the start.
ldconfig: /usr/gcc-5.1.1/libx32/libstdc++.so.6.0.21-gdb.py is not an ELF
file - it has the wrong magic bytes at the start.
ldconfig: /usr/gcc-5.1.1/lib64/libstdc++.so.6.0.21-gdb.py is not an ELF
file - it has the wrong magic bytes at the start.
This patch silences ldconfig on GDB Python files by checking filenames
with -gdb.py suffix.
[BZ #18585]
* elf/readlib.c (is_gdb_python_file): New.
(process_file): Don't issue errors on filenames with -gdb.py
suffix.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
NEWS | 2 +-
elf/readlib.c | 10 +++++++++-
3 files changed, 17 insertions(+), 2 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/18585] ldconfig doesn't ignore GDB .py files
2015-06-23 20:28 [Bug libc/18585] New: ldconfig doesn't ignore GCC.py files hjl.tools at gmail dot com
2015-06-23 20:28 ` [Bug libc/18585] ldconfig doesn't ignore GDB .py files hjl.tools at gmail dot com
2015-06-24 17:29 ` cvs-commit at gcc dot gnu.org
@ 2015-06-24 20:31 ` hjl.tools at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2015-06-24 20:31 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=18585
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |2.22
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-06-24 20:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-23 20:28 [Bug libc/18585] New: ldconfig doesn't ignore GCC.py files hjl.tools at gmail dot com
2015-06-23 20:28 ` [Bug libc/18585] ldconfig doesn't ignore GDB .py files hjl.tools at gmail dot com
2015-06-24 17:29 ` cvs-commit at gcc dot gnu.org
2015-06-24 20:31 ` hjl.tools at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).