Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 May 2013 14:36:44 -0400
From:      Nikolai Lifanov <lifanov@mail.lifanov.com>
To:        rysto32@gmail.com
Cc:        Current FreeBSD <freebsd-current@freebsd.org>
Subject:   Re: buildworld of HEAD failing under 8.1-RELEASE
Message-ID:  <5182B23C.8000804@mail.lifanov.com>
In-Reply-To: <CAFMmRNzz80WS6=K8CskWN3c9Gp5r-aJzGm70Ywhx-rNui=CKZw@mail.gmail.com>
References:  <CAFMmRNzz80WS6=K8CskWN3c9Gp5r-aJzGm70Ywhx-rNui=CKZw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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<llvm::Constant*>, 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5182B23C.8000804>