From owner-freebsd-current@FreeBSD.ORG Fri May 3 00:55:14 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4DD4CC94; Fri, 3 May 2013 00:55:14 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-ob0-x22e.google.com (mail-ob0-x22e.google.com [IPv6:2607:f8b0:4003:c01::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 1065D1EF3; Fri, 3 May 2013 00:55:14 +0000 (UTC) Received: by mail-ob0-f174.google.com with SMTP id dn14so1018835obc.5 for ; Thu, 02 May 2013 17:55:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=yxS1NCSO+bSL9EGd6JiEXMmaIJDXCID1wQK2Kzlw/fI=; b=SfyAQ4QYsWSoRvsBldB7fbvmvoE1Us8Q4dGTgZ1yWk6YLih+hPHgiPOeqLG2Y51XWC /cyrc/5lM0nEpeJtug03BsiU/w87IcqTpK+YTt3gILFZ1xIK97LC1KOaC+1EluuPNm2o HZuiyXT0fCDOMBxm0Vcn6W4gZaifYNfy7cL0S4KxpMfyN2ACVVPQJNx2hNRSa+wba+AK SIZixKChLVoVa7fagp6Z/+2M8FhqhaD4tWbubyox+j3hURiL1XpcGYyOEoLweMC+nSU6 Y1+cd8/CUm6bCAb2QDrtw7KgK3bkTI8tBSSW63tb5cH9k3ySmVKjOHSoIxOR1XM2dvT+ MeQg== MIME-Version: 1.0 X-Received: by 10.60.133.13 with SMTP id oy13mr2444257oeb.28.1367542513633; Thu, 02 May 2013 17:55:13 -0700 (PDT) Received: by 10.76.156.198 with HTTP; Thu, 2 May 2013 17:55:13 -0700 (PDT) In-Reply-To: <413D3E21-7E3E-4463-A7C7-6A70F4AFF8DB@FreeBSD.org> References: <413D3E21-7E3E-4463-A7C7-6A70F4AFF8DB@FreeBSD.org> Date: Thu, 2 May 2013 20:55:13 -0400 Message-ID: Subject: Re: buildworld of HEAD failing under 8.1-RELEASE From: Ryan Stone To: Dimitry Andric Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Current 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: Fri, 03 May 2013 00:55:14 -0000 On Thu, May 2, 2013 at 7:02 PM, Dimitry Andric wrote: > On May 2, 2013, at 20:28, 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 > ... > > 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. :( > > In 8.1-RELEASE, there was no log2() MFC yet. Can you please try the > attached diff? > This fixed it. Thank you.