On Thu, Sep 25, 2014 at 6:42 PM, Eric Eide <eeide@cs.utah.edu> wrote:Can you give more detail? What OS are you using? How did you install
LLVM/Clang?I use an up-to-date Ubuntu 14.04.1 LTS. I followed the main lines of the INSTALL file.% lsb_release -dDescription: Ubuntu 14.04.1 LTS% sudo apt-get update >/dev/null% sudo apt-get install indent astyle delta libbenchmark-timer-perl \libexporter-lite-perl libfile-which-perl libgetopt-tabular-perl \libregexp-common-perl libsys-cpu-perl flex build-essential \zlib1g-devReading package lists... DoneBuilding dependency treeReading state information... Donebuild-essential is already the newest version.flex is already the newest version.indent is already the newest version.libexporter-lite-perl is already the newest version.libfile-which-perl is already the newest version.libregexp-common-perl is already the newest version.zlib1g-dev is already the newest version.astyle is already the newest version.delta is already the newest version.libbenchmark-timer-perl is already the newest version.libgetopt-tabular-perl is already the newest version.libsys-cpu-perl is already the newest version.0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.% mkdir $PREFIX% tar xf clang+llvm-3.5.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz% mv clang+llvm-3.5.0-x86_64-linux-gnu/* $PREFIX% rmdir clang+llvm-3.5.0-x86_64-linux-gnu% pushd creduce% git clean -fxd% ./configure --prefix $PREFIX --with-llvm=$PREFIX...snip...checking can compile with and link with LLVM(engine)... noconfigure: error: in `/home/julien/work/git/extern/creduce':configure: error: cannot compile and link test program with selected LLVMSee `config.log' for more detailsExcerpt from config.log:configure:15321: checking can compile with and link with LLVM(engine)configure:15347: g++ -o conftest -g -O2 -I/home/julien/prefix/creduce/4749964/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3 -fomit-frame-pointer -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fPIC -Woverloaded-virtual -ffunction-sections -fdata-sections -Wcast-qual conftest.cpp -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMX86Desc -lLLVMObject -lLLVMMCParser -lLLVMBitReader -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMJIT -lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMCore -lLLVMSupport -L/home/julien/prefix/creduce/4749964/lib -lz -lpthread -ledit -ltinfo -ldl -lm >&5/usr/bin/ld: cannot find -leditcollect2: error: ld returned 1 exit status