Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2011 07:16:58 -0800
From:      Manfred Antar <null@pozo.com>
To:        Dimitry Andric <dim@freebsd.org>, Olivier Smedts <olivier@gid0.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Can't buildworld since Clang update
Message-ID:  <201102221517.p1MFH419086921@pozo.com>
In-Reply-To: <4D627FBE.1070700@FreeBSD.org>
References:  <AANLkTimw-btyXh2kbz3r_T9gQVSNuTXVY=JyYsMtG8_z@mail.gmail.com> <4D627FBE.1070700@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 07:07 AM 2/21/2011, Dimitry Andric wrote:
>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
>>^
>
>I too am having trouble with buildworld
>I switched back to standard /usr/bin/cc, but make buildworld stops here:
>
>c++ -O2 -pipe -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/include -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -I. -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DLLVM_HOSTTRIPLE=\"i386-undermydesk-freebsd9.0\" -I/usr/obj/usr/src/tmp/legacy/usr/include -fno-exceptions -c /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/system_error.cpp
>building static llvmsupport library
>ranlib libllvmsupport.a
>===> lib/clang/libllvmsystem (obj,depend,all,install)
>cd: can't cd to /usr/src/lib/clang/libllvmsystem
>*** Error code 2
>
>Stop in /usr/src.
>*** Error code 1
>
>Stop in /usr/src.
>*** Error code 1
>
>Stop in /usr/src.
>
>Last night i deleted /usr/src and did a fresh cvsup
>Still same problem
>
>==================================
>||      null@pozo.com           ||
>||      Ph. (415) 681-6235      ||
>================================== 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




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