-
-
Save iMichka/6d94da8e4a60948cd2c626e2e74473fa to your computer and use it in GitHub Desktop.
llvm
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
/home/linuxbrew/.linuxbrew/Cellar/llvm@11/11.1.0/bin/clang++ -v -isystem /home/linuxbrew/.linuxbrew/opt/llvm@11/include/c++/v1 -std=c++11 test.cpp -o testlibc++ -L/home/linuxbrew/.linuxbrew/opt/llvm@11/lib -Wl,-rpath,/home/linuxbrew/.linuxbrew/opt/llvm@11/lib | |
clang version 11.1.0 | |
Target: x86_64-unknown-linux-gnu | |
Thread model: posix | |
InstalledDir: /home/linuxbrew/.linuxbrew/Cellar/llvm@11/11.1.0/bin | |
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5 | |
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.4.0 | |
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6 | |
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.0.0 | |
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.4.0 | |
Candidate multilib: .;@m64 | |
Selected multilib: .;@m64 | |
"/home/linuxbrew/.linuxbrew/Cellar/llvm@11/11.1.0/bin/clang-11" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name test.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -munwind-tables -target-cpu x86-64 -fno-split-dwarf-inlining -debugger-tuning=gdb -v -resource-dir /home/linuxbrew/.linuxbrew/Cellar/llvm@11/11.1.0/lib/clang/11.1.0 -isystem /home/linuxbrew/.linuxbrew/opt/llvm@11/include/c++/v1 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/x86_64-linux-gnu/c++/5.4.0 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/x86_64-linux-gnu/c++/5.4.0 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/backward -internal-isystem /usr/local/include -internal-isystem /home/linuxbrew/.linuxbrew/Cellar/llvm@11/11.1.0/lib/clang/11.1.0/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula -ferror-limit 19 -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcolor-diagnostics -faddrsig -o /tmp/test-cd8e3b.o -x c++ test.cpp | |
clang -cc1 version 11.1.0 based upon LLVM 11.1.0 default target x86_64-unknown-linux-gnu | |
ignoring nonexistent directory "/include" | |
ignoring duplicate directory "/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/x86_64-linux-gnu/c++/5.4.0" | |
#include "..." search starts here: | |
#include <...> search starts here: | |
/home/linuxbrew/.linuxbrew/opt/llvm@11/include/c++/v1 | |
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0 | |
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/x86_64-linux-gnu/c++/5.4.0 | |
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/backward | |
/usr/local/include | |
/home/linuxbrew/.linuxbrew/Cellar/llvm@11/11.1.0/lib/clang/11.1.0/include | |
/usr/include/x86_64-linux-gnu | |
/usr/include | |
End of search list. | |
"/home/linuxbrew/.linuxbrew/bin/ld" -z relro --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o testlibc++ /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5.4.0/crtbegin.o -L/home/linuxbrew/.linuxbrew/opt/llvm@11/lib -L/home/linuxbrew/.linuxbrew/Cellar/llvm@11/11.1.0/bin/../lib/x86_64-unknown-linux-gnu/c++ -L/usr/lib/gcc/x86_64-linux-gnu/5.4.0 -L/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../x86_64-linux-gnu -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../.. -L/home/linuxbrew/.linuxbrew/Cellar/llvm@11/11.1.0/bin/../lib -L/lib -L/usr/lib /tmp/test-cd8e3b.o -rpath /home/linuxbrew/.linuxbrew/opt/llvm@11/lib -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/5.4.0/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../x86_64-linux-gnu/crtn.o | |
/home/linuxbrew/.linuxbrew/bin/ld: /tmp/test-cd8e3b.o: in function `main': | |
test.cpp:(.text+0x11): undefined reference to `std::__1::cout' | |
/home/linuxbrew/.linuxbrew/bin/ld: /tmp/test-cd8e3b.o: in function `std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::endl<char, std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)': | |
test.cpp:(.text._ZNSt3__14endlIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_[_ZNSt3__14endlIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_]+0x37): undefined reference to `std::__1::basic_ostream<char, std::__1::char_traits<char> >::put(char)' | |
/home/linuxbrew/.linuxbrew/bin/ld: test.cpp:(.text._ZNSt3__14endlIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_[_ZNSt3__14endlIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_]+0x44): undefined reference to `std::__1::basic_ostream<char, std::__1::char_traits<char> >::flush()' | |
/home/linuxbrew/.linuxbrew/bin/ld: /tmp/test-cd8e3b.o: in function `std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::__put_character_sequence<char, std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*, unsigned long)': | |
test.cpp:(.text._ZNSt3__124__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m[_ZNSt3__124__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m]+0x20): undefined reference to `std::__1::basic_ostream<char, std::__1::char_traits<char> >::sentry::sentry(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)' | |
/home/linuxbrew/.linuxbrew/bin/ld: test.cpp:(.text._ZNSt3__124__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m[_ZNSt3__124__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m]+0x170): undefined reference to `std::__1::basic_ostream<char, std::__1::char_traits<char> >::sentry::~sentry()' | |
/home/linuxbrew/.linuxbrew/bin/ld: test.cpp:(.text._ZNSt3__124__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m[_ZNSt3__124__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m]+0x196): undefined reference to `std::__1::ios_base::__set_badbit_and_consider_rethrow()' | |
/home/linuxbrew/.linuxbrew/bin/ld: test.cpp:(.text._ZNSt3__124__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m[_ZNSt3__124__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m]+0x1bb): undefined reference to `std::__1::basic_ostream<char, std::__1::char_traits<char> >::sentry::~sentry()' | |
/home/linuxbrew/.linuxbrew/bin/ld: /tmp/test-cd8e3b.o: in function `std::__1::ostreambuf_iterator<char, std::__1::char_traits<char> > std::__1::__pad_and_output<char, std::__1::char_traits<char> >(std::__1::ostreambuf_iterator<char, std::__1::char_traits<char> >, char const*, char const*, char const*, std::__1::ios_base&, char)': | |
test.cpp:(.text._ZNSt3__116__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_[_ZNSt3__116__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_]+0x162): undefined reference to `std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_string()' | |
/home/linuxbrew/.linuxbrew/bin/ld: test.cpp:(.text._ZNSt3__116__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_[_ZNSt3__116__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_]+0x177): undefined reference to `std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_string()' | |
/home/linuxbrew/.linuxbrew/bin/ld: /tmp/test-cd8e3b.o: in function `std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_string(unsigned long, char)': | |
test.cpp:(.text._ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2Emc[_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2Emc]+0x38): undefined reference to `std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init(unsigned long, char)' | |
/home/linuxbrew/.linuxbrew/bin/ld: /tmp/test-cd8e3b.o: in function `std::__1::basic_ios<char, std::__1::char_traits<char> >::widen(char) const': | |
test.cpp:(.text._ZNKSt3__19basic_iosIcNS_11char_traitsIcEEE5widenEc[_ZNKSt3__19basic_iosIcNS_11char_traitsIcEEE5widenEc]+0x20): undefined reference to `std::__1::ios_base::getloc() const' | |
/home/linuxbrew/.linuxbrew/bin/ld: test.cpp:(.text._ZNKSt3__19basic_iosIcNS_11char_traitsIcEEE5widenEc[_ZNKSt3__19basic_iosIcNS_11char_traitsIcEEE5widenEc]+0x50): undefined reference to `std::__1::locale::~locale()' | |
/home/linuxbrew/.linuxbrew/bin/ld: test.cpp:(.text._ZNKSt3__19basic_iosIcNS_11char_traitsIcEEE5widenEc[_ZNKSt3__19basic_iosIcNS_11char_traitsIcEEE5widenEc]+0x6c): undefined reference to `std::__1::locale::~locale()' | |
/home/linuxbrew/.linuxbrew/bin/ld: /tmp/test-cd8e3b.o: in function `std::__1::ctype<char> const& std::__1::use_facet<std::__1::ctype<char> >(std::__1::locale const&)': | |
test.cpp:(.text._ZNSt3__19use_facetINS_5ctypeIcEEEERKT_RKNS_6localeE[_ZNSt3__19use_facetINS_5ctypeIcEEEERKT_RKNS_6localeE]+0x12): undefined reference to `std::__1::ctype<char>::id' | |
/home/linuxbrew/.linuxbrew/bin/ld: test.cpp:(.text._ZNSt3__19use_facetINS_5ctypeIcEEEERKT_RKNS_6localeE[_ZNSt3__19use_facetINS_5ctypeIcEEEERKT_RKNS_6localeE]+0x1b): undefined reference to `std::__1::locale::use_facet(std::__1::locale::id&) const' | |
/home/linuxbrew/.linuxbrew/bin/ld: /tmp/test-cd8e3b.o: in function `std::__1::ios_base::setstate(unsigned int)': | |
test.cpp:(.text._ZNSt3__18ios_base8setstateEj[_ZNSt3__18ios_base8setstateEj]+0x1f): undefined reference to `std::__1::ios_base::clear(unsigned int)' | |
clang-11: error: linker command failed with exit code 1 (use -v to see invocation) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment