From owner-freebsd-current@FreeBSD.ORG Wed Feb 23 16:04:16 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 9CC96106566C for ; Wed, 23 Feb 2011 16:04:16 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5914A8FC0A for ; Wed, 23 Feb 2011 16:04:16 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:1131:79f:9a2b:b0a3] (unknown [IPv6:2001:7b8:3a7:0:1131:79f:9a2b:b0a3]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 4AB565C37; Wed, 23 Feb 2011 17:04:15 +0100 (CET) Message-ID: <4D653007.9080103@FreeBSD.org> Date: Wed, 23 Feb 2011 17:04:23 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.15pre) Gecko/20110221 Lanikai/3.1.9pre MIME-Version: 1.0 To: "datastream datastream.freecity" References: <4D627FBE.1070700@FreeBSD.org> <4D63D28B.4080900@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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: Wed, 23 Feb 2011 16:04:16 -0000 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?