Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2012 22:02:12 +0800
From:      Alie Tan <alie@affle.com>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: Compilation error while compiling FreeBSD9-STABLE with Clang
Message-ID:  <CANuCnH-%2Bn0Ke7wV2fMv5sSMvWsxbT-Ms4cfshyY2bNNwPniKNw@mail.gmail.com>
In-Reply-To: <50A390BE.1090702@FreeBSD.org>
References:  <CANuCnH_EA3M6wWpceWO9Am9V626eoNaTggAxJAa9VPbodDCMig@mail.gmail.com> <50A390BE.1090702@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi

Mine is already the latest. I slready synched my src today. Seems r242907
only for i386? Cmiiw.

Regards,
Alie T

On Wednesday, November 14, 2012, Dimitry Andric <dim@freebsd.org> wrote:
> On 2012-11-14 04:05, Alie Tan wrote:
>>
>> I got compilation error while compiling FreeBSD9-STABLE with Clang:
>>     -m32 -c /usr/src/sys/boot/i386/boot2/sio.S
>> clang: warning: the clang compiler does not support '-fno-unit-at-a-time'
>> 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
>
> Please update your source tree to at least r242907.
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANuCnH-%2Bn0Ke7wV2fMv5sSMvWsxbT-Ms4cfshyY2bNNwPniKNw>