Hi Duncan, Do you have sources also in the $LLVM_SRC_ROOT/projects/test-suite/External/SPEC/CINT2000/164.gzip? The following is content of above directory in my case. I have copied the CINT2000 sources in this directory manually. $ls -1 $LLVM_SRC_ROOT/projects/test-suite/External/SPEC/CINT2000/164.gzip 164.gzip.reference_output 164.gzip.reference_output.small compile_info compile_parms exec_info_input1 exec_info_input2 exec_info_input3 exec_info_input4 exec_info_input5 exec_info_input6 exec_info_input7 input1 Makefile make_src_164.gzip output1 output2 output3 output4 output5 output6 output7 patched_src src Does this look ok to you? Thanks for your help. Daya On Wed, Jun 29, 2011 at 3:05 AM, Duncan Sands <baldrick at free.fr> wrote:> Hi Daya, > > > checking for spec2000 benchmark sources... no, not found in > > $LLVM_SRC_ROOT/projects/test-suite-externals/speccpu2000/benchspec > > I have 164.gzip at > $LLVM_SRC_ROOT/projects/test-suite/External/SPEC/CINT2000/164.gzip > and it seems to work. > > Ciao, Duncan. > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110629/54755496/attachment.html>
My source directory wasn't correct but now I have a correct test directory structure. $ls -1 ~/tmp/speccpu2000/benchspec/CINT2000/164.gzip/ data docs exe result run Spec src version I reconfigured the llvm with ../configure --prefix=/home/dskhudia/tmp/llvm-install --with-llvmgccdir=/home/dskhudia/tmp/llvm-install --with-externals=/home/dskhudia/tmp Now I can execute the make -C 164.gzip but I am getting the following error. /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/164.gzip/Output/ 164.gzip.llvm.bc.info -stats -time-passes Output/164.gzip.linked.bc \ -lc -o Output/164.gzip.llvm llvm-ld: error: Cannot find library 'c' Does anyone where is this c library expected? Thanks Daya On Wed, Jun 29, 2011 at 1:53 PM, D S Khudia <daya.khudia at gmail.com> wrote:> Hi Duncan, > > Do you have sources also in > the $LLVM_SRC_ROOT/projects/test-suite/External/SPEC/CINT2000/164.gzip? > > The following is content of above directory in my case. I have copied the > CINT2000 sources in this directory manually. > > $ls -1 $LLVM_SRC_ROOT/projects/test-suite/External/SPEC/CINT2000/164.gzip > 164.gzip.reference_output > 164.gzip.reference_output.small > compile_info > compile_parms > exec_info_input1 > exec_info_input2 > exec_info_input3 > exec_info_input4 > exec_info_input5 > exec_info_input6 > exec_info_input7 > input1 > Makefile > make_src_164.gzip > output1 > output2 > output3 > output4 > output5 > output6 > output7 > patched_src > src > > Does this look ok to you? > > Thanks for your help. > Daya > > > On Wed, Jun 29, 2011 at 3:05 AM, Duncan Sands <baldrick at free.fr> wrote: > >> Hi Daya, >> >> > checking for spec2000 benchmark sources... no, not found in >> > $LLVM_SRC_ROOT/projects/test-suite-externals/speccpu2000/benchspec >> >> I have 164.gzip at >> $LLVM_SRC_ROOT/projects/test-suite/External/SPEC/CINT2000/164.gzip >> and it seems to work. >> >> Ciao, Duncan. >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >> > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110629/ba4daa01/attachment.html>
> /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/164.gzip/Output/164.gzip.llvm.bc.info > <http://164.gzip.llvm.bc.info> -stats -time-passes Output/164.gzip.linked.bc \ > -lc -o Output/164.gzip.llvm > llvm-ld: error: Cannot find library 'c' > > Does anyone where is this c library expected?Are you on ubuntu or recent debian? Ciao, Duncan.
> llvm-ld: error: Cannot find library 'c'I'm using this hack, but of course there should really be a correct fix for this "gcc multi-arch" issue. --- test-suite/Makefile.programs (revision 134059) +++ test-suite/Makefile.programs (working copy) @@ -362,6 +362,7 @@ # Disable asm-verbose. This can slow down compilation and is not what the # compilers default to using. LLCFLAGS += -asm-verbose=false +LLVMLD_FLAGS += -L/usr/lib/x86_64-linux-gnu/ # If the program requires exception handling support, enable (potentially # expensive) support for it.