make buildworld failure

Lou Kamenov lou.kamenov at aeye.net
Sun Sep 22 01:11:00 BST 2002


On Fri, 20 Sep 2002 15:40:27 +0100
John Van Ham <jvanham at newleaf.co.uk> wrote:

> Hi all,
> 
> Appologies if this has been covered before. I have spent a few days trawling
> the net and mailing lists but haven't found a solution as yet.
> 
> After cvsuping the stable branch - running 'make buildworld' on a
> 4.4-release machine after some time I get the following error:
> 
> ===> sys/boot/i386/btx/lib
> as  -elf -o btxcsu.o /home/freebsd/src/sys/boot/i386/btx/lib/btxcsu.s
> as  -elf -o btxsys.o /home/freebsd/src/sys/boot/i386/btx/lib/btxsys.s
> as  -elf -o btxv86.o /home/freebsd/src/sys/boot/i386/btx/lib/btxv86.s
> ld  -elf -i -o crt0.o btxcsu.o btxsys.o btxv86.o
> ===> sys/boot/i386/boot2

> as  --defsym FLAGS=0x80 /home/freebsd/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
> *** Error code 126

i suppose it something aroud `dd ...`
try it manually `dd if=/dev/zero of=boot2.ldr bs=512 count1 2>/dev/null`

may be permission denied?:)

> 
> Stop in /home/freebsd/src/sys/boot/i386/boot2.
> *** Error code 1
> 
> Stop in /home/freebsd/src/sys/boot/i386.
> *** Error code 1
> 
> Stop in /home/freebsd/src/sys/boot.
> *** Error code 1
> 
> Stop in /home/freebsd/src/sys.
> *** Error code 1
> 
> Stop in /home/freebsd/src.
> *** Error code 1
> 
> Stop in /home/freebsd/src.
> *** Error code 1

make(1)

> 
> Stop in /home/freebsd/src.
> 
> 
> I have tried removing /usr/obj/* and running 'make cleandir && make
> cleandir' in /usr/src and cvsuping again - no luck.

uh, thats weird, i`d remove usr/src and download the src tree from the ftp again (change in options from 4.4-SOMETHING to 4.6-RELEASE) && cvsup and rebuild.

> 
> I upgraded a 4.6-stable machine to 4.7-rc fine aswell as another 4.4-release
> machine to 4.7-rc... Seems the third time isn't always lucky!
> 
> Suggestions please :)
> 
> John Van Ham
> 
> ------ FreeBSD UK Users' Group  -  Mailing List ------
> http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users
> 

cheers,
-lk




More information about the Ukfreebsd mailing list