make buildworld failure

John Van Ham jvanham at newleaf.co.uk
Tue Sep 24 10:25:37 BST 2002


Lou Kamenov [mailto:lou.kamenov at aeye.net] said
On 22 September 2002 01:11:

>> 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
>> 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

> 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?:)

Tried that:

bash-2.05# pwd
/usr/src/sys/boot/i386/boot2
bash-2.05# dd if=/dev/zero of=boot2.ldr bs=512 count1 2>/dev/null
bash-2.05#

As you can see no problems! 

>> 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.

Ok I removed completely /usr/obj/* and /usr/src/* then told cvsup to grab
4.6.2-RELEASE, ran make buildworld and exactly the same problem occurs

>> 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 :)

Any ideas anyone?

John Van Ham




More information about the Ukfreebsd mailing list