From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13549 invoked by alias); 25 Feb 2003 15:49:27 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 13538 invoked from network); 25 Feb 2003 15:49:26 -0000 Received: from unknown (HELO duracef.shout.net) (204.253.184.12) by 172.16.49.205 with SMTP; 25 Feb 2003 15:49:26 -0000 Received: (from mec@localhost) by duracef.shout.net (8.11.6/8.11.6) id h1PFnQS05835 for gdb-patches@sources.redhat.com; Tue, 25 Feb 2003 09:49:26 -0600 Date: Tue, 25 Feb 2003 15:49:00 -0000 From: Michael Elizabeth Chastain Message-Id: <200302251549.h1PFnQS05835@duracef.shout.net> To: gdb-patches@sources.redhat.com Subject: [rfa] PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later X-SW-Source: 2003-02/txt/msg00634.txt.bz2 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 * 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: