From owner-freebsd-current@FreeBSD.ORG Fri May 3 18:50:00 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 828CB307 for ; Fri, 3 May 2013 18:50:00 +0000 (UTC) (envelope-from dim@freebsd.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) by mx1.freebsd.org (Postfix) with ESMTP id 48F9E1D35 for ; Fri, 3 May 2013 18:50:00 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::994f:ad10:491f:2d56] (unknown [IPv6:2001:7b8:3a7:0:994f:ad10:491f:2d56]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 357B95C45; Fri, 3 May 2013 20:49:57 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: buildworld of HEAD failing under 8.1-RELEASE From: Dimitry Andric In-Reply-To: Date: Fri, 3 May 2013 20:49:39 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <413D3E21-7E3E-4463-A7C7-6A70F4AFF8DB@FreeBSD.org> To: Ryan Stone X-Mailer: Apple Mail (2.1503) 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 18:50:00 -0000 On May 3, 2013, at 02:55, Ryan Stone wrote: > 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): ... >> = /usr/d2/users/rstone/git/svos/lib/clang/libllvmanalysis/../../../contrib/l= lvm/lib/Analysis/ConstantFolding.cpp:1310: >>> error: 'log2' was not declared in this scope ... >> In 8.1-RELEASE, there was no log2() MFC yet. Can you please try the >> attached diff? > This fixed it. Thank you. I have committed the fix in r250217. Since stable/9 still has clang 3.2, it does not have the original issue, so no MFC is needed for now.