From owner-freebsd-current@FreeBSD.ORG Tue Feb 22 15:44:32 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D8AC106566C; Tue, 22 Feb 2011 15:44:32 +0000 (UTC) (envelope-from null@pozo.com) Received: from pozo.com (pozo.com [216.101.162.50]) by mx1.freebsd.org (Postfix) with ESMTP id CC2538FC08; Tue, 22 Feb 2011 15:44:31 +0000 (UTC) Received: from T61p.pozo.com (t61p.pozo.com [192.168.0.4]) (authenticated bits=0) by pozo.com (8.14.4/8.14.4) with ESMTP id p1MFiDwv005627 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 22 Feb 2011 07:44:13 -0800 (PST) (envelope-from null@pozo.com) Message-Id: <201102221544.p1MFiDwv005627@pozo.com> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Tue, 22 Feb 2011 07:44:07 -0800 To: Dimitry Andric , Olivier Smedts From: Manfred Antar Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-100.9 required=5.0 tests=ALL_TRUSTED,MISSING_MID, USER_IN_WHITELIST autolearn=no version=3.3.1, No X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pozo.com X-pozocom-MailScanner-Information: Please contact the ISP for more information X-pozocom-MailScanner-ID: p1MFiDwv005627 X-pozocom-MailScanner: Found to be clean X-pozocom-MailScanner-From: null@pozo.com Cc: freebsd-current@freebsd.org Subject: Re: Can't buildworld since Clang update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 15:44:32 -0000 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 Turns out that cvsup10.us.freebsd.org which i was using is not up to date. I'm using cvsup.us.freebsd.org now and am getting many new updates. >================================== >|| 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.