r111 build error

Lev Serebryakov lev at FreeBSD.org
Wed Dec 12 12:34:57 UTC 2018

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20181212/f261df0d/attachment.sig>

More information about the freebsd-current mailing list