Re: Can't buildworld since Clang update

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Mon, 21 Feb 2011 16:07:42 +0100
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.
Received on Mon Feb 21 2011 - 14:07:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:11 UTC