From owner-freebsd-current@FreeBSD.ORG Thu Feb 24 07:26:56 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 AAD6210656C1; Thu, 24 Feb 2011 07:26:56 +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 4CB0F8FC1C; Thu, 24 Feb 2011 07:26:56 +0000 (UTC) Received: by gxk7 with SMTP id 7so152466gxk.13 for ; Wed, 23 Feb 2011 23:26:55 -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=Ru4fe52DVpZNubH5EZJt3dIUetlAiAma/vxOc1Iddls=; b=KpUJ3K27RwK45+FqiwqcU4umUk4YRNVALAN0PDX44S2kY1ZF/PkZHsx6xMYi8SvMsf pjsoIhPS9UpiTDJBdWrPJiTFQ8k1Igqp86YH5FPuWbIvxg708wrG2YtZCEpbBQC/RyVL mvuknWlk0FVPBsVNAPBlaatxMvjCsfP7sCk2g= 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=Dx6+cYjMuIS82GisSN9jzn+F7LC9MTGABOZNGrwCBiH3FVryx5zrVkKrIdqjD2nv6w K5WhjwklCiyo/OHbC3luHtXEGxZ+YypQEKPQD88LCPs1/uTGy62L+0+1v8NaSaREwMdI oxWWAHxqEnTV3MImJTtoU4PzNq6Yo8cQ+kZDk= MIME-Version: 1.0 Received: by 10.151.44.20 with SMTP id w20mr1363285ybj.177.1298532414830; Wed, 23 Feb 2011 23:26:54 -0800 (PST) Received: by 10.151.47.7 with HTTP; Wed, 23 Feb 2011 23:26:54 -0800 (PST) In-Reply-To: <4D653007.9080103@FreeBSD.org> References: <4D627FBE.1070700@FreeBSD.org> <4D63D28B.4080900@FreeBSD.org> <4D653007.9080103@FreeBSD.org> Date: Thu, 24 Feb 2011 15:26:54 +0800 Message-ID: From: "datastream datastream.freecity" To: Dimitry Andric Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Olivier Smedts , 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: Thu, 24 Feb 2011 07:26:56 -0000 I removed /etc/src.conf.binutils is 2.15. #svn info /usr/src Path: /usr/src URL: http://svn.freebsd.org/base/head Repository Root: http://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 218985 Node Kind: directory Schedule: normal Last Changed Author: brucec Last Changed Rev: 218985 Last Changed Date: 2011-02-24 05:45:28 +0800 (Thu, 24 Feb 2011) #cat /etc/make.conf .if ${.CURDIR:N*usr/src*}=="" .if !defined(CC) || ${CC} == "cc" CC=clang .endif .if !defined(CXX) || ${CXX} == "c++" CXX=clang++ .endif NO_WERROR= WERROR= .endif #printenv TERM=xterm FTP_PASSIVE_MODE=YES BLOCKSIZE=K MAIL=/var/mail/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/usr/local/afs/bin:/root/bin:/usr/local/texlive/2007/bin/i386-freebsd:/usr/local/kde4/bin SHELL=/bin/csh HOME=/root USER=root HOSTTYPE=FreeBSD VENDOR=unknown OSTYPE=FreeBSD MACHTYPE=unknown SHLVL=1 PWD=/root LOGNAME=root GROUP=wheel HOST=datastream-laptop.people.163.org REMOTEHOST= LSCOLORS=ExGxFxdxCxegedabagExEx CLICOLOR=yes MANPATH=/usr/share/man:/usr/local/man:/usr/X11R6/man:/usr/local/lib/perl5/5.8.8/man:/usr/local/lib/perl5/5.8.8/perl/man:/usr/local/texlive/2007/texmf/doc/man EDITOR=ee PAGER=less #clang -v FreeBSD clang version 2.8 (tags/RELEASE_28 115870) 20101007 Target: x86_64-undermydesk-freebsd9.0 Thread model: posix On Thu, Feb 24, 2011 at 12:04 AM, Dimitry Andric wrote: > On 2011-02-23 14:22, datastream datastream.freecity wrote: > >> I deleted all files in /usr/src and /usr/obj. it changes nothing, i still >> get same error. >> >> In /etc/make.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= >> STRIP= >> CFLAGS+=-fno-omit-frame-pointer >> > > I just did a full buildworld and buildkernel with exactly these settings > (deleted src.conf), and it worked fine. Is there any more information > you can supply? E.g. which exact revision of the tree are you trying to > build, which version of clang are you using, version of binutils, or any > other non-default environment settings? >