public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/13010] New: build fails unconditionally if HAVE_UINTPTR_T is not set, which gets set nowhere
@ 2011-07-21 16:03 wkor97gy0eef1fr at p dot mintemail.com
  2011-08-03 20:43 ` [Bug build/13010] " tromey at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: wkor97gy0eef1fr at p dot mintemail.com @ 2011-07-21 16:03 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13010

           Summary: build fails unconditionally if HAVE_UINTPTR_T is not
                    set, which gets set nowhere
           Product: gdb
           Version: 7.2
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
        AssignedTo: unassigned@sourceware.org
        ReportedBy: wkor97gy0eef1fr@p.mintemail.com


In file included from linux-thread-db.c:26:
gdb_thread_db.h:211:2: #error No uintptr_t available; your C library is too
old.
gdb_thread_db.h:213:1: warning: "uintptr_t" redefined

it seems that glibc sets that. but musl libc doesn't and no standard says that
it has to define HAVE_UINTPTR_T

to fix, please change the line
#ifndef HAVE_UINTPTR_T

to 
#ifndef uintptr_t

or check if it is available in the configure script and set the HAVE_ flag when
it is available.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug build/13010] build fails unconditionally if HAVE_UINTPTR_T is not set, which gets set nowhere
  2011-07-21 16:03 [Bug build/13010] New: build fails unconditionally if HAVE_UINTPTR_T is not set, which gets set nowhere wkor97gy0eef1fr at p dot mintemail.com
@ 2011-08-03 20:43 ` tromey at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: tromey at redhat dot com @ 2011-08-03 20:43 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13010

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |tromey at redhat dot com
         Resolution|                            |INVALID

--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2011-08-03 20:43:15 UTC ---
This code changed recently.
That #error doesn't seem to exist any more, so I'm closing this one.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-03 20:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-21 16:03 [Bug build/13010] New: build fails unconditionally if HAVE_UINTPTR_T is not set, which gets set nowhere wkor97gy0eef1fr at p dot mintemail.com
2011-08-03 20:43 ` [Bug build/13010] " tromey 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).