clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/analyzerinfo.o lib/analyzerinfo.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/astutils.o lib/astutils.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/check.o lib/check.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/check64bit.o lib/check64bit.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkassert.o lib/checkassert.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkautovariables.o lib/checkautovariables.cpp lib/checkautovariables.cpp:360:13: warning: function 'astHasAutoResult' is not needed and will not be emitted [-Wunneeded-internal-declaration] static bool astHasAutoResult(const Token *tok) ^ 1 warning generated. clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkbool.o lib/checkbool.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkboost.o lib/checkboost.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkbufferoverrun.o lib/checkbufferoverrun.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkclass.o lib/checkclass.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkcondition.o lib/checkcondition.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkexceptionsafety.o lib/checkexceptionsafety.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkfunctions.o lib/checkfunctions.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkinternal.o lib/checkinternal.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkio.o lib/checkio.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkleakautovar.o lib/checkleakautovar.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkmemoryleak.o lib/checkmemoryleak.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checknullpointer.o lib/checknullpointer.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkother.o lib/checkother.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkpostfixoperator.o lib/checkpostfixoperator.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checksizeof.o lib/checksizeof.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkstl.o lib/checkstl.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkstring.o lib/checkstring.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checktype.o lib/checktype.cpp lib/checktype.cpp:433:28: warning: implicit conversion from 'unsigned long long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-int-float-conversion] if (f.floatValue > ~0ULL) ~ ^~~~~ 1 warning generated. clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkuninitvar.o lib/checkuninitvar.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkunusedfunctions.o lib/checkunusedfunctions.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkunusedvar.o lib/checkunusedvar.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkvaarg.o lib/checkvaarg.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/clangimport.o lib/clangimport.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/cppcheck.o lib/cppcheck.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/ctu.o lib/ctu.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/errorlogger.o lib/errorlogger.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/exprengine.o lib/exprengine.cpp lib/exprengine.cpp:1495:29: warning: loop variable 'v' of type 'const std::shared_ptr' creates a copy from type 'const std::shared_ptr' [-Wrange-loop-construct] for (const auto v: argValues) ^ lib/exprengine.cpp:1495:18: note: use reference type 'const std::shared_ptr &' to prevent copying for (const auto v: argValues) ^~~~~~~~~~~~~ & 1 warning generated. clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/forwardanalyzer.o lib/forwardanalyzer.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/importproject.o lib/importproject.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/library.o lib/library.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/mathlib.o lib/mathlib.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/path.o lib/path.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/pathanalysis.o lib/pathanalysis.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/pathmatch.o lib/pathmatch.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/platform.o lib/platform.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/preprocessor.o lib/preprocessor.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/programmemory.o lib/programmemory.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/settings.o lib/settings.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/suppressions.o lib/suppressions.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/symboldatabase.o lib/symboldatabase.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/templatesimplifier.o lib/templatesimplifier.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/timer.o lib/timer.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/token.o lib/token.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/tokenize.o lib/tokenize.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/tokenlist.o lib/tokenlist.cpp clang++-10 -Ilib -isystem externals -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/valueflow.o lib/valueflow.cpp lib/valueflow.cpp:2008:13: warning: function 'valueFlowAST' is not needed and will not be emitted [-Wunneeded-internal-declaration] static void valueFlowAST(Token *tok, nonneg int varid, const ValueFlow::Value &value, const Settings *settings) ^ 1 warning generated. clang++-10 -Ilib -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o cli/cmdlineparser.o cli/cmdlineparser.cpp clang++-10 -Ilib -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o cli/cppcheckexecutor.o cli/cppcheckexecutor.cpp clang++-10 -Ilib -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o cli/filelister.o cli/filelister.cpp cli/filelister.cpp:197:21: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] while ((readdir_r(dir, &entry, &dir_result) == 0) && (dir_result != nullptr)) { ^ /usr/include/dirent.h:186:28: note: 'readdir_r' has been explicitly marked deprecated here __nonnull ((1, 2, 3)) __attribute_deprecated__; ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:251:51: note: expanded from macro '__attribute_deprecated__' # define __attribute_deprecated__ __attribute__ ((__deprecated__)) ^ 1 warning generated. clang++-10 -Ilib -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o cli/main.o cli/main.cpp clang++-10 -Ilib -isystem externals/simplecpp -isystem externals/tinyxml -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o cli/threadexecutor.o cli/threadexecutor.cpp clang++-10 -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -w -c -o externals/simplecpp/simplecpp.o externals/simplecpp/simplecpp.cpp clang++-10 -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -w -c -o externals/tinyxml/tinyxml2.o externals/tinyxml/tinyxml2.cpp clang++-10 -std=c++0x -O2 -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -o cppcheck lib/analyzerinfo.o lib/astutils.o lib/check.o lib/check64bit.o lib/checkassert.o lib/checkautovariables.o lib/checkbool.o lib/checkboost.o lib/checkbufferoverrun.o lib/checkclass.o lib/checkcondition.o lib/checkexceptionsafety.o lib/checkfunctions.o lib/checkinternal.o lib/checkio.o lib/checkleakautovar.o lib/checkmemoryleak.o lib/checknullpointer.o lib/checkother.o lib/checkpostfixoperator.o lib/checksizeof.o lib/checkstl.o lib/checkstring.o lib/checktype.o lib/checkuninitvar.o lib/checkunusedfunctions.o lib/checkunusedvar.o lib/checkvaarg.o lib/clangimport.o lib/cppcheck.o lib/ctu.o lib/errorlogger.o lib/exprengine.o lib/forwardanalyzer.o lib/importproject.o lib/library.o lib/mathlib.o lib/path.o lib/pathanalysis.o lib/pathmatch.o lib/platform.o lib/preprocessor.o lib/programmemory.o lib/settings.o lib/suppressions.o lib/symboldatabase.o lib/templatesimplifier.o lib/timer.o lib/token.o lib/tokenize.o lib/tokenlist.o lib/valueflow.o cli/cmdlineparser.o cli/cppcheckexecutor.o cli/filelister.o cli/main.o cli/threadexecutor.o externals/simplecpp/simplecpp.o externals/tinyxml/tinyxml2.o -L/usr/lib/llvm-10/lib -fuse-ld=lld -shared -rdynamic ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in lib/analyzerinfo.o >>> referenced by analyzerinfo.cpp >>> lib/analyzerinfo.o:(AnalyzerInformation::~AnalyzerInformation()) ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol VTT for std::basic_ofstream >; recompile with -fPIC >>> defined in /usr/bin/../lib/gcc/x86_64-linux-gnu/10/libstdc++.so >>> referenced by analyzerinfo.cpp >>> lib/analyzerinfo.o:(AnalyzerInformation::~AnalyzerInformation()) ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol VTT for std::basic_ofstream >; recompile with -fPIC >>> defined in /usr/bin/../lib/gcc/x86_64-linux-gnu/10/libstdc++.so >>> referenced by analyzerinfo.cpp >>> lib/analyzerinfo.o:(AnalyzerInformation::~AnalyzerInformation()) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in lib/analyzerinfo.o >>> referenced by analyzerinfo.cpp >>> lib/analyzerinfo.o:(AnalyzerInformation::close()) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in lib/analyzerinfo.o >>> referenced by analyzerinfo.cpp >>> lib/analyzerinfo.o:(AnalyzerInformation::writeFilesTxt(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list, std::allocator >, std::allocator, std::allocator > > > const&, std::__cxx11::list > const&)) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in lib/analyzerinfo.o >>> referenced by analyzerinfo.cpp >>> lib/analyzerinfo.o:(AnalyzerInformation::writeFilesTxt(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list, std::allocator >, std::allocator, std::allocator > > > const&, std::__cxx11::list > const&)) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in lib/analyzerinfo.o >>> referenced by analyzerinfo.cpp >>> lib/analyzerinfo.o:(AnalyzerInformation::writeFilesTxt(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list, std::allocator >, std::allocator, std::allocator > > > const&, std::__cxx11::list > const&)) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in lib/analyzerinfo.o >>> referenced by analyzerinfo.cpp >>> lib/analyzerinfo.o:(AnalyzerInformation::writeFilesTxt(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list, std::allocator >, std::allocator, std::allocator > > > const&, std::__cxx11::list > const&)) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in lib/analyzerinfo.o >>> referenced by analyzerinfo.cpp >>> lib/analyzerinfo.o:(AnalyzerInformation::writeFilesTxt(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list, std::allocator >, std::allocator, std::allocator > > > const&, std::__cxx11::list > const&)) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in lib/analyzerinfo.o >>> referenced by analyzerinfo.cpp >>> lib/analyzerinfo.o:(AnalyzerInformation::writeFilesTxt(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list, std::allocator >, std::allocator, std::allocator > > > const&, std::__cxx11::list > const&)) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in lib/analyzerinfo.o >>> referenced by analyzerinfo.cpp >>> lib/analyzerinfo.o:(AnalyzerInformation::writeFilesTxt(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list, std::allocator >, std::allocator, std::allocator > > > const&, std::__cxx11::list > const&)) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in lib/analyzerinfo.o >>> referenced by analyzerinfo.cpp >>> lib/analyzerinfo.o:(AnalyzerInformation::writeFilesTxt(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list, std::allocator >, std::allocator, std::allocator > > > const&, std::__cxx11::list > const&)) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in lib/analyzerinfo.o >>> referenced by analyzerinfo.cpp >>> lib/analyzerinfo.o:(AnalyzerInformation::writeFilesTxt(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list, std::allocator >, std::allocator, std::allocator > > > const&, std::__cxx11::list > const&)) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in lib/analyzerinfo.o >>> referenced by analyzerinfo.cpp >>> lib/analyzerinfo.o:(AnalyzerInformation::writeFilesTxt(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list, std::allocator >, std::allocator, std::allocator > > > const&, std::__cxx11::list > const&)) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in lib/analyzerinfo.o >>> referenced by analyzerinfo.cpp >>> lib/analyzerinfo.o:(AnalyzerInformation::writeFilesTxt(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list, std::allocator >, std::allocator, std::allocator > > > const&, std::__cxx11::list > const&)) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in lib/analyzerinfo.o >>> referenced by analyzerinfo.cpp >>> lib/analyzerinfo.o:(AnalyzerInformation::writeFilesTxt(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list, std::allocator >, std::allocator, std::allocator > > > const&, std::__cxx11::list > const&)) ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol VTT for std::basic_ofstream >; recompile with -fPIC >>> defined in /usr/bin/../lib/gcc/x86_64-linux-gnu/10/libstdc++.so >>> referenced by analyzerinfo.cpp >>> lib/analyzerinfo.o:(AnalyzerInformation::writeFilesTxt(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list, std::allocator >, std::allocator, std::allocator > > > const&, std::__cxx11::list > const&)) ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol VTT for std::basic_ofstream >; recompile with -fPIC >>> defined in /usr/bin/../lib/gcc/x86_64-linux-gnu/10/libstdc++.so >>> referenced by analyzerinfo.cpp >>> lib/analyzerinfo.o:(AnalyzerInformation::writeFilesTxt(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list, std::allocator >, std::allocator, std::allocator > > > const&, std::__cxx11::list > const&)) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in lib/analyzerinfo.o >>> referenced by analyzerinfo.cpp >>> lib/analyzerinfo.o:(AnalyzerInformation::writeFilesTxt(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list, std::allocator >, std::allocator, std::allocator > > > const&, std::__cxx11::list > const&)) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in lib/analyzerinfo.o >>> referenced by analyzerinfo.cpp >>> lib/analyzerinfo.o:(AnalyzerInformation::writeFilesTxt(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list, std::allocator >, std::allocator, std::allocator > > > const&, std::__cxx11::list > const&)) ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:291: cppcheck] Error 1