Subject: port-sparc64/25650: Building a NetBSD-sparc64 debug kernel fails
To: None <gnats-bugs@gnats.NetBSD.org>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 05/20/2004 11:28:42
>Number:         25650
>Category:       port-sparc64
>Synopsis:       Building a NetBSD-sparc64 debug kernel fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 20 09:29:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 2.0E 2004-05-19 sources
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD sheridan.zhadum.de 2.0E NetBSD 2.0E (SHERIDAN) #4: Wed May 19 14:40:24 CEST 2004 tron@sheridan.zhadum.de:/src/sys/compile/SHERIDAN sparc64
Architecture: sparc64
Machine: sparc64
>Description:
Building a NetBSD-sparc64 debug kernel fails during the link phase:

#      link  SHERIDAN/netbsd
ld -n -T /share/src/NetBSD-sheridan/src/sys/arch/sparc64/conf/kern.ldscript -Ttext 01000000 -Tdata 01800000 -e start -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
svr4_machdep.o(.text+0x15c): In function `svr4_setmcontext':
/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_machdep.c:273: undefined reference to `sigdebug'
svr4_machdep.o(.text+0x164):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_machdep.c:273: undefined reference to `sigdebug'
svr4_machdep.o(.text+0x2c0):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_machdep.c:269: undefined reference to `sigdebug'
svr4_machdep.o(.text+0x43c): In function `svr4_sendsig':
/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_machdep.c:536: undefined reference to `sigdebug'
svr4_machdep.o(.text+0x444):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_machdep.c:536: undefined reference to `sigdebug'
svr4_machdep.o(.text+0x450):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_machdep.c:535: undefined reference to `sigpid'
svr4_machdep.o(.text+0x460):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_machdep.c:535: undefined reference to `sigpid'
svr4_machdep.o(.text+0x4b4):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_machdep.c:569: undefined reference to `sigdebug'
svr4_machdep.o(.text+0x4e0):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_machdep.c:580: undefined reference to `sigdebug'
svr4_machdep.o(.text+0x4fc):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_machdep.c:580: undefined reference to `sigpid'
svr4_machdep.o(.text+0x52c):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_machdep.c:592: undefined reference to `sigdebug'
svr4_machdep.o(.text+0x53c):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_machdep.c:592: undefined reference to `sigdebug'
svr4_machdep.o(.text+0x56c):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_machdep.c:610: undefined reference to `sigdebug'
svr4_machdep.o(.text+0x580):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_machdep.c:610: undefined reference to `sigpid'
svr4_machdep.o(.text+0x5a0):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_machdep.c:614: undefined reference to `sigdebug'
svr4_machdep.o(.text+0x610):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_machdep.c:581: undefined reference to `sigdebug'
svr4_machdep.o(.text+0x62c):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_machdep.c:581: undefined reference to `sigdebug'
svr4_machdep.o(.text+0x67c):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_machdep.c:540: undefined reference to `sigdebug'
svr4_32_machdep.o(.text+0x174): In function `svr4_32_setmcontext':
/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_32_machdep.c:259: undefined reference to `sigdebug'
svr4_32_machdep.o(.text+0x17c):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_32_machdep.c:259: more undefined references to `sigdebug' follow
svr4_32_machdep.o(.text+0x45c): In function `svr4_32_sendsig':
/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_32_machdep.c:501: undefined reference to `sigpid'
svr4_32_machdep.o(.text+0x46c):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_32_machdep.c:501: undefined reference to `sigpid'
svr4_32_machdep.o(.text+0x4c4):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_32_machdep.c:535: undefined reference to `sigdebug'
svr4_32_machdep.o(.text+0x4f0):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_32_machdep.c:546: undefined reference to `sigdebug'
svr4_32_machdep.o(.text+0x50c):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_32_machdep.c:546: undefined reference to `sigpid'
svr4_32_machdep.o(.text+0x53c):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_32_machdep.c:558: undefined reference to `sigdebug'
svr4_32_machdep.o(.text+0x54c):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_32_machdep.c:558: undefined reference to `sigdebug'
svr4_32_machdep.o(.text+0x57c):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_32_machdep.c:576: undefined reference to `sigdebug'
svr4_32_machdep.o(.text+0x590):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_32_machdep.c:576: undefined reference to `sigpid'
svr4_32_machdep.o(.text+0x5b0):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_32_machdep.c:580: undefined reference to `sigdebug'
svr4_32_machdep.o(.text+0x620):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_32_machdep.c:547: undefined reference to `sigdebug'
svr4_32_machdep.o(.text+0x63c):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_32_machdep.c:547: undefined reference to `sigdebug'
svr4_32_machdep.o(.text+0x68c):/share/src/NetBSD-sheridan/src/sys/arch/sparc64/sparc64/svr4_32_machdep.c:506: undefined reference to `sigdebug'
*** Error code 1

Stop.
make: stopped in /src/sys/compile/SHERIDAN

>How-To-Repeat:
Enable "options DEBUG" in in "GENERIC", try to build a kernel.

>Fix:
None provided.
>Release-Note:
>Audit-Trail:
>Unformatted: