Can't buildworld since Clang update

Dimitry Andric dim at FreeBSD.org
Mon Feb 21 15:07:39 UTC 2011


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.


More information about the freebsd-current mailing list