Created
April 24, 2020 04:32
-
-
Save samrat/9c7aaa5c92e0ba5ad2ea03027d84276c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 99%] Linking CXX executable zig0 | |
/usr/bin/ld: zig_cpp/libzig_cpp.a(zig_clang_driver.cpp.o): in function `CreateAndPopulateDiagOpts(llvm::ArrayRef<char const*>, bool&)': | |
/home/samrat/code/zig/src/zig_clang_driver.cpp:275: undefined reference to `clang::driver::getDriverOptTable()' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_driver.cpp:280: undefined reference to `clang::ParseDiagnosticArgs(clang::DiagnosticOptions&, llvm::opt::ArgList&, clang::DiagnosticsEngine*, bool, bool)' | |
/usr/bin/ld: zig_cpp/libzig_cpp.a(zig_clang_driver.cpp.o): in function `ZigClang_main': | |
/home/samrat/code/zig/src/zig_clang_driver.cpp:338: undefined reference to `clang::noteBottomOfStack()' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_driver.cpp:347: undefined reference to `clang::driver::ToolChain::getTargetAndModeFromProgramName(llvm::StringRef)' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_driver.cpp:458: undefined reference to `clang::TextDiagnosticPrinter::TextDiagnosticPrinter(llvm::raw_ostream&, clang::DiagnosticOptions*, bool)' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_driver.cpp:461: undefined reference to `clang::DiagnosticIDs::DiagnosticIDs()' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_driver.cpp:463: undefined reference to `clang::DiagnosticsEngine::DiagnosticsEngine(llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs>, llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions>, clang::DiagnosticConsumer*, bool)' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_driver.cpp:468: undefined reference to `clang::serialized_diags::create(llvm::StringRef, clang::DiagnosticOptions*, bool)' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_driver.cpp:469: undefined reference to `clang::DiagnosticsEngine::setClient(clang::DiagnosticConsumer*, bool)' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_driver.cpp:473: undefined reference to `clang::ProcessWarningOptions(clang::DiagnosticsEngine&, clang::DiagnosticOptions const&, bool)' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_driver.cpp:475: undefined reference to `clang::driver::Driver::Driver(llvm::StringRef, llvm::StringRef, clang::DiagnosticsEngine&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>)' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_driver.cpp:489: undefined reference to `clang::driver::Driver::BuildCompilation(llvm::ArrayRef<char const*>)' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_driver.cpp:493: undefined reference to `clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*> >&)' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_driver.cpp:522: undefined reference to `clang::driver::Driver::generateCompilationDiagnostics(clang::driver::Compilation&, clang::driver::Command const&, llvm::StringRef, clang::driver::Driver::CompilationDiagnosticReport*)' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_driver.cpp:463: undefined reference to `clang::DiagnosticsEngine::~DiagnosticsEngine()' | |
/usr/bin/ld: zig_cpp/libzig_cpp.a(zig_clang_driver.cpp.o): in function `clang::DiagnosticBuilder::Emit()': | |
/usr/include/clang/Basic/Diagnostic.h:1112: undefined reference to `clang::DiagnosticsEngine::EmitCurrentDiagnostic(bool)' | |
/usr/bin/ld: zig_cpp/libzig_cpp.a(zig_clang_driver.cpp.o): in function `clang::DiagnosticConsumer::DiagnosticConsumer()': | |
/usr/include/clang/Basic/Diagnostic.h:1505: undefined reference to `vtable for clang::DiagnosticConsumer' | |
/usr/bin/ld: zig_cpp/libzig_cpp.a(zig_clang_driver.cpp.o): in function `clang::ChainedDiagnosticConsumer::ChainedDiagnosticConsumer(std::unique_ptr<clang::DiagnosticConsumer, std::default_delete<clang::DiagnosticConsumer> >, std::unique_ptr<clang::DiagnosticConsumer, std::default_delete<clang::DiagnosticConsumer> >)': | |
/usr/include/clang/Frontend/ChainedDiagnosticConsumer.h:32: undefined reference to `vtable for clang::ChainedDiagnosticConsumer' | |
/usr/bin/ld: zig_cpp/libzig_cpp.a(zig_clang_driver.cpp.o): in function `std::default_delete<clang::driver::Compilation>::operator()(clang::driver::Compilation*) const': | |
/usr/include/c++/9.3.0/bits/unique_ptr.h:81: undefined reference to `clang::driver::Compilation::~Compilation()' | |
/usr/bin/ld: zig_cpp/libzig_cpp.a(zig_clang_driver.cpp.o): in function `llvm::RefCountedBase<clang::DiagnosticIDs>::Release() const': | |
/usr/include/llvm/ADT/IntrusiveRefCntPtr.h:82: undefined reference to `clang::DiagnosticIDs::~DiagnosticIDs()' | |
/usr/bin/ld: zig_cpp/libzig_cpp.a(zig_clang_cc1_main.cpp.o): in function `cc1_main(llvm::ArrayRef<char const*>, char const*, void*)': | |
/home/samrat/code/zig/src/zig_clang_cc1_main.cpp:187: undefined reference to `clang::CompilerInstance::CompilerInstance(std::shared_ptr<clang::PCHContainerOperations>, clang::InMemoryModuleCache*)' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_cc1_main.cpp:188: undefined reference to `clang::DiagnosticIDs::DiagnosticIDs()' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_cc1_main.cpp:205: undefined reference to `clang::DiagnosticsEngine::DiagnosticsEngine(llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs>, llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions>, clang::DiagnosticConsumer*, bool)' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_cc1_main.cpp:207: undefined reference to `clang::CompilerInvocation::CreateFromArgs(clang::CompilerInvocation&, llvm::ArrayRef<char const*>, clang::DiagnosticsEngine&)' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_cc1_main.cpp:221: undefined reference to `clang::CompilerInvocation::GetResourcesPath[abi:cxx11](char const*, void*)' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_cc1_main.cpp:224: undefined reference to `clang::CompilerInstance::createDiagnostics(clang::DiagnosticConsumer*, bool)' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_cc1_main.cpp:233: undefined reference to `clang::TextDiagnosticBuffer::FlushDiagnostics(clang::DiagnosticsEngine&) const' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_cc1_main.cpp:240: undefined reference to `clang::ExecuteCompilerInvocation(clang::CompilerInstance*)' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_cc1_main.cpp:256: undefined reference to `clang::CompilerInstance::createOutputFile(llvm::StringRef, bool, bool, llvm::StringRef, llvm::StringRef, bool, bool)' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_cc1_main.cpp:205: undefined reference to `clang::DiagnosticsEngine::~DiagnosticsEngine()' | |
/usr/bin/ld: zig_cpp/libzig_cpp.a(zig_clang_cc1_main.cpp.o): in function `clang::TextDiagnosticBuffer::TextDiagnosticBuffer()': | |
/usr/include/clang/Frontend/TextDiagnosticBuffer.h:25: undefined reference to `vtable for clang::TextDiagnosticBuffer' | |
/usr/bin/ld: zig_cpp/libzig_cpp.a(zig_clang_cc1_main.cpp.o): in function `clang::ObjectFilePCHContainerWriter::ObjectFilePCHContainerWriter()': | |
/usr/include/clang/CodeGen/ObjectFilePCHContainerOperations.h:18: undefined reference to `vtable for clang::ObjectFilePCHContainerWriter' | |
/usr/bin/ld: zig_cpp/libzig_cpp.a(zig_clang_cc1_main.cpp.o): in function `clang::ObjectFilePCHContainerReader::ObjectFilePCHContainerReader()': | |
/usr/include/clang/CodeGen/ObjectFilePCHContainerOperations.h:34: undefined reference to `vtable for clang::ObjectFilePCHContainerReader' | |
/usr/bin/ld: zig_cpp/libzig_cpp.a(zig_clang_cc1_main.cpp.o): in function `void __gnu_cxx::new_allocator<clang::PCHContainerOperations>::construct<clang::PCHContainerOperations>(clang::PCHContainerOperations*)': | |
/usr/include/c++/9.3.0/ext/new_allocator.h:147: undefined reference to `clang::PCHContainerOperations::PCHContainerOperations()' | |
/usr/bin/ld: zig_cpp/libzig_cpp.a(zig_clang_cc1as_main.cpp.o): in function `(anonymous namespace)::AssemblerInvocation::CreateFromArgs((anonymous namespace)::AssemblerInvocation&, llvm::ArrayRef<char const*>, clang::DiagnosticsEngine&)': | |
/home/samrat/code/zig/src/zig_clang_cc1as_main.cpp:180: undefined reference to `clang::driver::getDriverOptTable()' | |
/usr/bin/ld: zig_cpp/libzig_cpp.a(zig_clang_cc1as_main.cpp.o): in function `cc1as_main(llvm::ArrayRef<char const*>, char const*, void*)': | |
/home/samrat/code/zig/src/zig_clang_cc1as_main.cpp:563: undefined reference to `clang::TextDiagnosticPrinter::TextDiagnosticPrinter(llvm::raw_ostream&, clang::DiagnosticOptions*, bool)' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_cc1as_main.cpp:565: undefined reference to `clang::DiagnosticIDs::DiagnosticIDs()' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_cc1as_main.cpp:566: undefined reference to `clang::DiagnosticsEngine::DiagnosticsEngine(llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs>, llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions>, clang::DiagnosticConsumer*, bool)' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_cc1as_main.cpp:579: undefined reference to `clang::driver::getDriverOptTable()' | |
/usr/bin/ld: /home/samrat/code/zig/src/zig_clang_cc1as_main.cpp:566: undefined reference to `clang::DiagnosticsEngine::~DiagnosticsEngine()' | |
/usr/bin/ld: zig_cpp/libzig_cpp.a(zig_clang_cc1as_main.cpp.o): in function `clang::getLastArgIntValue(llvm::opt::ArgList const&, llvm::opt::OptSpecifier, int, clang::DiagnosticsEngine&, unsigned int)': | |
/usr/include/clang/Driver/OptionUtils.h:40: undefined reference to `clang::getLastArgIntValue(llvm::opt::ArgList const&, llvm::opt::OptSpecifier, int, clang::DiagnosticsEngine*, unsigned int)' | |
collect2: error: ld returned 1 exit status | |
make[2]: *** [CMakeFiles/zig0.dir/build.make:133: zig0] Error 1 | |
make[1]: *** [CMakeFiles/Makefile2:111: CMakeFiles/zig0.dir/all] Error 2 | |
make: *** [Makefile:150: all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment