This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/821: gdb v5.2.1 build on a s390 fails in linux-s390-low.c on PT_FPRx
- From: Francois dot Deweulf at ca dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 12 Nov 2002 16:49:06 -0000
- Subject: gdb/821: gdb v5.2.1 build on a s390 fails in linux-s390-low.c on PT_FPRx
- Reply-to: Francois dot Deweulf at ca dot com
>Number: 821
>Category: gdb
>Synopsis: gdb v5.2.1 build on a s390 fails in linux-s390-low.c on PT_FPRx
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 12 08:58:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: François Deweulf
>Release: 5.2.1
>Organization:
>Environment:
SuSE SLES-7 (s390) - Kernel 2.4.7-timer-SMP (8)
GNU Make version 3.79.1
gcc version 3.2
>Description:
Here are the error output while trying to build gdb on this s390 box:
make[3]: Entering directory `/devel/eTA/gdb-5.2.1/gdb/gdbserver'
gcc -c -g -O2 -I. -I. -I./../regformats -I./../../include -I../../bfd -I./../../bfd linux-s390-low.c
linux-s390-low.c:58: `PT_FPR0' undeclared here (not in a function)
linux-s390-low.c:58: initializer element is not constant
linux-s390-low.c:58: (near initialization for `regmap[51]')
linux-s390-low.c:58: `PT_FPR1' undeclared here (not in a function)
linux-s390-low.c:58: initializer element is not constant
linux-s390-low.c:58: (near initialization for `regmap[52]')
linux-s390-low.c:58: `PT_FPR2' undeclared here (not in a function)
linux-s390-low.c:58: initializer element is not constant
linux-s390-low.c:58: (near initialization for `regmap[53]')
linux-s390-low.c:58: `PT_FPR3' undeclared here (not in a function)
linux-s390-low.c:58: initializer element is not constant
linux-s390-low.c:58: (near initialization for `regmap[54]')
linux-s390-low.c:59: `PT_FPR4' undeclared here (not in a function)
linux-s390-low.c:59: initializer element is not constant
linux-s390-low.c:59: (near initialization for `regmap[55]')
linux-s390-low.c:59: `PT_FPR5' undeclared here (not in a function)
linux-s390-low.c:59: initializer element is not constant
linux-s390-low.c:59: (near initialization for `regmap[56]')
linux-s390-low.c:59: `PT_FPR6' undeclared here (not in a function)
linux-s390-low.c:59: initializer element is not constant
linux-s390-low.c:59: (near initialization for `regmap[57]')
linux-s390-low.c:59: `PT_FPR7' undeclared here (not in a function)
linux-s390-low.c:59: initializer element is not constant
linux-s390-low.c:59: (near initialization for `regmap[58]')
linux-s390-low.c:60: `PT_FPR8' undeclared here (not in a function)
linux-s390-low.c:60: initializer element is not constant
linux-s390-low.c:60: (near initialization for `regmap[59]')
linux-s390-low.c:60: `PT_FPR9' undeclared here (not in a function)
linux-s390-low.c:60: initializer element is not constant
linux-s390-low.c:60: (near initialization for `regmap[60]')
linux-s390-low.c:60: `PT_FPR10' undeclared here (not in a function)
linux-s390-low.c:60: initializer element is not constant
linux-s390-low.c:60: (near initialization for `regmap[61]')
linux-s390-low.c:60: `PT_FPR11' undeclared here (not in a function)
linux-s390-low.c:60: initializer element is not constant
linux-s390-low.c:60: (near initialization for `regmap[62]')
linux-s390-low.c:61: `PT_FPR12' undeclared here (not in a function)
linux-s390-low.c:61: initializer element is not constant
linux-s390-low.c:61: (near initialization for `regmap[63]')
linux-s390-low.c:61: `PT_FPR13' undeclared here (not in a function)
linux-s390-low.c:61: initializer element is not constant
linux-s390-low.c:61: (near initialization for `regmap[64]')
linux-s390-low.c:61: `PT_FPR14' undeclared here (not in a function)
linux-s390-low.c:61: initializer element is not constant
linux-s390-low.c:61: (near initialization for `regmap[65]')
linux-s390-low.c:61: `PT_FPR15' undeclared here (not in a function)
linux-s390-low.c:61: initializer element is not constant
linux-s390-low.c:61: (near initialization for `regmap[66]')
make[3]: *** [linux-s390-low.o] Error 1
make[3]: Leaving directory `/devel/eTA/gdb-5.2.1/gdb/gdbserver'
make[2]: *** [subdir_do] Error 1
make[2]: Leaving directory `/devel/eTA/gdb-5.2.1/gdb'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/devel/eTA/gdb-5.2.1/gdb'
make: *** [all-gdb] Error 2
>How-To-Repeat:
tar -xzvf gdb-5.2.1.tar.gz
cd gdb-5.2.1
./configure
make
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: