From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13051 invoked by alias); 5 May 2005 19:05:45 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 12980 invoked from network); 5 May 2005 19:05:40 -0000 Received: from unknown (HELO bluesmobile.specifixinc.com) (64.220.152.98) by sourceware.org with SMTP; 5 May 2005 19:05:40 -0000 Received: from [127.0.0.1] (bluesmobile.corp.specifix.com [192.168.1.2]) by bluesmobile.specifixinc.com (Postfix) with ESMTP id 1C927169E1; Thu, 5 May 2005 13:20:09 -0700 (PDT) Subject: Re: Another HP-UX IA64 Build patch From: James E Wilson To: Daniel Jacobowitz Cc: Steve Ellcey , binutils@sources.redhat.com In-Reply-To: <20050505181241.GA19179@nevyn.them.org> References: <200505051751.KAA17543@hpsje.cup.hp.com> <1115316630.8413.20.camel@aretha.corp.specifixinc.com> <20050505181241.GA19179@nevyn.them.org> Content-Type: text/plain Message-Id: <1115319939.8413.35.camel@aretha.corp.specifixinc.com> Mime-Version: 1.0 Date: Thu, 05 May 2005 19:17:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2005-05/txt/msg00198.txt.bz2 On Thu, 2005-05-05 at 11:12, Daniel Jacobowitz wrote: > Wait, huh? What do glibc's quirks have to do with HP/UX's libgen.h? > If you use on a glibc system you're going to get it without > the const, no matter what _GNU_SOURCE says. The prototype in libiberty.h disagrees with POSIX, which means it disagrees with all systems other than a glibc system. Thus confusion. The confusion is solved by pointing out the glibc quirk. That was all I was trying to do. However, I don't think think this matters much. As I said in the earlier message, I think we should just use this for hpux anyways. We change libiberty only when and if a problem arises, and I don't expect one to arise. The declarations in libiberty shouldn't be used if there is a system declaration, so there shouldn't be a possibility of a mismatch here unless there are configure problems. -- Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com