specint 2000 with llvm as test-suite

Hi,

Does anyone know how to fix the following error? I am compiling 254.gap as a part of test-suite with the following command in llvm-2.9/obj/projects/test-suite/External/SPEC/CINT2000.

make -C 254.gap

/home/dskhudia/tmp/llvm-2.9/obj/projects/test-suite/…/…/…/projects/test-suite/RunToolSafely.sh 500 /home/dskhudia/tmp/llvm-2.9/obj/Release/bin/opt -std-compile-opts -info-output-file=/home/dskhudia/tmp/llvm-2.9/obj/projects/test-suite/External/SPEC/CINT2000/254.gap/Output/254.gap.linked.bc.info -stats -time-passes Output/254.gap.linked.rbc -o Output/254.gap.linked.bc
/home/dskhudia/tmp/llvm-2.9/obj/projects/test-suite/…/…/…/projects/test-suite/RunToolSafely.sh 500 /home/dskhudia/tmp/llvm-2.9/obj/Release/bin/llvm-ld -info-output-file=/home/dskhudia/tmp/llvm-2.9/obj/projects/test-suite/External/SPEC/CINT2000/254.gap/Output/254.gap.llvm.bc.info -stats -time-passes Output/254.gap.linked.bc
-lc -o Output/254.gap.llvm
llvm-ld: error: Cannot find library ‘c’
warning: command failed: ‘/home/dskhudia/tmp/llvm-2.9/obj/Release/bin/llvm-ld -info-output-file=/home/dskhudia/tmp/llvm-2.9/obj/projects/test-suite/External/SPEC/CINT2000/254.gap/Output/254.gap.llvm.bc.info -stats -time-passes Output/254.gap.linked.bc -lc -o Output/254.gap.llvm’
/home/dskhudia/tmp/llvm-2.9/obj/projects/test-suite/…/…/…/projects/test-suite/RunToolSafely.sh 500 /home/dskhudia/tmp/llvm-2.9/obj/Release/bin/llc -asm-verbose=false -O3 -march=c Output/254.gap.llvm.bc -o Output/254.gap.cbe.c -info-output-file=/home/dskhudia/tmp/llvm-2.9/obj/projects/test-suite/External/SPEC/CINT2000/254.gap/Output/254.gap.cbe.c.info -stats -time-passes
/home/dskhudia/tmp/llvm-2.9/obj/Release/bin/llc: Output/254.gap.llvm.bc: Could not open input file: No such file or directory
warning: command failed: ‘/home/dskhudia/tmp/llvm-2.9/obj/Release/bin/llc -asm-verbose=false -O3 -march=c Output/254.gap.llvm.bc -o Output/254.gap.cbe.c -info-output-file=/home/dskhudia/tmp/llvm-2.9/obj/projects/test-suite/External/SPEC/CINT2000/254.gap/Output/254.gap.cbe.c.info -stats -time-passes’
/home/dskhudia/tmp/llvm-2.9/obj/projects/test-suite/…/…/…/projects/test-suite/RunToolSafely.sh 500 gcc Output/254.gap.cbe.c -o Output/254.gap.cbe -lm -fwrapv -O3 -fno-strict-aliasing -fno-inline -m64 -fomit-frame-pointer
gcc: Output/254.gap.cbe.c: No such file or directory
warning: command failed: ‘gcc Output/254.gap.cbe.c -o Output/254.gap.cbe -lm -fwrapv -O3 -fno-strict-aliasing -fno-inline -m64 -fomit-frame-pointer’

Thanks
Daya