Comments (5)
Before compiling, you have to download Intel PIN 3.5 (link in system requirements).
After downloading and extracting PIN 3.5, in set an environment variable PIN_ROOT to be the absolute path to the PIN directory.
I'll update compiling instructions to state this.
from scarab.
Thanks, siavashzk.
This fixed the initial issue, but revealed a different one.
The link to PIN 3.5 leads me to an "Access Denied" page from Intel (despite my developer account with them), so I instead downloaded PIN 3.13, 3.11, and 2.14 from https://software.intel.com/en-us/articles/pin-a-binary-instrumentation-tool-downloads
Both lead to a cascade of compilation issues beginning with:
In file included from /magnetic/bin/pin-3.11-97998-g7ecce2dac-gcc-linux/extras/components/include/util/scoped-ptr.hpp:20:0,
from /magnetic/bin/pin-3.11-97998-g7ecce2dac-gcc-linux/extras/components/include/util.hpp:36,
from /magnetic/bin/pin-3.11-97998-g7ecce2dac-gcc-linux/extras/components/include/atomic/exponential-backoff.hpp:20,
from /magnetic/bin/pin-3.11-97998-g7ecce2dac-gcc-linux/extras/components/include/atomic/ops.hpp:20,
from /magnetic/bin/pin-3.11-97998-g7ecce2dac-gcc-linux/extras/components/include/atomic.hpp:51,
from /magnetic/bin/pin-3.11-97998-g7ecce2dac-gcc-linux/source/include/pin/level_base.PLH:77,
from /magnetic/bin/pin-3.11-97998-g7ecce2dac-gcc-linux/source/include/pin/pin.H:21,
from rollback.cpp:33:
./assert.h:58:0: error: "ASSERT" redefined [-Werror]
or similar for the 3.13. 2.14 is a different ABI version.
from scarab.
Hmm, looks like we need to update the PIN download link as well.
This link should work for 3.5
https://software.intel.com/en-us/articles/program-recordreplay-toolkit
After clicking on the download link and accepting the terms, you should be able to download 3.5. It works fine for me without having to log in.
We plan to update to 3.11 or 3.13, but it requires some work in fixing the conflicts in the global namespace.
from scarab.
Thanks.
Still looks like there are macro collisions between PIN 3.5 and scarab.
I'll work on fixing this in a bit.
from scarab.
I just submitted a commit that removes a redundant assert.h file. My speculation is that somehow your compiler environment included that instead of the assert.h in PinCRT.
If this does not solve your problem, please feel free to reopen the issue.
from scarab.
Related Issues (20)
- [Question] How do you access metadata about the Cache from a prefetcher function? HOT 2
- [Question] !ENABLE_ICACHE_PACKET_BREAKING && !PERFECT_BP HOT 8
- [Question] Runahead Execution in Scarab HOT 6
- [Question] Decoder: Redirect on btb_miss and !taken HOT 2
- recipe for target 'pin_exec' failed HOT 19
- [BUG] Running SPEC2006 Checkpoints with PIN tool HOT 1
- Tests cannot access github secret values when pull request created by fork
- [Question]About wrong path execution HOT 1
- [Question]About Wrong Path Execution HOT 2
- [Question] mem_req buffer and queues HOT 1
- [Question] Assertion failure when running gcc in SPEC2017 IntSpeed HOT 3
- [Question] Proper documentation for running SPEC 17 HOT 2
- [BUG] Link to auto-generated software documentation is broken HOT 1
- [Question] make -C docs fails HOT 1
- [Question] Running make in src/ fails HOT 8
- Running make in scarab/src fails HOT 1
- [BUG] "scarab --help" info is out of date?
- [Question and Bug] "Invalid header for input file #0" HOT 1
- Having issue in building src in scarab
- [BUG] Multiple compilation errors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scarab.