This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gdb/195: gdb 4.18 and gdb 5.0 compile error on AIX 4.3.2.0



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]