Can't compile on my Linux Live Ubuntu 12.04 LTS 32-bit

635 views
Skip to first unread message

cesaraugust...@richmond.edu

unread,
Mar 20, 2013, 6:52:00 PM3/20/13
to snip...@googlegroups.com
Good evening.

I am facing some problems compiling my Sinper Sim on my personal Ubuntu.
First modification that I did (because was not finding the "cc_used_ia32_l.CVH") was editing the "include" field at pinversion.cc to use the full pin_kit folder (../pin_kit/source/include/pin/gen/cc_used_ia32_l.CVH).

But then, the last problem that I got, and I haven't found any solution so far is:

--------
Makefile.27: /home/ubuntu/sniper/sift/recorder/../../pin_kit/source/tools/makefile.gnu.config: No such file or directory
make[2]: *** No rule to make target `/home/ubuntu/sniper/sift/recorder/../../pin_kit/source/tools/makefile.gnu.config'. Stop.
make[1]: *** [recorder] Error 2
make: *** [/home/ubuntu/sniper/sift/libsift.a] Error 2
-------- 

Any ideas of what should it be? Or what could I do?
One more information: I am using gcc 4.6.3, Pin 2.12 and libboost and g++-4.4 are both installed.

Thanks in advance.

Wim Heirman

unread,
Mar 20, 2013, 7:37:43 PM3/20/13
to snip...@googlegroups.com
Hi,

I suspect you're using the very latest version of Pin, revision 56759?
This release changed the build infrastructure for Pin tools, we
haven't yet made the necessary changes in Sniper. Please try using one
Pin version older (rev 55942 dated December 2012).

Regards,
Wim
> --
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Sniper simulator" group.
> To post to this group, send email to snip...@googlegroups.com
> To unsubscribe from this group, send email to
> snipersim+...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/snipersim?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Sniper simulator" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to snipersim+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Dawei Li

unread,
Apr 12, 2013, 12:52:35 AM4/12/13
to snip...@googlegroups.com
I encountered the same problem.
But, where can we download pin rev 55942 for linux?

Available versions from http://software.intel.com/en-us/articles/pintool-downloads
are:
58423 Apr 11, 2013 gcc 3.4 and later Manual Release Notes Xed
56759 Jan 20, 2013 gcc 3.4 and later Manual Release Notes Xed
49306 Apr 11, 2012 gcc 3.4 and later Manual Release Notes Xed
45467 Nov 28, 2011 gcc 3.4 and later Manual Release Notes Xed

If I use 58423 or 56759, I will have this problem.
If I use 49306, it says, a higher version is required.

How should we deal with this problem?

Wim Heirman

unread,
Apr 12, 2013, 4:00:02 AM4/12/13
to snip...@googlegroups.com
Dawei,

You can download a working Pin version directly from [1]. We'll add support for the newest Pin version in the upcoming Sniper release.

Regards,
Wim

Jaime Arteaga

unread,
May 9, 2013, 6:19:36 PM5/9/13
to snip...@googlegroups.com
Same error with Pin's newest version but worked perfectly with version 55942. Thanks.

Daniel Hofman

unread,
May 14, 2013, 6:15:47 AM5/14/13
to snip...@googlegroups.com
Do you know when we will be able to use pin 58423 with sniper?

Trevor Carlson

unread,
May 14, 2013, 7:27:31 AM5/14/13
to snip...@googlegroups.com
Daniel,

    Sorry about that, I should have posted this patch earlier. The attached patch applies to Sniper 5.0 and when applied requires a minimum Pin version of 58423. This patch will also be contained in the Sniper 5.1 release.

Please tell us if you run into any problems,
Trevor
-- 
----------------------------------------------
Trevor E. Carlson
Trevor....@elis.UGent.be
http://www.elis.ugent.be/~tcarlson
Computer Systems Laboratory, Ghent University
Electronics and Information Systems Department
work:   +32 9 264 3456
mobile: +32 474 545 987
sniper-5.0-require-minimum-pin-58423.patch

Daniel Hofman

unread,
May 16, 2013, 9:49:30 AM5/16/13
to snip...@googlegroups.com
Thank you Trevor, it's working great.

Yasaman Samei

unread,
Sep 13, 2013, 7:10:00 PM9/13/13
to snip...@googlegroups.com
Hi
I just started compiling/using the sniper. So It can not be compiled without the pintool?
If no, then is it the correct link to dl the pintool?
http://software.intel.com/en-us/articles/pintool-downloads

Can you guide me on how to apply the above patch to pintool?

Thanks

Trevor Carlson

unread,
Sep 14, 2013, 1:56:18 AM9/14/13
to yasama...@gmail.com, snip...@googlegroups.com
Yasaman,

     Did you follow the getting started directions from [1]? Sniper is, in many cases, a large pintool that runs inside of Pin, and that means that Pin is a requirement to compile and run Sniper.

     Sniper 5.1 no longer requires this patch for Pin 58423. I would recommend starting with 58423 especially if you are running 32-bit applications. We've noticed that the newest Pin version (61206) has problems with 32-bit code on newer 64-bit machines.

Trevor

Reply all
Reply to author
Forward
0 new messages