[Advcomparch] PIN_Home problem

Dimitrios Siakavaras jimsiak at cslab.ece.ntua.gr
Tue Jun 2 20:26:23 EEST 2020


Καλησπέρα,

Τι λειτουργικό τρέχει το VM μέσα στο οποίο κάνεις το compile και τι έκδοση
gcc?

Μήπως στο path του PIN_HOME υπάρχει κάποιος ελληνικός χαρακτήρας; Δοκίμασε
να βγάλεις τον φάκελο του pinplay έξω από το path του sniper.

Δ.

> compile error
>
> mpourmpoulis at mpourmpoulis-VirtualBox:~/NTUA/adv_arch/sniper-7.3$ make
> Building for x86 (intel64)
>
> Cannot find Pin in
> /home/mpourmpoulis/NTUA/adv_arch/sniper-7.3/pinplay-dcfg-3.11-97998-g7ecce2dac-gcc-linux.
> Please download and extract Pin version 71313
> from http://www.pintool.org/downloads.html into
> /home/mpourmpoulis/NTUA/adv_arch/sniper-7.3/pinplay-dcfg-3.11-97998-g7ecce2dac-gcc-linux,
> or set the PIN_HOME environment variable.
>
> Makefile:90: recipe for target
> '/home/mpourmpoulis/NTUA/adv_arch/sniper-7.3/pinplay-dcfg-3.11-97998-g7ecce2dac-gcc-linux/intel64/bin/pinbin'
> failed
> make: ***
> [/home/mpourmpoulis/NTUA/adv_arch/sniper-7.3/pinplay-dcfg-3.11-97998-g7ecce2dac-gcc-linux/intel64/bin/pinbin]
> Error 1
>
>
>
> Directory structure
>
>
> mpourmpoulis at mpourmpoulis-VirtualBox:~/NTUA/adv_arch/sniper-7.3$ ls
> CHANGELOG     decoder_lib  LICENSE           NOTICE
>                                 README        scripts     xed
> common        docker       LICENSE.interval  pin
>                                  README.riscv  sift        xed_kit
> COMPILATION   Doxyfile     Makefile          pin_kit
>                                  record-trace  standalone
> config        frontend     Makefile.config
> pinplay-dcfg-3.11-pin-3.11-97998-g7ecce2dac-gcc-linux          riscv
>   test
> CONTRIBUTORS  include      mbuild
>  pinplay-dcfg-3.11-pin-3.11-97998-g7ecce2dac-gcc-linux.tar.bz2  run-sniper
>    tools
> mpourmpoulis at mpourmpoulis-VirtualBox:~/NTUA/adv_arch/sniper-7.3$ cd pin
> mpourmpoulis at mpourmpoulis-VirtualBox:~/NTUA/adv_arch/sniper-7.3/pin$ ls
> codecache_trace.cc  inst_mode_macros.h       local_storage.cc
> pin_exceptions.h  pin_thread.cc           spin_loop_detection.h
> trace_rtn.h
> codecache_trace.h   instruction_modeling.cc  local_storage.h
> pin_lock.cc
>       pin_thread.h            toolreg.cc
> follow_execv        instruction_modeling.h   Makefile           pin_lock.h
>        pin_tls.cc              toolreg.h
> inst_mode.cc        lite                     pin_exceptions.cc  pin_sim.cc
>        spin_loop_detection.cc  trace_rtn.cc
> mpourmpoulis at mpourmpoulis-VirtualBox:~/NTUA/adv_arch/sniper-7.3/pin$ cd ..
> mpourmpoulis at mpourmpoulis-VirtualBox:~/NTUA/adv_arch/sniper-7.3$ ls
> CHANGELOG     decoder_lib  LICENSE           NOTICE
>                                 README        scripts     xed
> common        docker       LICENSE.interval  pin
>                                  README.riscv  sift        xed_kit
> COMPILATION   Doxyfile     Makefile          pin_kit
>                                  record-trace  standalone
> config        frontend     Makefile.config
> pinplay-dcfg-3.11-pin-3.11-97998-g7ecce2dac-gcc-linux          riscv
>   test
> CONTRIBUTORS  include      mbuild
>  pinplay-dcfg-3.11-pin-3.11-97998-g7ecce2dac-gcc-linux.tar.bz2  run-sniper
>    tools
> mpourmpoulis at mpourmpoulis-VirtualBox:~/NTUA/adv_arch/sniper-7.3$ cd
> pinplay-dcfg-3.11-pin-3.11-97998-g7ecce2dac-gcc-linux/
> mpourmpoulis at mpourmpoulis-VirtualBox:~/NTUA/adv_arch/sniper-7.3/pinplay-dcfg-3.11-pin-3.11-97998-g7ecce2dac-gcc-linux$
> ls
> doc  extras  ia32  intel64  licensing  pin  pin.sig  README  source
> mpourmpoulis at mpourmpoulis-VirtualBox:~/NTUA/adv_arch/sniper-7.3/pinplay-dcfg-3.11-pin-3.11-97998-g7ecce2dac-gcc-linux$
> cd ..
> mpourmpoulis at mpourmpoulis-VirtualBox:~/NTUA/adv_arch/sniper-7.3$ echo
> $PIN_HOME
> /home/mpourmpoulis/NTUA/adv_arch/sniper-7.3/pinplay-dcfg-3.11-97998-g7ecce2dac-gcc-linux
> mpourmpoulis at mpourmpoulis-VirtualBox:~/NTUA/adv_arch/sniper-7.3$ cd
> pin_kit
> mpourmpoulis at mpourmpoulis-VirtualBox:~/NTUA/adv_arch/sniper-7.3/pin_kit$
> ls
> doc  extras  ia32  intel64  licensing  pin  pin.sig  README  source
>
>
>
> related issue
>
> https://groups.google.com/forum/#!topic/snipersim/Ov5cB-vQWgo
>
> Ιδέες?
> _______________________________________________
> Advcomparch mailing list
> Advcomparch at lists.cslab.ece.ntua.gr
> http://lists.cslab.ece.ntua.gr/mailman/listinfo/advcomparch
>



More information about the Advcomparch mailing list