<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW " title="NEW --- - clang::PCHContainerOperations::~PCHContainerOperations() undefined in ClangCheck.cpp.o" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24067&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=MlKLrfB6_-rsO8Kjw8FN5QD4spgwoSQr74087cMNBBM&s=uuV4y7mCPMw57PwcUDrn5kmaa1nuusAeD5sgIjPx9l4&e=">24067</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang::PCHContainerOperations::~PCHContainerOperations() undefined in ClangCheck.cpp.o
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Macintosh
</td>
</tr>
<tr>
<th>OS</th>
<td>MacOS X
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>howarth.mailing.lists@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>At r241686, the build of clang-check on x86_64-apple-darwin fails with...
Linking CXX executable ../../../../bin/clang-check
cd /sw/src/fink.build/llvm37-3.7.0-1/build/stage1/tools/clang/tools/clang-check
&& /sw/bin/cmake -E cmake_link_script CMakeFiles/clang-check.dir/link.txt
--verbose=1
/sw/src/fink.build/llvm37-3.7.0-1/opt-bin/ccclang++ -fno-common -fPIC
-fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings
-Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long
-Wcovered-switch-default -Wnon-virtual-dtor -std=c++11 -fno-common
-Woverloaded-virtual -fno-strict-aliasing -Wno-nested-anon-types -O3
-Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/sw/lib
-Wl,-dead_strip CMakeFiles/clang-check.dir/ClangCheck.cpp.o -o
../../../../bin/clang-check ../../../../lib/libLLVMX86CodeGen.3.7.0.dylib
../../../../lib/libLLVMX86AsmPrinter.3.7.0.dylib
../../../../lib/libLLVMX86AsmParser.3.7.0.dylib
../../../../lib/libLLVMX86Desc.3.7.0.dylib
../../../../lib/libLLVMX86Info.3.7.0.dylib
../../../../lib/libLLVMX86Disassembler.3.7.0.dylib
../../../../lib/libLLVMPowerPCCodeGen.3.7.0.dylib
../../../../lib/libLLVMPowerPCAsmPrinter.3.7.0.dylib
../../../../lib/libLLVMPowerPCAsmParser.3.7.0.dylib
../../../../lib/libLLVMPowerPCDesc.3.7.0.dylib
../../../../lib/libLLVMPowerPCInfo.3.7.0.dylib
../../../../lib/libLLVMPowerPCDisassembler.3.7.0.dylib
../../../../lib/libLLVMARMCodeGen.3.7.0.dylib
../../../../lib/libLLVMARMAsmPrinter.3.7.0.dylib
../../../../lib/libLLVMARMAsmParser.3.7.0.dylib
../../../../lib/libLLVMARMDesc.3.7.0.dylib
../../../../lib/libLLVMARMInfo.3.7.0.dylib
../../../../lib/libLLVMARMDisassembler.3.7.0.dylib
../../../../lib/libLLVMOption.3.7.0.dylib
../../../../lib/libLLVMSupport.3.7.0.dylib
../../../../lib/libclangAST.3.7.0.dylib
../../../../lib/libclangCodeGen.3.7.0.dylib
../../../../lib/libclangDriver.3.7.0.dylib
../../../../lib/libclangFrontend.3.7.0.dylib
../../../../lib/libclangRewriteFrontend.3.7.0.dylib
../../../../lib/libclangStaticAnalyzerFrontend.3.7.0.dylib
../../../../lib/libclangTooling.3.7.0.dylib -Wl,-rpath,@executable_path/../lib
Undefined symbols for architecture x86_64:
"clang::PCHContainerOperations::~PCHContainerOperations()", referenced from:
std::__1::__shared_ptr_emplace<clang::ObjectFilePCHContainerOperations,
std::__1::allocator<clang::ObjectFilePCHContainerOperations>
<span class="quote">>::~__shared_ptr_emplace() in ClangCheck.cpp.o</span >
std::__1::__shared_ptr_emplace<clang::ObjectFilePCHContainerOperations,
std::__1::allocator<clang::ObjectFilePCHContainerOperations>
<span class="quote">>::~__shared_ptr_emplace() in ClangCheck.cpp.o</span >
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[1]: *** [tools/clang/tools/clang-check/CMakeFiles/clang-check.dir/all]
Error 2
make: *** [all] Error 2</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>