Subject: bootxx_ffs maximum load size exceeded
To: None <port-alpha@netbsd.org>
From: Paul Mather <paul@gromit.dlib.vt.edu>
List: port-alpha
Date: 12/23/2004 19:02:01
I run NetBSD/alpha 2.0E-CURRENT, last completely rebuilt back in May. I
thought I'd do another build.sh complete rebuild after cvs
updating /usr/src a day or so ago. Unfortunately, the build stops,
complaining "checking sizes for bootxx_ffs/bootxx_ffs.sym... MAXIMUM
LOAD SIZE EXCEEDED (7832 > 7680)".
Is anyone else seeing this? Is there anything I can do to eliminate
this error?
I've included at the end the latter part of the build.sh log.
Cheers,
Paul.
--
e-mail: paul@gromit.dlib.vt.edu
"Without music to decorate it, time is just a bunch of boring production
deadlines or dates by which bills must be paid."
--- Frank Vincent Zappa
>>>>>
# compile kern/strrchr.o
/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/alpha--netbsd-gcc -ffreestanding -mno-fp-regs -g -Os -I/usr/src/sys/arch/alpha/stand/bootxx_ffs/../../../../lib/libkern/arch/alpha -DLIBSA_SINGLE_FILESYSTEM=ufs -DBOOTXX_FS_NAME='"FFS"' -DBOOTXX_RAID1_SUPPORT -DNO_GETCHAR -D__daddr_t=int32_t -DPRIMARY_BOOTBLOCK -DSECONDARY_LOAD_ADDRESS="0x20004000" -DSECONDARY_MAX_LOAD="114688" -DHEAP_LIMIT="(0x20000000 + 262144)" -DHEAP_START="(0x20004000 + 114688)" -DLIBSA_FS_SINGLECOMPONENT -DLIBSA_NO_FS_WRITE -DLIBSA_NO_FS_CLOSE -DLIBSA_NO_FS_SEEK -DLIBSA_SINGLE_DEVICE=blkdev -D"blkdevioctl(x,y,z)=EINVAL" -D"blkdevclose(f)=0" -DLIBSA_NO_TWIDDLE -DLIBSA_NO_FD_CHECKING -DLIBSA_NO_RAW_ACCESS -DLIBSA_NO_DISKLABEL_MSGS -DLIBSA_USE_MEMCPY -nostdinc -I/usr/src/sys/arch/alpha/stand/bootxx_ffs/obj -D_STANDALONE -I/usr/src/sys/arch/alpha/stand/bootxx_ffs/../../../.. -DNETBSD_VERS='"2.99.11"' -I/usr/src/sys/arch/alpha/stand/bootxx_ffs/../.. -nostdinc -isystem /home/netbsd/usr/include -nostdinc -isystem!
/home/netbsd/usr/include -c /usr/src/sys/lib/libkern/strrchr.c -o strrchr.o.tmp
/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/alpha--netbsd-ld -x -r strrchr.o.tmp -o strrchr.o
rm -f strrchr.o.tmp
# build kern/libkern.a
rm -f libkern.a
/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/alpha--netbsd-ar cq libkern.a `NM=/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/alpha--netbsd-nm NM=/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/alpha--netbsd-nm MKTEMP=/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/nbmktemp /usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/nblorder __main.o __assert.o _mcount.o imax.o imin.o lmax.o lmin.o max.o min.o ulmax.o ulmin.o byte_swap_2.o byte_swap_4.o bswap64.o bcmp.o bcopy.o bzero.o ffs.o memchr.o memcmp.o memcpy.o memmove.o memset.o softfloat.o strcat.o strcmp.o strcpy.o strlen.o strcasecmp.o strncasecmp.o strncmp.o strncpy.o strtoul.o scanc.o skpc.o random.o __divqu.o __divq.o __divlu.o __divl.o __remqu.o __remq.o __remlu.o __reml.o __cmsg_alignbytes.o inet_addr.o intoa.o md4c.o md5c.o sha1.o pmatch.o _que.o arc4random.o strstr.o strlcpy.o strlcat.o xlat_mbr_fstype.o strchr.o strrchr.o | /usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/nbtsort -q`
/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/alpha--netbsd-ranlib libkern.a
/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/alpha--netbsd-ld -Ttext 0x20000000 -N -e start -o bootxx_ffs.sym start.o bootxx.o booted_dev.o blkdev.o prom.o prom_disp.o putstr.o panic_putstr.o /usr/src/sys/arch/alpha/stand/bootxx_ffs/obj/lib/sa/libsa.a /usr/src/sys/arch/alpha/stand/bootxx_ffs/obj/lib/kern/libkern.a -Map bootxx_ffs.map
text data bss dec hex filename
7491 336 348 8175 1fef bootxx_ffs.sym
rm -f .gdbinit
echo "set solib-absolute-prefix /home/netbsd" > .gdbinit
creating bootxx_ffs from bootxx_ffs.sym...
-rw-r--r-- 1 root wheel 7832 Dec 23 18:05 bootxx_ffs
checking sizes for bootxx_ffs/bootxx_ffs.sym... MAXIMUM LOAD SIZE EXCEEDED (7832 > 7680)
*** Failed target: bootxx_ffs
*** Failed command: SIZE=/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/alpha--netbsd-size sh /usr/src/sys/arch/alpha/stand/bootxx_ffs/../common/checksize.sh bootxx_ffs.sym bootxx_ffs 7680 16384 || (rm -f bootxx_ffs ; false)
*** Error code 1
Stop.
nbmake: stopped in /usr/src/sys/arch/alpha/stand/bootxx_ffs
[[...etc.]]