Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 May 2011 08:38:36 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Manfred Antar <null@pozo.com>
Cc:        current@freebsd.org
Subject:   Re: Clang error make buildworld
Message-ID:  <4DC0F46C.3020806@FreeBSD.org>
In-Reply-To: <201105040107.p4417NTR048534@pozo.com>
References:  <201105040107.p4417NTR048534@pozo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2011-05-04 03:07, Manfred Antar 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

For some reason, on your system, it does not compile boot0.S with
-no-integrated-as.  It works fine here though, so it must be something
local to your system.  Can you please post:

- Your full make.conf and src.conf
- The first 30 lines of sys/boot/i386/boot0/Makefile



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DC0F46C.3020806>