NetBSD Problem Report #15240

Received: (qmail 5588 invoked from network); 14 Jan 2002 08:46:08 -0000
Message-Id: <200201121816.g0CIGEA13544@lisard.antioche.eu.org>
Date: Sat, 12 Jan 2002 19:16:16 +0100 (MET)
From: Manuel Bouyer <bouyer@antioche.eu.org>
Reply-To: bouyer@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: gdb fails to compile
X-Send-Pr-Version: 3.95

>Number:         15240
>Category:       port-sun3
>Synopsis:       gdb fails to compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sun3-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 14 08:47:00 +0000 2002
>Closed-Date:    Sun Feb 10 15:33:37 +0000 2002
>Last-Modified:  Sun Feb 10 15:33:37 +0000 2002
>Originator:     Manuel Bouyer
>Release:        NetBSD 1.5ZA
>Organization:

none

>Environment:

System: NetBSD lisard.antioche.eu.org 1.5ZA NetBSD 1.5ZA (SUN3_60) #0: Fri Jan 4 10:27:35 MET 2002 bouyer@lisard.antioche.eu.org:/home/sources/src/sys/arch/sun3/compile/SUN3_60 sun3
Architecture: m68k
Machine: sun3

sources supped yesterday
>Description:
	A build.sh run on my sun3/60 fails in gdb with the following message:
dependall ===> gnu/usr.bin/gdb/gdb.new
/home/sources/src/tools/obj/tools.NetBSD-1.5ZA-m68k/bin/m68k--netbsdelf-gcc -O2   -Werror -I/home/sources/src/gnu/usr.bin/gdb/gdb.new/../arch/m68k  -I/home/sources/src/gnu/usr.bin/gdb/gdb.new/../../../dist/toolchain/gdb -I/home/sources/src/gnu/usr.bin/gdb/gdb.new/../../../dist/toolchain/gdb/config -DHAVE_CONFIG_H -I/home/sources/src/gnu/usr.bin/gdb/gdb.new/../../../dist/toolchain/gdb/../include/opcode -I/home/sources/src/gnu/usr.bin/gdb/gdb.new/../../../dist/toolchain/gdb/../bfd -I/home/sources/src/gnu/usr.bin/gdb/gdb.new/../../../dist/toolchain/gdb/../include -I/home/sources/src/gnu/usr.bin/gdb/gdb.new/../../../dist/toolchain/gdb/tui -DUSE_INCLUDED_REGEX  -DRL_LIBRARY_VERSION='"4.0"'  -I/home/sources/src/gnu/usr.bin/gdb/gdb.new/../../../lib/libbfd/arch/m68k -nostdinc -isystem /usr/include  -c /home/sources/src/gnu/usr.bin/gdb/gdb.new/../../../dist/toolchain/gdb/blockframe.c
/home/sources/src/gnu/usr.bin/gdb/gdb.new/../../../dist/toolchain/gdb/blockframe.c: In function `create_new_frame':
/home/sources/src/gnu/usr.bin/gdb/gdb.new/../../../dist/toolchain/gdb/blockframe.c:242: `USRSTACK' undeclared (first use in this function)
/home/sources/src/gnu/usr.bin/gdb/gdb.new/../../../dist/toolchain/gdb/blockframe.c:242: (Each undeclared identifier is reported only once
/home/sources/src/gnu/usr.bin/gdb/gdb.new/../../../dist/toolchain/gdb/blockframe.c:242: for each function it appears in.)
/home/sources/src/gnu/usr.bin/gdb/gdb.new/../../../dist/toolchain/gdb/blockframe.c: In function `get_prev_frame':
/home/sources/src/gnu/usr.bin/gdb/gdb.new/../../../dist/toolchain/gdb/blockframe.c:498: `USRSTACK' undeclared (first use in this function)
/home/sources/src/gnu/usr.bin/gdb/gdb.new/../../../dist/toolchain/gdb/blockframe.c: In function `find_pc_sect_partial_function':
/home/sources/src/gnu/usr.bin/gdb/gdb.new/../../../dist/toolchain/gdb/blockframe.c:786: `USRSTACK' undeclared (first use in this function)
*** Error code 1

Stop.
nbmake: stopped in /home/sources/src/gnu/usr.bin/gdb/gdb.new
*** Error code 1

Stop.
nbmake: stopped in /home/sources/src/gnu/usr.bin/gdb/gdb.new
*** Error code 1

Stop.
nbmake: stopped in /home/sources/src/gnu/usr.bin/gdb
*** Error code 1

Stop.
nbmake: stopped in /home/sources/src/gnu/usr.bin
*** Error code 1

Stop.
nbmake: stopped in /home/sources/src/gnu
*** Error code 1

Stop.
nbmake: stopped in /home/sources/src
*** Error code 1

Stop.
nbmake: stopped in /home/sources/src
*** Error code 1

Stop.
nbmake: stopped in /home/sources/src

>How-To-Repeat:
	./build.sh on a sun3
>Fix:
	Don't know. It looks like USRSTACK is only defined for kernel/lkm on
	sun3, is a userland program supposed to use it ?
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: chs 
State-Changed-When: Sun Feb 10 07:33:16 PST 2002 
State-Changed-Why:  
pulled in the change from the old gdb that takes care of this. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.