buildworld fails on recent stable

Dimitry Andric dim at FreeBSD.org
Mon Nov 5 14:51:46 UTC 2012


On 2012-11-05 12:41, Volodymyr Kostyrko wrote:
> When CLANG_IS_CC build fails at sys/boot/i386/boot2:
>
> ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -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.02 size=690 load=9000 entry=9010 map=16M pgctl=1:1
> client: fmt=bin size=1575 text=0 data=0 bss=0 entry=0
> output: fmt=bin size=1e05 text=200 data=1c05 org=0 entry=0
> -5 bytes available

This seems to be caused by r242562, which is an MFC of r241301.  The
code changes are quite trivial though.  Strangely enough, on head it
does build successfully, but head is using a newer version of clang, so
that may explain the difference.  Investigating...


More information about the freebsd-stable mailing list