- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not reproducing the problem, but I'm using a nightly build of 12.1 which is much newer. 12.1 Update 10 should now be released. Can you upgrade to a newer version?
Also, the error message being produced isn't helpful. It's produced in INS_of_ADDRINT in zca_table.cpp. Try replacing the fprintf statement with the following statement which might give us a clue:
fprintf(stderr, "INS_of_ADDRINT: Failed to find address %p in routine %s. Exiting.\n", (void *)addr, LEVEL_PINCLIENT::RTN_Name(rtn).c_str());
Obviously since I'm not reproducing the problem, I can't verify that this will help, but at least it compiles...
One other thought. What was the command you used to compile your copy of fib? I'm getting odd results with:
icpc -o fib fib.cpp
The following seems to work correctly:
icpc -O0 -o fib fib.cpp
At this point I don't know why unoptimized code works correctly.
- Barry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I demangle the name, it's showing that the problem is with cilk_for_root, which is part of the Cilk runtime's support for cilk_for (in cilk-abi-cilk-for.cpp, if you've got the GCC sources or the version we've published). Is it correct to assume that you're using the version of libcilkrts.so.5 shipped with the Intel compiler? Either way, it means that how you compiled your application isn't likely to be the issue.
Also, I'm assuming that you're using a basic fib program, which doesn't have a cilk_for in it. Am I correct?
- Barry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've reproduced it. It appears to be a difference between the version of PIN we're using (Rev. 43611) and the current version (Rev. 49306). You can try pulling down the old version from http://www.pintool.org/downloads.html
Meanwhile I'll try to track down the problem.
- Barry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
FYI, this appears to be a PIN problem. I'm passing it on to the PIN developers.
- Barry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Build 171 of libzca and Cilkprof have been posted at thedownload page which should fix the problem with newer versions of PIN.
- Barry
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page