This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/11605] New: GDB error() conflicts with glibc error(3)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]