Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2012 12:45:27 +0100
From:      Andreas Nilsson <andrnils@gmail.com>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        stable@freebsd.org
Subject:   Re: buildworld fails on recent stable
Message-ID:  <CAPS9%2BSsuYpzZ3D5h%2BHhMf0uwhaLobM9VGCk%2Bzq4_TnthhPURjA@mail.gmail.com>
In-Reply-To: <5097A5E0.2000502@gmail.com>
References:  <5097A5E0.2000502@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 5, 2012 at 12:41 PM, Volodymyr Kostyrko <c.kworr@gmail.com>wrote:

> Hi all.
>
> 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
> *** [boot2] Error code 1
>
> The relevant output before r242562 looked like:
>
> 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=1569 text=0 data=0 bss=0 entry=0
> output: fmt=bin size=1df9 text=200 data=1bf9 org=0 entry=0
> 7 bytes available
> dd if=boot2.ld of=boot2 obs=7680 conv=osync
>
> --
> Sphinx of black quartz, judge my vow.
>

I can confirm, for at least revisions  242602 and 242605.

Regards
Andreas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPS9%2BSsuYpzZ3D5h%2BHhMf0uwhaLobM9VGCk%2Bzq4_TnthhPURjA>