This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug build/11605] New: GDB error() conflicts with glibc error(3)
- From: "jan dot kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 16 May 2010 16:28:35 -0000
- Subject: [Bug build/11605] New: GDB error() conflicts with glibc error(3)
- Reply-to: sourceware-bugzilla at sourceware dot org
GNU libc provides:
void error(int status, int errnum, const char *format, ...);
But it is overriden by gdb's:
void error (const char *string, ...);
It will crash if any library will try to call glibc error().
GDB should some form of the symbol visibility for "error".
Grepped libraries referencing GNU libc error on some Fedora 12 system:
libdw
libgettextlib
libgettextpo
libgettextsrc
libhivex
liblftp-tasks
libparted
--
Summary: GDB error() conflicts with glibc error(3)
Product: gdb
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: build
AssignedTo: unassigned at sourceware dot org
ReportedBy: jan dot kratochvil at redhat dot com
CC: gdb-prs at sourceware dot org
GCC target triplet: x86_64-fedora12-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=11605
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.