- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Link copiado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
FYI, this appears to be a PIN problem. I'm passing it on to the PIN developers.
- Barry
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Build 171 of libzca and Cilkprof have been posted at thedownload page which should fix the problem with newer versions of PIN.
- Barry
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora