Re: r111 build error

From: Lev Serebryakov <lev_at_FreeBSD.org>
Date: Wed, 12 Dec 2018 15:34:47 +0300
On 12.12.2018 14:59, Dimitry Andric wrote:

>>>> ld: error: undefined symbol: clang::CallExpr::getLocStart() const
>>>>>>> referenced by MacOSXAPIChecker.cpp:86
>>>>>>> (/usr/src/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp:86)
>>>>>>> MacOSXAPIChecker.o:((anonymous
>>>>>>> namespace)::MacOSXAPIChecker::CheckDispatchOnce(clang::ento::CheckerContext&,
>>>>>>> clang::CallExpr const*, llvm::StringRef) const) in
>>>>>>> archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
> 
> Any ideas on how to reproduce this build failure?  I have run multiple
> universe builds before committing this update, and I never saw any error
> which resembles the above.
 rm -rf /usr/obj/src helps to get rid of this error. I've had /usr/obj
from previous version (but I didn't use -DNO_CLEAN!).

> It almost looks as if your libclang.a is not rebuilt properly, or not
> built at all.  Can you show the time stamps of:
  I can not, as I cleaned up /usr/obj/src and now I have clean build.

-- 
// Lev Serebryakov


Received on Wed Dec 12 2018 - 11:34:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:19 UTC