gdb/2094: GNU/Linux, gcc 2.96 -- GDB build failure gdb_id_from_wait undeclared

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

gdb/2094: GNU/Linux, gcc 2.96 -- GDB build failure gdb_id_from_wait undeclared

Rob Desbois-2

>Number:         2094
>Category:       gdb
>Synopsis:       GNU/Linux, gcc 2.96 -- GDB build failure gdb_id_from_wait undeclared
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 03 10:58:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     [hidden email]
>Release:        6.4
>Organization:
>Environment:
uname -a
Linux robdes 2.4.20-43.9.legacy #1 Sat Apr 30 19:18:42 EDT 2005 i686 i686 i386 GNU/Linux

make --version
make --version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i386-redhat-linux-gnu

gcc 2.96
>Description:
make[4]: Entering directory `/home/rob/downloads/dev/gdb-6.4/gdb/gdbserver'
CONFIG_FILES="" CONFIG_HEADERS=config.h:config.in /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default commands
gcc296 -c -Wall -g -O2    -I. -I../.././gdb/gdbserver -I../.././gdb/gdbserver/../regformats -I../.././gdb/gdbserver/../../include -I../../bfd -I../.././gdb/gdbserver/../../bfd inferiors.c
gcc296 -c -Wall -g -O2    -I. -I../.././gdb/gdbserver -I../.././gdb/gdbserver/../regformats -I../.././gdb/gdbserver/../../include -I../../bfd -I../.././gdb/gdbserver/../../bfd regcache.c
gcc296 -c -Wall -g -O2    -I. -I../.././gdb/gdbserver -I../.././gdb/gdbserver/../regformats -I../.././gdb/gdbserver/../../include -I../../bfd -I../.././gdb/gdbserver/../../bfd remote-utils.c
remote-utils.c: In function `prepare_resume_reply':
remote-utils.c:686: parse error before `unsigned'
remote-utils.c:697: `gdb_id_from_wait' undeclared (first use in this function)
remote-utils.c:697: (Each undeclared identifier is reported only once
remote-utils.c:697: for each function it appears in.)
make[4]: *** [remote-utils.o] Error 1
make[4]: Leaving directory `/home/rob/downloads/dev/gdb-6.4/gdb/gdbserver'
make[3]: *** [subdir_do] Error 1
make[3]: Leaving directory `/home/rob/downloads/dev/gdb-6.4/gdb'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/rob/downloads/dev/gdb-6.4/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/home/rob/downloads/dev/gdb-6.4'
make: *** [all] Error 2
>How-To-Repeat:
CC=gcc296 ./configure
make
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
Reply | Threaded
Open this post in threaded view
|

Re: gdb/2094: GNU/Linux, gcc 2.96 -- GDB build failure gdb_id_from_wait undeclared

drow-2
Synopsis: GNU/Linux, gcc 2.96 -- GDB build failure gdb_id_from_wait undeclared

Responsible-Changed-From-To: unassigned->drow
Responsible-Changed-By: drow
Responsible-Changed-When: Fri Mar  3 14:50:50 2006
Responsible-Changed-Why:
    Mine.
State-Changed-From-To: open->closed
State-Changed-By: drow
State-Changed-When: Fri Mar  3 14:50:50 2006
State-Changed-Why:
    Fix checked in.

http://sourceware.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=2094
Reply | Threaded
Open this post in threaded view
|

Re: gdb/2094: GNU/Linux, gcc 2.96 -- GDB build failure gdb_id_from_wait undeclared

Daniel Jacobowitz-2
In reply to this post by Rob Desbois-2
The following reply was made to PR gdb/2094; it has been noted by GNATS.

From: Daniel Jacobowitz <[hidden email]>
To: [hidden email]
Cc: [hidden email]
Subject: Re: gdb/2094: GNU/Linux, gcc 2.96 -- GDB build failure gdb_id_from_wait undeclared
Date: Fri, 3 Mar 2006 09:50:23 -0500

 On Fri, Mar 03, 2006 at 10:53:39AM -0000, [hidden email] wrote:
 > remote-utils.c: In function `prepare_resume_reply':
 > remote-utils.c:686: parse error before `unsigned'
 > remote-utils.c:697: `gdb_id_from_wait' undeclared (first use in this function)
 > remote-utils.c:697: (Each undeclared identifier is reported only once
 > remote-utils.c:697: for each function it appears in.)
 > make[4]: *** [remote-utils.o] Error 1
 
 Thanks for the report.  I've just fixed this in CVS; it used a GNU C
 and ISO C99 extension.
 
 --
 Daniel Jacobowitz
 CodeSourcery