NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/41204: build.sh error ### bootxx_ffsv2 size 7964 is larger than 7680



>Number:         41204
>Category:       toolchain
>Synopsis:       build.sh error ### bootxx_ffsv2 size 7964 is larger than 7680
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 14 14:45:00 +0000 2009
>Originator:     Niels Dettenbach
>Release:        NetBSD-current (09-04-14)
>Organization:
Syndicat IT&Internet
>Environment:
 build tried on:
 - netbsd 4.99.73
 - (cross build) Gentoo Linux 2009Q2
 - (cross build) Gentoo Linux 2008Q4 
System: NetBSD ffm-dr1.syndicat.com 4.99.73 NetBSD 4.99.73 (XEN3_DOMU_NIELS) 
#1: Sat Oct 25 11:23:38 CEST 2008 
root@xen:/root/netbsd/obj/sys/arch/i386/compile/XEN3_DOMU_NIELS i386
Architecture: i386
Machine: i386
>Description:
Dear netbsd devels,


i got this error by building a release by:

#      link  bootxx_ffsv2/bootxx_ffsv2
/var/netbsd/src/../tools/bin/i486--netbsdelf-gcc -o bootxx_ffsv2.sym  -nostdlib 
-Wl,-N -Wl,-e,start  -Wl,-Ttext,0x600  -Wl,-Map,bootxx_ffsv2.map -Wl,-cref 
pbr.o 
label.o bootxx.o 
boot1.o 
/var/netbsd/src/../obj/sys/arch/i386/stand/bootxx/bootxx_ffsv2/lib/i386/libi386.a
 
/var/netbsd/src/../obj/sys/arch/i386/stand/bootxx/bootxx_ffsv2/lib/sa/libsa.a 
/var/netbsd/src/../obj/sys/arch/i386/stand/bootxx/bootxx_ffsv2/lib/kern/libkern.a
 
/var/netbsd/src/../obj/sys/arch/i386/stand/bootxx/bootxx_ffsv2/lib/i386/libi386.a
 /var/netbsd/src/../obj/sys/arch/i386/stand/bootxx/bootxx_ffsv2/lib/sa/libsa.a
/var/netbsd/src/../tools/bin/i486--netbsdelf-objcopy -O binary bootxx_ffsv2.sym 
bootxx_ffsv2
### bootxx_ffsv2 size 7964 is larger than 7680
*** [bootxx_ffsv2] Error code 1


when build a release by:

        sh build.sh -m i386 -O ../obj/ -T ../tools -X ../xsrc -R ../release -j 
2 -U -u -r release releasekernel=XEN3_DOMU_NIELS iso-image

This happens on a freshly checked out current as at some of my tries several 
monthes before too.

I tried this build on different netbsd (4.x) with different checkouts and under 
cross building on Gentoo linux machines - with same result.

>How-To-Repeat:
cvs checkout netbsd-current and
sh build.sh -m i386 -O ../obj/ -T ../tools -X ../xsrc -R ../release -j 2 -U -u 
-r release releasekernel=XEN3_DOMU_NIELS iso-image

(i.e. without user changed kernel config)
sh build.sh -m i386 -O ../obj/ -T ../tools -X ../xsrc -R ../release -j 2 -U -u 
-r release iso-image

>Fix:
If i comment out bootxx_ffsv2 (as i dont need this boot option so this might be 
no real fix i assume) or change the var 7680 to that higher value - then i get 
a 
installable system for me, but i assume this problem would affect other users 
too when they try to build their own netbsd by following netbsd docs.



Home | Main Index | Thread Index | Old Index