From owner-freebsd-current@FreeBSD.ORG Tue Feb 22 17:38:34 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 BAC9D106564A; Tue, 22 Feb 2011 17:38:34 +0000 (UTC) (envelope-from datastream.freecity@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5EA908FC15; Tue, 22 Feb 2011 17:38:34 +0000 (UTC) Received: by gxk7 with SMTP id 7so1130233gxk.13 for ; Tue, 22 Feb 2011 09:38:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=5wo3PipLQ0Cqql3o5ZINxnHHCZTiuDWZNZqQ0OmbC/A=; b=Zbg1Bl4xlrtevdlgysxdFWFltJxqr9nUj+b3wUiKBYOvkZrg96y8LdtoeWjJPUWOEs 7dTE+hFRzl7MmQ2PiwHlLGfhG4lRBS10uVlcTTSEr3GkvcysrCNympA66QCGGIaPZzBe DRGfMmk3w2ZArfPsSP+7paIbsqU4JkoAT/krs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=i34fOJZ7NjR2r/oTMzxsSrUDxUZrH7WIsXD7wPkyNZHwp9PPjN+tPyheIPG5AgQCV+ h0LiPnbME+jKVqIGoMgE7LXkarVNV40aVNLKiPIdoTBZTirgmSuyezqn5sYgiiAMOyRI gqxG/KUmBhw1opm2VnF7tYfsB52EkV0W4HnS0= MIME-Version: 1.0 Received: by 10.150.192.8 with SMTP id p8mr3647356ybf.405.1298396313453; Tue, 22 Feb 2011 09:38:33 -0800 (PST) Received: by 10.151.47.7 with HTTP; Tue, 22 Feb 2011 09:38:33 -0800 (PST) In-Reply-To: <201102221544.p1MFiDwv005627@pozo.com> References: <201102221544.p1MFiDwv005627@pozo.com> Date: Wed, 23 Feb 2011 01:38:33 +0800 Message-ID: From: "datastream datastream.freecity" To: Manfred Antar Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Olivier Smedts , freebsd-current@freebsd.org, Dimitry Andric 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 17:38:34 -0000 In /etc/make.conf, I only add 'CFLAGS+=-fno-omit-frame-pointer'.And removed all files in /usr/obj. /usr/src sync with http://svn.freebsd.org/base/head. #make buildkernel .... MAKE=make sh /usr/src/sys/conf/newvers.sh G9laptop /usr/local/bin/svnversion clang -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector vers.c clang: warning: argument unused during compilation: '-frename-registers' clang: warning: argument unused during compilation: '-mfpmath=387' linking kernel ld:/usr/src/sys/conf/ldscript.amd64:9: syntax error *** Error code 1 .... On Tue, Feb 22, 2011 at 11:44 PM, Manfred Antar wrote: > 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. > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >