Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Mar 2004 18:04:25 -0600
From:      Joe Halpin <joe.halpin@comcast.net>
To:        stable@freebsd.org
Subject:   Failure in make buildworld
Message-ID:  <40491589.6020301@comcast.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40491589.6020301>