sihangliu / xfdetector Goto Github PK
View Code? Open in Web Editor NEWThis is the open-source site for XFDetector (ASPLOS'20)
This is the open-source site for XFDetector (ASPLOS'20)
Hello
The compilation of xfdetector fails at the pintool step on Ubuntu 20.04 LTS with g++ 9.3.0. How could I fix this error?
g++ -Wall -Werror -Wno-unknown-pragmas -D__PIN__=1 -DPIN_CRT=1 -fno-stack-protector -fno-exceptions -funwind-tables -fasynchronous-unwind-tables -fno-rtti -DTARGET_IA32E -DHOST_IA32E -fPIC -DTARGET_LINUX -fabi-version=2 -I/home/pl/xfdetector/pin-3.10/source/include/pin -I/home/pl/xfdetector/pin-3.10/source/include/pin/gen -isystem /home/pl/xfdetector/pin-3.10/extras/stlport/include -isystem /home/pl/xfdetector/pin-3.10/extras/libstdc++/include -isystem /home/pl/xfdetector/pin-3.10/extras/crt/include -isystem /home/pl/xfdetector/pin-3.10/extras/crt/include/arch-x86_64 -isystem /home/pl/xfdetector/pin-3.10/extras/crt/include/kernel/uapi -isystem /home/pl/xfdetector/pin-3.10/extras/crt/include/kernel/uapi/asm-x86 -I/home/pl/xfdetector/pin-3.10/extras/components/include -I/home/pl/xfdetector/pin-3.10/extras/xed-intel64/include/xed -I/home/pl/xfdetector/pin-3.10/source/tools/Utils -I/home/pl/xfdetector/pin-3.10/source/tools/InstLib -O3 -fomit-frame-pointer -fno-strict-aliasing -c -o obj-intel64/pintool.o pintool.cpp
In file included from /usr/include/boost/type_traits/has_plus.hpp:48,
from /usr/include/boost/next_prior.hpp:21,
from /usr/include/boost/icl/interval_base_set.hpp:23,
from /usr/include/boost/icl/interval_set.hpp:14,
from pintool.cpp:10:
/usr/include/boost/type_traits/detail/has_binary_operator.hpp:54:107: error: ‘declval’ is not a member of ‘std’
54 | t BOOST_JOIN(BOOST_TT_TRAIT_NAME, _ret_imp)<T, U, Ret, typename boost::make_void<decltype(std::declval<typename add_reference<T>::type>() BOOST_TT_TRAIT_OP std::declval<typename add_reference<U>::type>())>::type>
| ^~~~~~~
/usr/include/boost/type_traits/detail/has_binary_operator.hpp:42:1: note: ‘std::declval’ is defined in header ‘<utility>’; did you forget to ‘#include <utility>’?
41 | #include <utility>
+++ |+#include <utility>
42 |
/usr/include/boost/type_traits/detail/has_binary_operator.hpp:54:107: error: ‘declval’ is not a member of ‘std’
54 | t BOOST_JOIN(BOOST_TT_TRAIT_NAME, _ret_imp)<T, U, Ret, typename boost::make_void<decltype(std::declval<typename add_reference<T>::type>() BOOST_TT_TRAIT_OP std::declval<typename add_reference<U>::type>())>::type>
| ^~~~~~~```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.