Time for a HP/PA hackathon?

Andrew Cagney cagney@gnu.org
Sat Feb 14 02:01:00 GMT 2004


> 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




More information about the Gdb-patches mailing list