buildworld of HEAD failing under 8.1-RELEASE

Dimitry Andric dim at FreeBSD.org
Thu May 2 23:02:49 UTC 2013


On May 2, 2013, at 20:28, Ryan Stone <rysto32 at gmail.com> 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
...
> 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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-config-log2-1.diff
Type: application/octet-stream
Size: 717 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130503/459e8beb/attachment.obj>


More information about the freebsd-current mailing list