You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I then extracted the RunTracer code as per installation instructions but when I try to run make, I get the following error in the terminal - g++ -DBIGARRAY_MULTIPLIER=1 -Wall -Werror -Wno-unknown-pragmas -fno-stack-protector -DTARGET_IA32E -DHOST_IA32E -fPIC -DTARGET_LINUX -I../../../source/include/pin -I../../../source/include/pin/gen -I../../../extras/components/include -I../../../extras/xed-intel64/include -I../../../source/tools/InstLib -O3 -fomit-frame-pointer -fno-strict-aliasing -c -o obj-intel64/ccovtrace.o ccovtrace.cpp ccovtrace.cpp: In function ‘const string* LookupSymbol(LEVEL_BASE::ADDRINT)’: ccovtrace.cpp:151:59: error: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘LEVEL_BASE::ADDRINT {aka long unsigned int}’ [-Werror=format=] snprintf(s, sizeof(s), "%s+%llx", name->c_str(), offset); ^ ccovtrace.cpp:151:59: error: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘LEVEL_BASE::ADDRINT {aka long unsigned int}’ [-Werror=format=] ccovtrace.cpp:158:40: error: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘LEVEL_BASE::ADDRINT {aka long unsigned int}’ [-Werror=format=] snprintf(s, sizeof(s), "?%#llx", addr); ^ ccovtrace.cpp:158:40: error: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘LEVEL_BASE::ADDRINT {aka long unsigned int}’ [-Werror=format=] cc1plus: all warnings being treated as errors make: *** [obj-intel64/ccovtrace.o] Error 1
Please guide as how to resolve this issue.
Thanks!
The text was updated successfully, but these errors were encountered:
I have downloaded the code for PIN from this link and unzipped it - http://software.intel.com/sites/landingpage/pintool/downloads/pin-2.14-71313-gcc.4.4.7-linux.tar.gz
I then extracted the RunTracer code as per installation instructions but when I try to run make, I get the following error in the terminal -
g++ -DBIGARRAY_MULTIPLIER=1 -Wall -Werror -Wno-unknown-pragmas -fno-stack-protector -DTARGET_IA32E -DHOST_IA32E -fPIC -DTARGET_LINUX -I../../../source/include/pin -I../../../source/include/pin/gen -I../../../extras/components/include -I../../../extras/xed-intel64/include -I../../../source/tools/InstLib -O3 -fomit-frame-pointer -fno-strict-aliasing -c -o obj-intel64/ccovtrace.o ccovtrace.cpp ccovtrace.cpp: In function ‘const string* LookupSymbol(LEVEL_BASE::ADDRINT)’: ccovtrace.cpp:151:59: error: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘LEVEL_BASE::ADDRINT {aka long unsigned int}’ [-Werror=format=] snprintf(s, sizeof(s), "%s+%llx", name->c_str(), offset); ^ ccovtrace.cpp:151:59: error: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘LEVEL_BASE::ADDRINT {aka long unsigned int}’ [-Werror=format=] ccovtrace.cpp:158:40: error: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘LEVEL_BASE::ADDRINT {aka long unsigned int}’ [-Werror=format=] snprintf(s, sizeof(s), "?%#llx", addr); ^ ccovtrace.cpp:158:40: error: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘LEVEL_BASE::ADDRINT {aka long unsigned int}’ [-Werror=format=] cc1plus: all warnings being treated as errors make: *** [obj-intel64/ccovtrace.o] Error 1
Please guide as how to resolve this issue.
Thanks!
The text was updated successfully, but these errors were encountered: