Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling SPEC2006 with MCFI/PICFI #2

Open
jarsp opened this issue Apr 15, 2020 · 1 comment
Open

Compiling SPEC2006 with MCFI/PICFI #2

jarsp opened this issue Apr 15, 2020 · 1 comment

Comments

@jarsp
Copy link

jarsp commented Apr 15, 2020

Hello,
I've followed the instructions to compile the instrumented toolchain on a Ubuntu 14.04.6 VM, and I am trying to get it to compile and run the SPEC CPU2006 benchmarks.
I was using the llvm test suite (at https://github.com/llvm/llvm-test-suite) to compile and llvm-lit to run the benchmarks, but the benchmarks segfault in what appears to be instrumentation code. The given patches were applied to the code.
May I know if there is any recommended method of getting the SPEC benchmarks running under PICFI?

If it helps, I was using

cmake -DTEST_SUITE_SUBDIRS=External -C../cmake/caches/O3.cmake -DTEST_SUITE_SPEC2006_ROOT=<spec2006_path> -DTEST_SUITE_USE_PERF=ON -GNinja ..

as my cmake command-line, and CC and CXX set to clang/clang++ in toolchain/bin.
Thanks again.

@mcfi
Copy link
Owner

mcfi commented Apr 29, 2020

Hello, thanks for the interest. I never tested using the llvm test suite to build and run spec2k6. If I remember correctly, you probably need to hack into spec2k6 build configs to build the programs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants