Subject: port-shark/19164: Problems with "make release" with shark target
To: None <gnats-bugs@gnats.netbsd.org>
From: None <agc@userec217.dsl.pipex.com>
List: netbsd-bugs
Date: 11/25/2002 15:53:38
>Number:         19164
>Category:       port-shark
>Synopsis:       Problems with "make release" with shark target
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-shark-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 25 07:54:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alistair G. Crooks
>Release:        NetBSD 1.6K
>Organization:
	Wasabi Systems, Inc
>Environment:
System: NetBSD sys1.crowthorne.userec217.dsl.pipex.com 1.6K NetBSD 1.6K (SYS) #77: Wed Nov 20 16:28:11 GMT 2002 agc@sys1.crowthorne.userec217.dsl.pipex.com:/usr/obj/i386/usr/src/sys/arch/i386/compile/SYS i386
Architecture: i386
Machine: i386
>Description:
	Shark kernels cross-build fine (on i386, 1.6K), but there are problems
	during "make release", when the object format is modified:

/usr/obj/shark/usr/src/tools/tools.NetBSD-1.6K-i386/bin/arm--netbsdelf-gcc  -ffreestanding  -O2 -march=armv4 -mtune=strongarm -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -Wno-uninitialized  -Dshark -I.  -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DOFW -DHZ="0x40" -DNMBCLUSTERS="0x400" -DSHARK -DNSIO -DDIAGNOSTIC -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT  -c vers.c
/usr/obj/shark/usr/src/tools/tools.NetBSD-1.6K-i386/bin/arm--netbsdelf-ld -T /usr/src/sys/arch/shark/conf/kern.ldscript -X -o netbsd ${SYSTEM_OBJ} vers.o
text    data    bss     dec     hex     filename
1555408 223868  157264  1936540 1d8c9c  netbsd
/usr/obj/shark/usr/src/tools/tools.NetBSD-1.6K-i386/bin/arm--netbsdelf-dbsym netbsd || true
arm--netbsdelf-dbsym: symbol table (207120 bytes) too big for buffer (200000 bytes)
/usr/obj/shark/usr/src/tools/tools.NetBSD-1.6K-i386/bin/arm--netbsdelf-objcopy -O a.out-arm-netbsd -R .ident -R .arm.atpcs netbsd netbsd.aout
BFD: netbsd.aout: can not represent section `link_set_evcnts' in a.out object file format
/usr/obj/shark/usr/src/tools/tools.NetBSD-1.6K-i386/bin/arm--netbsdelf-objcopy: netbsd.aout: Nonrepresentable section on output
BFD: netbsd.aout: can not represent section `link_set_evcnts' in a.out object file format
/usr/obj/shark/usr/src/tools/tools.NetBSD-1.6K-i386/bin/arm--netbsdelf-objcopy: netbsd.aout: Nonrepresentable section on output
*** Error code 1

Stop.
nbmake: stopped in /usr/obj/shark/usr/src/sys/arch/shark/compile/GENERIC
*** Error code 1

Stop.
nbmake: stopped in /usr/src/etc
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: failed to make release
*** BUILD ABORTED ***

>How-To-Repeat:
	./build.sh -D /usr/dest/shark -R /usr/release/shark -U -m shark -u release
>Fix:
	None given
>Release-Note:
>Audit-Trail:
>Unformatted:
 	sources from Mon Nov 25 08:31:36 GMT 2002