Re: Likely obsolete pieces of GDB

John David Anglin
2006-12-18T03:03:26Z

> I have built 6.5 on HP-UX 10.20. I will report back on the current
> status of the cvs source.

The current cvs still builds on HP-UX 10.20. I used GCC 4.1.1. The
system has a complete HP patch set. I had the cma hack applied to
configure to disable thread support. The only minor problem was I
had to define CPPFLAGS as follows prior to running configure:

export CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"

If I don't do this, there's a declaration conflict for fseeko and
fseeko64. Without these defines, configure doesn't find the routines
in <stdio.h>. However, the defines are used during the build and this
a conflict occurs with gdb's internal declaration of these two routines.
The define for _LARGEFILE_SOURCE may be implicit. _LARGEFILE64_SOURCE
is definitely by gdb.

I think the same issue is present under HP-UX 11.

The testsuite is running...

I'll check building without the cma hack.

Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)