[cfe-dev] clang::PCHContainerOperations::~PCHContainerOperations() undefined in bin/clang-check linkage

Richard Smith richard at metafoo.co.uk
Wed Jul 8 17:36:45 PDT 2015


This seems to be affecting all builds with shared libraries enabled.

On Wed, Jul 8, 2015 at 5:12 PM, Jack Howarth <
howarth.mailing.lists at gmail.com> wrote:

> Is anyone else seeing this bootstrap failure on x86_64-apple-darwin?
>
> Linking CXX executable ../../../../bin/clang-check
> Undefined symbols for architecture x86_64:
>   "clang::PCHContainerOperations::~PCHContainerOperations()", referenced
> from:
>
> std::__1::__shared_ptr_emplace<clang::ObjectFilePCHContainerOperations,
> std::__1::allocator<clang::ObjectFilePCHContainerOperations>
> >::~__shared_ptr_emplace() in ClangCheck.cpp.o
>
> std::__1::__shared_ptr_emplace<clang::ObjectFilePCHContainerOperations,
> std::__1::allocator<clang::ObjectFilePCHContainerOperations>
> >::~__shared_ptr_emplace() in ClangCheck.cpp.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> make[2]: *** [bin/clang-check] Error 1
> make[2]: Target
> `tools/clang/tools/clang-check/CMakeFiles/clang-check.dir/build' not
> remade because of errors.
>
> I opened https://llvm.org/bugs/show_bug.cgi?id=24067 for this issue.
>            Jack
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150708/d5b8e1b0/attachment.html>


More information about the cfe-dev mailing list