Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trace Generator Does Not compile #25

Closed
siavashzk opened this issue May 1, 2020 · 1 comment
Closed

Trace Generator Does Not compile #25

siavashzk opened this issue May 1, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@siavashzk
Copy link
Collaborator

siavashzk commented May 1, 2020

Describe the bug
Trace generator pintool does not compile.

To Reproduce

cd src/pin/pin_trace
make

siavash@Siavash:~/scarab/src/pin/pin_trace$ make
mkdir -p obj-intel64/
make objects
make[1]: Entering directory '/home/siavash/scarab/src/pin/pin_trace'
make[1]: Nothing to be done for 'objects'.
make[1]: Leaving directory '/home/siavash/scarab/src/pin/pin_trace'
make libs
make[1]: Entering directory '/home/siavash/scarab/src/pin/pin_trace'
make[1]: Nothing to be done for 'libs'.
make[1]: Leaving directory '/home/siavash/scarab/src/pin/pin_trace'
make dlls
make[1]: Entering directory '/home/siavash/scarab/src/pin/pin_trace'
make[1]: Nothing to be done for 'dlls'.
make[1]: Leaving directory '/home/siavash/scarab/src/pin/pin_trace'
make apps
make[1]: Entering directory '/home/siavash/scarab/src/pin/pin_trace'
make[1]: Nothing to be done for 'apps'.
make[1]: Leaving directory '/home/siavash/scarab/src/pin/pin_trace'
make tools
make[1]: Entering directory '/home/siavash/scarab/src/pin/pin_trace'
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/siavash/pinplay-drdebug-3.5-pin-3.5-97503-gac534ca30-gcc-linux/source/include/pin -I/home/siavash/pinplay-drdebug-3.5-pin-3.5-97503-gac534ca30-gcc-linux/source/include/pin/gen -isystem /home/siavash/pinplay-drdebug-3.5-pin-3.5-97503-gac534ca30-gcc-linux/extras/stlport/include -isystem /home/siavash/pinplay-drdebug-3.5-pin-3.5-97503-gac534ca30-gcc-linux/extras/libstdc++/include -isystem /home/siavash/pinplay-drdebug-3.5-pin-3.5-97503-gac534ca30-gcc-linux/extras/crt/include -isystem /home/siavash/pinplay-drdebug-3.5-pin-3.5-97503-gac534ca30-gcc-linux/extras/crt/include/arch-x86_64 -isystem /home/siavash/pinplay-drdebug-3.5-pin-3.5-97503-gac534ca30-gcc-linux/extras/crt/include/kernel/uapi -isystem /home/siavash/pinplay-drdebug-3.5-pin-3.5-97503-gac534ca30-gcc-linux/extras/crt/include/kernel/uapi/asm-x86 -I/home/siavash/pinplay-drdebug-3.5-pin-3.5-97503-gac534ca30-gcc-linux/extras/components/include -I/home/siavash/pinplay-drdebug-3.5-pin-3.5-97503-gac534ca30-gcc-linux/extras/xed-intel64/include/xed -I/home/siavash/pinplay-drdebug-3.5-pin-3.5-97503-gac534ca30-gcc-linux/source/tools/InstLib -O3 -fomit-frame-pointer -fno-strict-aliasing -I/home/siavash/pinplay-drdebug-3.5-pin-3.5-97503-gac534ca30-gcc-linux/extras/pinplay//include -std=c++14 -c -o obj-intel64/gen_trace.o gen_trace.cc -MD -DPIN_COMPILE gen_trace.cc:62:10: fatal error: globals/assert.h: No such file or directory
#include "globals/assert.h"
^~~~~~~~~~~~~~~~~~
compilation terminated.
makefile.rules:97: recipe for target 'obj-intel64/gen_trace.o' failed
make[1]: *** [obj-intel64/gen_trace.o] Error 1
make[1]: Leaving directory '/home/siavash/scarab/src/pin/pin_trace'
/home/siavash/pinplay-drdebug-3.5-pin-3.5-97503-gac534ca30-gcc-linux/source/tools/Config/makefile.config:328: recipe for target 'all' failed
make: *** [all] Error 2

Expected behavior
Compiles without errors

Desktop :

  • OS: Ubuntu 18.04 in WSL
  • Compiler: gcc 7.5.0
@siavashzk siavashzk self-assigned this May 1, 2020
@spruett spruett added the bug Something isn't working label Jun 12, 2020
@siavashzk
Copy link
Collaborator Author

Fixed

#56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants