This is the mail archive of the gdb-patches@sources.redhat.com 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]

[rfa] PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later


This patch documents a problem when building gdb with old libc or glibc.
The problem is a missing definition of 'uintptr_t'.  This is PR gdb/660,
and I have also seen this problem reported on bug-gdb.  We have so many
users that we see amazing version skew in the field.

I don't think we should fix this problem; I would rather just add a
requirement that people upgrade their glibc (or their libc5).  Then we
can point to the requirement in the PROBLEMS file and close PR's.

If somebody (perhaps the thread people) says that we need to jack up
the requirement from 2.1.3 to whatever, I'm open to that.  I just want
to document an actual requirement.

Testing: I haven't actually built with glibc 2.1.3, but I did check
the glibc source code and found the 'uintptr_t' definition in there.

OK to commit?

Michael C

2003-02-25  Michael Chastain  <mec at shout dot net>

	* PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
	to avoid uintptr_t definition problems.

Index: PROBLEMS
===================================================================
RCS file: /cvs/src/src/gdb/PROBLEMS,v
retrieving revision 1.12
diff -u -r1.12 PROBLEMS
--- PROBLEMS	5 Feb 2003 17:45:14 -0000	1.12
+++ PROBLEMS	25 Feb 2003 15:40:19 -0000
@@ -69,6 +69,10 @@
 i[3456]86-*-linux*
 ------------------
 
+gdb/660: gdb does not build with linux libc5.  The symptom is a parse
+error before `uintptr_t'.  Upgrade to glibc 2.1.3 or later, which
+defines uintptr_t.
+
 gdb/1030: GNU binutils 2.12.1 and earlier versions do not work properly
 with gdb.  If you use GNU binutils, upgrade to version 2.13 or later.
 You can check the version of binutils with the command:


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