Skip to content

Compiling SPEC2006 with MCFI/PICFI #2

@jarsp

Description

@jarsp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions