Subject: port-mips/20758: mipsco fails to build; bootloader exceeds size limit
To: None <gnats-bugs@gnats.netbsd.org>
From: None <he@netbsd.org>
List: netbsd-bugs
Date: 03/16/2003 22:36:45
>Number:         20758
>Category:       port-mips
>Synopsis:       mipsco fails to build; bootloader exceeds size limit
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-mips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 16 13:37:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Havard Eidnes
>Release:        NetBSD 1.6P 9 Mar 2003
>Organization:
	Unorganized, Inc.
>Environment:
Host System: NetBSD stegg.urc.uninett.no 1.6P NetBSD 1.6P (STEGG.MP) #1: Fri Mar 14 14:58:00 CET 2003  he@stegg.urc.uninett.no:/sys/arch/i386/compile/STEGG.MP i386
Architecture: mipsbe
Machine: mipsco
>Description:
	Trying to build a release snapshot for mipsco fails because
	the size of the boot loader has exceeded the maximum size:

/usr/tools/bin/mipseb--netbsd-ld --oformat elf32-bigmips -Map bootxx_ffs.map -N -x -Ttext 0x80600000  -T /usr/users/he/src/sys/arch/mipsco/stand/bootxx_ffs/../../../../arch/mipsco/conf/stand.ldscript -e start -o bootxx_ffs start.o bootxx.o callvec.o devopen.o conf.o saio.o prom.o /usr/users/he/src/sys/arch/mipsco/stand/bootxx_ffs/obj.mipsco/lib/sa/libsa.a  /usr/users/he/src/sys/arch/mipsco/stand/bootxx_ffs/obj.mipsco/lib/sa/libsa.a /usr/users/he/src/sys/arch/mipsco/stand/bootxx_ffs/obj.mipsco/lib/kern/libkern.a
text    data    bss     dec     hex     filename
   6600     288     284    7172    1c04 bootxx_ffs
mv bootxx_ffs bootxx_ffs.elf
/usr/tools/bin/mipseb--netbsd-objcopy --strip-all -O ecoff-bigmips -R .reginfo bootxx_ffs.elf bootxx_ffs
checking sizes for bootxx_ffs... MAXIMUM FILE SIZE EXCEEDED (8208 > 7168)
*** Error code 1

Stop.


>How-To-Repeat:
	Try to build mipsco snapshot from current sources.

>Fix:
	Sorry, don't know yet.
>Release-Note:
>Audit-Trail:
>Unformatted: