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
When building the PinTool on Ubuntu 18.04 and Pin 3.15-98253-gb56e429b1, I get:
[ 80%] Building CXX object src/tracer/pin/CMakeFiles/pintool.dir/api.cpp.o
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h:533:0,
from /usr/include/c++/7/bits/stl_algobase.h:59,
from /usr/include/c++/7/bits/stl_tree.h:63,
from /usr/include/c++/7/set:60,
from /home/moyix/pintmp/pin-3.15-98253-gb56e429b1-gcc-linux/source/tools/Triton/src/libtriton/includes/triton/architecture.hpp:11,
from /home/moyix/pintmp/pin-3.15-98253-gb56e429b1-gcc-linux/source/tools/Triton/src/libtriton/includes/triton/api.hpp:11,
from /home/moyix/pintmp/pin-3.15-98253-gb56e429b1-gcc-linux/source/tools/Triton/src/tracer/pin/api.cpp:8:
/usr/include/x86_64-linux-gnu/c++/7/bits/os_defines.h:44:19: error: missing binary operator before token "("
#if __GLIBC_PREREQ(2,15) && defined(_GNU_SOURCE)
^
From other issues I found it seems this might be due to glibc being too new and Pin monkeying with the standard headers somehow.
As a side question, is there a particular distribution/version and kernel version that Triton is known to work well with?
Note: I also had to add a couple other include paths to src/tracer/pin/CMakeLists.txt to get it to find XED and the Pin CRT:
The only difference between Pin 2.14 and pin 3 is their CRT. As far as I tested, using their CRT implies several issues when linking with other libs (e.g: libpython, libtriton). So, if you want to the use the Pin tracer and the libTriton, I recommend to use Pin 2.14 (which is maintained only for Python 2.7).
When building the PinTool on Ubuntu 18.04 and Pin 3.15-98253-gb56e429b1, I get:
From other issues I found it seems this might be due to glibc being too new and Pin monkeying with the standard headers somehow.
As a side question, is there a particular distribution/version and kernel version that Triton is known to work well with?
Note: I also had to add a couple other include paths to
src/tracer/pin/CMakeLists.txt
to get it to find XED and the Pin CRT:The text was updated successfully, but these errors were encountered: