[LLVMdev] Problem while compling SPEC2000 with llvm-gcc
Li Shengmei
lism03 at gmail.com
Tue Dec 22 22:22:27 PST 2009
Hi, all
I use llvm-gcc -O4 to compile SPEC 2000, some benchmarks can't be
built successfully, such as 164.gzip, 175.vpr etc.
The error messages are as follows.
..
zh.o unlzw.o unpack.o unzip.o util.o zip.o -o gzip
bits.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
specmake: *** [gzip] Error 1
specmake options 2> options.err | tee options.out
COMP: /home2/lishengmei/tools/llvm-gcc-4.2/bin/llvm-gcc -c -o options.o
-O4
LINK: /home2/lishengmei/tools/llvm-gcc-4.2/bin/llvm-gcc -o
options
Some files did not appear to be built: gzip
*** Error building 164.gzip
If you wish to ignore this error, please use '-I' or ignore errors.
When I use O3 instead of O4, the errors disappear. I use llvm-2.6 version on
Red hat Linux. The CPU is "Dual-Core AMD Opteron(tm) Processor 8218"
Can anyone give help?
Btw, some benchmarks run more slowly wth llvm-gcc O3 than with gcc
O3(version is 4.4.2) on my system. Such as 186.crafty, 253.perlbmk, 254.gap
Anyone give comments?
Thanks
Shengmei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091223/f764e634/attachment.html>
More information about the llvm-dev
mailing list