drrun on SPEC CPU® 2017

172 views
Skip to first unread message

Chiao-Ying Lin

unread,
Mar 5, 2021, 9:48:54 PM3/5/21
to DynamoRIO Users
Hi all,

I am a new user of dynamorio, and I am now using drrun to study some benchmarks from SPEC CPU® 2017. 

I am now using the following command in runcpu:

/home/ubuntu/dynamorio/build/bin64/drrun -c  /home/ubuntu/dynamorio/build/api/bin/libinscount.so -- \
/home/ubuntu/spec2017/bin/specperl -I"${_bin}/common" -I"${_bin}/${_lib}" -I"${_bin}" -I"${_bin}/lib" "${_bin}/${_loc}/${_tool}" $*

but this would fail at building the benchmark with the following message:

======================================================================
Client inscount is running
/usr/bin/ld: cannot find Instrumentation results: 30733113 instructions executed: No such file or directory
/usr/bin/ld: cannot find : No such file or directory
/usr/bin/ld: cannot find Instrumentation results: 3342562 instructions executed: No such file or directory
/usr/bin/ld: cannot find : No such file or directory
/usr/bin/ld: cannot find Instrumentation results: 8623990803 instructions executed: No such file or directory
/usr/bin/ld: cannot find : No such file or directory
/usr/bin/ld: cannot find Instrumentation results: 130732949 instructions executed: No such file or directory
/usr/bin/ld: cannot find : No such file or directory
/usr/bin/ld: cannot find Instrumentation results: 3317894 instructions executed: No such file or directory
/usr/bin/ld: cannot find : No such file or directory
/usr/bin/ld: cannot find Instrumentation results: 2467271 instructions executed: No such file or directory
/usr/bin/ld: cannot find : No such file or directory
/usr/bin/ld: error: could not unlink output file
collect2: error: ld returned 1 exit status
=======================================================================

I cannot even tell what the missing file/directory is.

Best regards,
Chiao-Ying  


John Galea

unread,
Mar 6, 2021, 8:02:41 AM3/6/21
to dynamor...@googlegroups.com
So, from my experience with using SPEC CPU, I typically set a monitor_wrapper in the configuration file so that specinvoke triggers drrun.

--
You received this message because you are subscribed to the Google Groups "DynamoRIO Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dynamorio-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dynamorio-users/102b9b43-5bbe-4e57-a1a0-bdbafee14841n%40googlegroups.com.

Chiao-Ying Lin

unread,
Mar 10, 2021, 4:16:09 PM3/10/21
to DynamoRIO Users
Hello John, 

thanks for the solution. It works :D

Chiao-Ying
Reply all
Reply to author
Forward
0 new messages