Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2011 16:07:42 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Olivier Smedts <olivier@gid0.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Can't buildworld since Clang update
Message-ID:  <4D627FBE.1070700@FreeBSD.org>
In-Reply-To: <AANLkTimw-btyXh2kbz3r_T9gQVSNuTXVY=JyYsMtG8_z@mail.gmail.com>
References:  <AANLkTimw-btyXh2kbz3r_T9gQVSNuTXVY=JyYsMtG8_z@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2011-02-21 11:33, Olivier Smedts wrote:
> I can't buildworld with Clang since the last update.
...
> %cat /etc/src.conf
> .if !defined(CC) || ${CC} == "cc"
> CC=clang
> .endif
> .if !defined(CXX) || ${CXX} == "c++"
> CXX=clang++
> .endif
> # Don't die on warnings
> NO_WERROR=
> WERROR=

Try putting these lines in /etc/make.conf instead.  Unfortunately, due
to the way src.conf is read, it isn't usable for the few cases we need
to disable clang's integrated assembler, using the '-no-integrated-as'
option.


> /tmp/cc-VUyvc6.s:6:1: warning: ignoring directive for now
> .intel_syntax noprefix
> ^

In this case, you hit the one and only instance of the '.intel_syntax'
directive in the tree; this directive is not yet supported by clang's
integrated assembler.



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