From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9998 invoked by alias); 14 Feb 2004 02:01:21 -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 9871 invoked from network); 14 Feb 2004 02:01:19 -0000 Received: from unknown (HELO localhost.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 14 Feb 2004 02:01:19 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id BA43E2B92; Fri, 13 Feb 2004 21:01:17 -0500 (EST) Message-ID: <402D816D.8070603@gnu.org> Date: Sat, 14 Feb 2004 02:01:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 MIME-Version: 1.0 To: Michael Elizabeth Chastain Cc: gdb-patches@sources.redhat.com Subject: Re: Time for a HP/PA hackathon? References: <20040213223905.DBA604B104@berman.michael-chastain.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-02/txt/msg00358.txt.bz2 > The problem is somewhere between 2004-02-11 22:00:00 UTC and 2004-02-11 > 23:30:00 UTC. That puts it in the BFD real_ftell/real_fseek changes. > > I suspect that it's something like "ftello64" getting picked up by > the autoconf test which is looking in the library, but no prototype > is actually in scope, so the return value defaults to "int" and > some bits are getting lost. > > Aha, look at this! > > gcc -DHAVE_CONFIG_H -I. -I/house/chastain/gdb/s1/bfd -I. -D_GNU_SOURCE -DHOST_HPPAHPUX -DHPUX_CORE -I. -I/house/chastain/gdb/s1/bfd -I/house/chastain/gdb/s1/bfd/../include -I/house/chastain/gdb/s1/bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c /house/chastain/gdb/s1/bfd/bfdio.c -o bfdio.o > /house/chastain/gdb/s1/bfd/bfdio.c: In function `real_ftell': > /house/chastain/gdb/s1/bfd/bfdio.c:45: warning: implicit declaration of function `ftello64' > /house/chastain/gdb/s1/bfd/bfdio.c: In function `real_fseek': > /house/chastain/gdb/s1/bfd/bfdio.c:57: warning: implicit declaration of function `fseeko64' > > Michael C What happens if -D_LARGEFILE64_SOURCE is added? (Not sure of the correct way to do that in BFD though). Andrew