Date: Sun, 23 Feb 2003 02:46:27 -0800 From: Daxbert <daxbert_news@dweebsoft.com> To: "" <questions@freebsd.org> Subject: btxld fails in boot2 during buildworld for -current Message-ID: <1045997186.3e58a6830417c@ra.dweebsoft.com>
next in thread | raw e-mail | index | archive | help
I'm sorry if 'questions' isn't the proper list for this... (let me know which list if this isn't the right one) It seems that the btxld command run in boot2 is failing with '-293 bytes available' This first happened earlier yesterday (02/22/2003) My last cvsup was at 02/23/2003 @ 0053 PST (about 2 hours ago) I nuked and re-cvs'd the /usr/src/sys/boot/i386 directory, and I am still having the same problem. Has anybody else had or having this problem? The host is an Intel P4, 512MB RAM, Abit SR7-8X # uname -a FreeBSD host.dweebsoft.com 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Fri Feb 21 01:59:28 PST 2003 root@host.dweebsoft.com:/usr/obj/usr/src/sys/CUSTOM i386 # make buildworld <clip> ===> sys/boot/i386/boot2 cpp -elf -ffreestanding -Os -fno-builtin -fno-guess-branch-probability -fomit-frame-pointer -mno-align-long-strings -mrtd -DUFS1_AND_UFS2 -I/usr/src/sys/boot/i386/boot2/../../common -I/usr/src/sys/boot/i386/boot2/../btx/lib -I. -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -ffreestanding -mpreferred-stack-boundary=2 /usr/src/sys/boot/i386/boot2/boot1.s | as --defsym FLAGS=0x80 -o boot1.o ld -nostdlib -static -N --gc-sections -e start -Ttext 0x7c00 -o boot1.out boot1.o objcopy -S -O binary boot1.out boot1 dd if=/dev/zero of=boot2.ldr bs=276 count=1 2>/dev/null nm -t d boot1.out | awk '/([0-9])+ T xread/ { x = $1 - ORG1; printf("#define XREADORG %#x\n", REL1 + x) }' ORG1=`printf "%d" 0x7c00` REL1=`printf "%d" 0x700` > boot2.h cc -elf -ffreestanding -Os -fno-builtin -fno-guess-branch-probability -fomit-frame-pointer -mno-align-long-strings -mrtd -DUFS1_AND_UFS2 -I/usr/src/sys/boot/i386/boot2/../../common -I/usr/src/sys/boot/i386/boot2/../btx/lib -I. -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -ffreestanding -mpreferred-stack-boundary=2 -S -o boot2.s.tmp /usr/src/sys/boot/i386/boot2/boot2.c sed -e '/align/d' -e '/nop/d' < boot2.s.tmp > boot2.s rm -f boot2.s.tmp as -o boot2.o boot2.s 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 --gc-sections -Ttext 0x2000 -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 0x2000 -f bin -b /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr -o boot2.ld -P 1 boot2.bin kernel: ver=1.01 size=780 load=9000 entry=9010 map=16M pgctl=1:1 client: fmt=bin size=1691 text=0 data=0 bss=0 entry=0 output: fmt=bin size=1f25 text=114 data=1e11 org=0 entry=0 -293 bytes available *** Error code 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1045997186.3e58a6830417c>