From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32617 invoked by alias); 29 Dec 2008 23:48:40 -0000 Received: (qmail 32608 invoked by uid 22791); 29 Dec 2008 23:48:39 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,KAM_MX,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 29 Dec 2008 23:48:03 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id mBTNjawQ031290; Mon, 29 Dec 2008 18:45:36 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id mBTNjZZd027515; Mon, 29 Dec 2008 18:45:35 -0500 Received: from opsy.redhat.com (vpn-12-253.rdu.redhat.com [10.11.12.253]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id mBTNjYhq002818; Mon, 29 Dec 2008 18:45:34 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id 5694A50801F; Mon, 29 Dec 2008 16:45:33 -0700 (MST) To: Joel Brobecker Cc: Jim Blandy , Pedro Alves , gdb-patches@sourceware.org Subject: Re: RFA: Building GDB under GLIBC 2.8 References: <8f2776cb0812121804n1008f921h3898bb7bda1581c9@mail.gmail.com> <200812152016.56353.pedro@codesourcery.com> <8f2776cb0812191645m56a7bd29ob563ea7d4e79724b@mail.gmail.com> <20081229055001.GK4216@adacore.com> From: Tom Tromey Reply-To: tromey@redhat.com Date: Mon, 29 Dec 2008 23:48:00 -0000 In-Reply-To: <20081229055001.GK4216@adacore.com> (Joel Brobecker's message of "Mon\, 29 Dec 2008 09\:50\:01 +0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-12/txt/msg00455.txt.bz2 >>>>> "Joel" == Joel Brobecker writes: Joel> Looks OK to me. I'm a little bit pained by seeing us forced to check Joel> return values in cases where we really don't care, but if this is Joel> the way things are going to be in glibc from now on. Were the glibc Joel> developers contacted and do we know what they said? I'm wondering Joel> if these new attributes are a done-deal or whether there are Joel> re-considering... You must ask for this checking. It is only enabled if you use -D_FORTIFY_SOURCE=2. glibc is working as intended here, as this checking is part of the point of this feature. The problem is that some distros enable this by default. And, other distros build their packages this way as a security measure. So, it is handy if gdb is modified to conform. The alternative is the distros carrying their own patches for this, plus developers on Ubuntu having to do something special. Tom