From owner-freebsd-current@FreeBSD.ORG Tue Feb 22 18:11:00 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 8F409106566B for ; Tue, 22 Feb 2011 18:11:00 +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 4D6A78FC1C for ; Tue, 22 Feb 2011 18:11:00 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:794d:2247:36f9:4086] (unknown [IPv6:2001:7b8:3a7:0:794d:2247:36f9:4086]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 80DDC5C59; Tue, 22 Feb 2011 19:10:59 +0100 (CET) Message-ID: <4D63FC39.3070705@FreeBSD.org> Date: Tue, 22 Feb 2011 19:11:05 +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: <201102221544.p1MFiDwv005627@pozo.com> 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: Tue, 22 Feb 2011 18:11:00 -0000 On 2011-02-22 18:38, datastream datastream.freecity wrote: > 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 Before you do "make buildkernel", always run "make buildworld", or at least "make kernel-toolchain". This ensures you have an up-to-date ld (and other tools) under /usr/obj. That said, these steps are normally only needed when e.g. binutils or other toolchain components have been upgraded. This has happened so seldom in the past few years, that people seem to have forgotten how bootstrapping works. :)