Subject: kern/19184: hpcmips kernel compile (link) error in subr_autoconf.c::evcnt_init()
To: None <gnats-bugs@gnats.netbsd.org>
From: None <naoki@fukaumi.org>
List: netbsd-bugs
Date: 11/27/2002 11:06:08
>Number:         19184
>Category:       kern
>Synopsis:       hpcmips kernel compile (link) error in subr_autoconf.c::evcnt_init()
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 26 18:07:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     FUKAUMI Naoki
>Release:        NetBSD 1.6K
>Organization:
	FUKAUMI Naoki
>Environment:
	host  : i386
	target: hpcmips
>Description:
	from build log:
/home/t/hpcmips/bin/mipsel--netbsd-ld -T /usr/src/sys/arch/mips/conf/kern.ldscript -Ttext 0x80001000 -e start -EL -G 10 --oformat elf32-littlemips -x -o netbsd ${SYSTEM_OBJ} vers.o
subr_autoconf.o: In function `evcnt_init':
/usr/src/sys/kern/subr_autoconf.c(.text+0x161c): relocation truncated to fit: R_MIPS_GPREL16 __start_link_set_evcnts
/usr/src/sys/kern/subr_autoconf.c(.text+0x1624): relocation truncated to fit: R_MIPS_GPREL16 __stop_link_set_evcnts
*** Error code 1

Stop.
nbmake: stopped in /usr/obj/hpcmips/sys/arch/hpcmips/compile/GENERIC

	This problem was brought about this change:
	  http://mail-index.netbsd.org/source-changes/2002/11/24/0069.html

>How-To-Repeat:
	make hpcmips kernel from today source

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: