This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/195: gdb 4.18 and gdb 5.0 compile error on AIX 4.3.2.0
- To: gdb-gnats at sources dot redhat dot com
- Subject: gdb/195: gdb 4.18 and gdb 5.0 compile error on AIX 4.3.2.0
- From: allen dot otis at gemstone dot com
- Date: 16 Aug 2001 19:43:59 -0000
- Reply-To: allen dot otis at gemstone dot com
>Number: 195
>Category: gdb
>Synopsis: gdb 4.18 and gdb 5.0 compile error on AIX 4.3.2.0
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 16 12:48:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Allen Otis
>Release: 4.18
>Organization:
>Environment:
Configuring for a powerpc-ibm-aix4.3.2.0 host.
>Description:
I attempted to build gdb 4.18 using gcc2.95.3 built
on the same machine. I had to comment out two defines in
gdb-4.18/gdb/config/rs6000/nm-rs6000.h to fix compile
errors (see workaround below) . It looks like the
define of PTRACE_ATTACH is causing circular defines
and conflicts with the AIX include files from /usr/include
The gcc2.95.3 was configured to use the bootstrap
compiler CC=/usr/vac/bin/cc (which is AIX C 5.0)
and otherwise built with defaults chosen by configure
>How-To-Repeat:
>Fix:
Delete these two defines from nm-rs6000.h :
#define PTRACE_ATTACH PT_ATTACH
#define PTRACE_DETACH PT_DETACH
>Release-Note:
>Audit-Trail:
>Unformatted: