From owner-freebsd-current@FreeBSD.ORG Thu May 2 18:36:52 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 887CDC24 for ; Thu, 2 May 2013 18:36:52 +0000 (UTC) (envelope-from lifanov@mail.lifanov.com) Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12]) by mx1.freebsd.org (Postfix) with ESMTP id 769911F70 for ; Thu, 2 May 2013 18:36:52 +0000 (UTC) Received: from [10.1.3.5] (cnet520-windstream.mcclatchyinteractive.com [166.108.16.2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.lifanov.com (Postfix) with ESMTPSA id 69F3E1A0173; Thu, 2 May 2013 18:36:46 +0000 (UTC) Message-ID: <5182B23C.8000804@mail.lifanov.com> Date: Thu, 02 May 2013 14:36:44 -0400 From: Nikolai Lifanov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130403 Thunderbird/17.0.5 MIME-Version: 1.0 To: rysto32@gmail.com Subject: Re: buildworld of HEAD failing under 8.1-RELEASE References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Current FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 May 2013 18:36:52 -0000 On 05/02/2013 02:28 PM, Ryan Stone wrote: > I am getting the following error when trying to build HEAD on an > 8.1-RELEASE build machine (i386 jail on an amd64 host): > > ===> lib/clang/libllvmanalysis (all) > /usr/d2/users/rstone/git/svos/lib/clang/libllvmanalysis/../../../contrib/llvm/lib/Analysis/ConstantFolding.cpp: > In function 'llvm::Constant* llvm::ConstantFoldCall(llvm::Function*, > llvm::ArrayRef, const llvm::TargetLibraryInfo*)': > /usr/d2/users/rstone/git/svos/lib/clang/libllvmanalysis/../../../contrib/llvm/lib/Analysis/ConstantFolding.cpp:1310: > error: 'log2' was not declared in this scope > *** [ConstantFolding.o] Error code 1 > 1 error > *** [all] Error code 2 > 1 error > *** [cross-tools] Error code 2 > 1 error > *** [_cross-tools] Error code 2 > 1 error > *** Error code 2 > 1 error > > Is there anything that I can do other than build on another machine? I > don't control the build machines at $WORK so I'm not sure whether I can get > them upgraded. :( > _______________________________________________ > 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" > I think, per http://svnweb.freebsd.org/base/head/UPDATING?view=co You need to bootstrap clang by building a recent version WITHOUT_CLANG and then removing the version. - Nikolai Lifanov