[llvm-dev] [Help] Problem on running SPECInt 2006 with LLVM

Sunghyun Park via llvm-dev llvm-dev at lists.llvm.org
Mon Oct 22 20:53:22 PDT 2018


Hi, all. I'm trying to analyze SPECInt 2006 with LLVM and face errors on
some programs.
I modified the configuration in makefile tree so that each source code
generates its byte code instead of an object file.
Then, I combined all the generated byte codes into a single byte code and
run it directly with lli.
The approach works with several benchmarks (e.g. bzip) but not all of them.
Certain benchmarks like "471.omnetpp" or "483.xalancbmk" halt their
execution with segmentation fault. Interestingly, both benchmarks are
implemented C++.

Do I need to add certain optimization flag?
I'm only using the flags as follows: -static -emit-llvm -O2

Any advice will be a great help.
Thank you!
-- 
Best, Sung
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181022/9f8a76f2/attachment.html>


More information about the llvm-dev mailing list