public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/11605] New: GDB error() conflicts with glibc error(3)
@ 2010-05-16 16:28 jan dot kratochvil at redhat dot com
  0 siblings, 0 replies; only message in thread
From: jan dot kratochvil at redhat dot com @ 2010-05-16 16:28 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-16 16:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-16 16:28 [Bug build/11605] New: GDB error() conflicts with glibc error(3) jan dot kratochvil at redhat 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).