hi when I make bcc, I got tons of these errors attached. I m using gcc version 4.9.1 (GCC). Can anybody share some lights?
thanks Jeffrey Attachments (1) Compiler version gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.9.1/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.9.1/configure --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --with-system-zlib --enable-languages=c,c++,fortran,ada,go,java,objc,obj-c++ Thread model: posix gcc version 4.9.1 (GCC) [ec2-user@ip-172-31-12-193 build]$ c++ -v Using built-in specs. COLLECT_GCC=c++ COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.9.1/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.9.1/configure --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --with-system-zlib --enable-languages=c,c++,fortran,ada,go,java,objc,obj-c++ Thread model: posix gcc version 4.9.1 (GCC) [ec2-user@ip-172-31-12-193 build]$ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.9.1/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.9.1/configure --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --with-system-zlib --enable-languages=c,c++,fortran,ada,go,java,objc,obj-c++ Thread model: posix gcc version 4.9.1 (GCC) (2) Errors I got [ 50%] Building CXX object examples/cpp/CMakeFiles/CPUDistribution.dir/CPUDistribution.cc.o Linking CXX executable CPUDistribution /usr/local/lib/libLLVMInstrumentation.a(GCOVProfiling.cpp.o): In function `(anonymous namespace)::GCOVProfiler::runOnModule(llvm::Module&)': /home/nikola/final/llvm.src/lib/Transforms/Instrumentation/GCOVProfiling.cpp:(.text._ZN12_GLOBAL__N_112GCOVProfiler11runOnModuleERN4llvm6ModuleE+0x96): undefined reference to `std::_V2::system_category()' /usr/local/lib/libLLVMTransformUtils.a(SymbolRewriter.cpp.o): In function `llvm::SymbolRewriter::RewriteMapParser::parse(std::string const&, llvm::iplist<llvm::SymbolRewriter::RewriteDescriptor, llvm::ilist_traits<llvm::SymbolRewriter::RewriteDescriptor> >*)': /home/nikola/final/llvm.src/lib/Transforms/Utils/SymbolRewriter.cpp:(.text._ZN4llvm14SymbolRewriter16RewriteMapParser5parseERKSsPNS_6iplistINS0_17RewriteDescriptorENS_12ilist_traitsIS5_EEEE+0xfa): undefined reference to `std::_V2::system_category()' /usr/local/lib/libLLVMSupport.a(Timer.cpp.o): In function `llvm::CreateInfoOutputFile()': /home/nikola/final/llvm.src/lib/Support/Timer.cpp:(.text._ZN4llvm20CreateInfoOutputFileEv+0x6c): undefined reference to `std::_V2::system_category()' ... /home/nikola/final/llvm.src/lib/Support/Program.cpp:(.text._ZN4llvm3sys21writeFileWithEncodingENS_9StringRefES1_NS0_21WindowsEncodingMethodE+0x1f): undefined reference to `std::_V2::system_category()' /home/nikola/final/llvm.src/lib/Support/Program.cpp:(.text._ZN4llvm3sys21writeFileWithEncodingENS_9StringRefES1_NS0_21WindowsEncodingMethodE+0x91): undefined reference to `std::_V2::generic_category()'
_______________________________________________ iovisor-dev mailing list [email protected] https://lists.iovisor.org/mailman/listinfo/iovisor-dev
