From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22095 invoked by alias); 30 Dec 2009 13:22:36 -0000 Received: (qmail 22087 invoked by uid 22791); 30 Dec 2009 13:22:35 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 30 Dec 2009 13:22:31 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id A6DE010DAA; Wed, 30 Dec 2009 13:22:29 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 8FE2210D9E; Wed, 30 Dec 2009 13:22:29 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1NPyVQ-0003QO-CJ; Wed, 30 Dec 2009 08:22:28 -0500 Date: Wed, 30 Dec 2009 13:22:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: FYI: -Wunused warning in cp-namespace.c with old glibc... Message-ID: <20091230132227.GA13143@caradoc.them.org> Mail-Followup-To: Joel Brobecker , gdb-patches@sourceware.org References: <20091230104816.GC548@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091230104816.GC548@adacore.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes 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: 2009-12/txt/msg00437.txt.bz2 On Wed, Dec 30, 2009 at 02:48:16PM +0400, Joel Brobecker wrote: > Hello, > > We're still supporting some pretty old x86-linux distributions at > AdaCore, and one of them comes with a now antiquated version of > the glic. And unfortunately, this version of glic plays some tricks > with strncpy, while these tricks are disabled on older glibcs > for GCC 3.2+: FYI, we ran into this too - we ended up dropping a newer bits/string2.h (from RHEL4 rather than RH8/RHEL3, I believe) into our build system. The newer one works fine with an older runtime. -- Daniel Jacobowitz CodeSourcery