I'm trying to upgrade to 4.9-STABLE from 4.9-RELEASE. The current installation is unchanged from the install .iso images except for the addition of some ports. After doing cvsup with tag=RELENG_4_9 make buildworld fails with the following. ===> sys/boot/i386/boot2 as --defsym FLAGS=0x80 /usr/src/sys/boot/i386/boot2/boot1.s -o boot1.o ld -nostdlib -static -N -e start -Ttext 0x7c00 -o boot1.out boot1.o objcopy -S -O binary boot1.out boot1 dd if=/dev/zero of=boot2.ldr bs=512 count=1 2>/dev/null nm -t d boot1.out | awk '/([0-9])+ T xread/ { x = $1 - ORG1; printf("#define XREADORG 0x7%x\n", x) }' ORG1=`printf "%d" 0x7c00` > boot2.h cc -elf -I/usr/src/sys/boot/i386/boot2/../btx/lib -I. -Os -fno-builtin -fforce-addr -fdata-sections -malign-functions=0 -malign-jumps=0 -malign-loops=0 -mrtd -mpreferred-stack-boundary=2 -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -mpreferred-stack-boundary=2 -c /usr/src/sys/boot/i386/boot2/boot2.c as --defsym SIOPRT=0x3f8 --defsym SIOFMT=0x3 --defsym SIOSPD=9600 /usr/src/sys/boot/i386/boot2/sio.s -o sio.o ld -nostdlib -static -N -Ttext 0x1000 -o boot2.out /usr/obj/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o sio.o objcopy -S -O binary boot2.out boot2.bin btxld -v -E 0x1000 -f bin -b /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr -o boot2.ld -P 1 boot2.bin btxld: /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx: Not a BTX kernel I'm not very familiar with FreeBSD, so any help would be appreciated. The relevant part of my cvsup file is *default host=cvsup11.FreeBSD.org *default base=/usr *default prefix=/usr *default tag=RELENG_4_9 *default release=cvs delete use-rel-suffix Joe
On Fri, Mar 05, 2004 at 06:04:25PM -0600, Joe Halpin wrote:> I'm trying to upgrade to 4.9-STABLE from 4.9-RELEASE. The current > installation is unchanged from the install .iso images except for the > addition of some ports. > > After doing cvsup with tag=RELENG_4_9 make buildworld fails with the > following. >[...]> btxld: /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx: Not a BTX kernel > > I'm not very familiar with FreeBSD, so any help would be appreciated. >"make cleandir" twice and try again. Most likely, that file was somehow truncated or broken. (btxld(8) verifies its signature.) Cheers, -- Ruslan Ermilov FreeBSD committer ru@FreeBSD.org -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20040306/50f92db8/attachment.bin