Date: Wed, 28 Dec 2011 17:26:12 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: Renato Botelho <rbgarga@gmail.com> Cc: current@freebsd.org Subject: Re: Clang error make buildworld Message-ID: <4EFB4324.1060002@FreeBSD.org> In-Reply-To: <CAESiWk=wdZDNxn%2BHcLeOVTF55jMTEP3zVOb1ivAPgNYi2JTB3w@mail.gmail.com> References: <201105040107.p4417NTR048534@pozo.com> <CAESiWk=wdZDNxn%2BHcLeOVTF55jMTEP3zVOb1ivAPgNYi2JTB3w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2011-12-28 16:44, Renato Botelho wrote: > On Tue, May 3, 2011 at 10:07 PM, Manfred Antar<null@pozo.com> wrote: >> I get this error when trying to buildworld on current i386. >> It's been this way for awhile Any Ideas ? >> >> ===> boot/i386/boot0 (all) >> clang -O2 -pipe -DVOLUME_SERIAL -DPXE -DFLAGS=0x8f -DTICKS=0xb6 -DCOMSPEED="7<< 5 + 3" -ffreestanding -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float -std=gnu99 -c /usr/src/sys/boot/i386/boot0/boot0.S >> clang: warning: argument unused during compilation: '-mpreferred-stack-boundary=2' >> /tmp/cc-4SXZt8.s:42:11: error: .code16 not supported yet >> .code16 # This runs in real mode >> ^ This is expected, since the above command line is supposed to have '-no-integrated-as' added. For some reason, the test for clang in sys/boot/i386/boot0/Makefile is not working as it should. Most likely, it is due to the way you set CC, CXX and/or CPP in make.conf. Can you please post that file?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EFB4324.1060002>