[LLVMbugs] [Bug 20041] New: llvm built with clang analyzer fails to link on opt

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jun 14 14:43:17 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20041

            Bug ID: 20041
           Summary: llvm built with clang analyzer fails to link on opt
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: autoconf
          Assignee: unassignedbugs at nondot.org
          Reporter: sylvestre at debian.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

/usr/share/clang/scan-build/c++-analyzer -std=c++0x -g -O2 -rdynamic -Wl,-R
-Wl,'$ORIGIN/../lib'
-L/tmp/buildd/llvm-toolchain-snapshot-3.5~svn210980/build-llvm/Release+Asserts/lib
-L/tmp/buildd/llvm-toolchain-snapshot-3.5~svn210980/build-llvm/Release+Asserts/lib
-fuse-ld=gold   -o
/tmp/buildd/llvm-toolchain-snapshot-3.5~svn210980/build-llvm/Release+Asserts/bin/opt

/tmp/buildd/llvm-toolchain-snapshot-3.5~svn210980/build-llvm/tools/opt/Release+Asserts/AnalysisWrappers.o
/tmp/buildd/llvm-toolchain-snapshot-3.5~svn210980/build-llvm/tools/opt/Release+Asserts/BreakpointPrinter.o
/tmp/buildd/llvm-toolchain-snapshot-3.5~svn210980/build-llvm/tools/opt/Release+Asserts/GraphPrinters.o
/tmp/buildd/llvm-toolchain-snapshot-3.5~svn210980/build-llvm/tools/opt/Release+Asserts/NewPMDriver.o
/tmp/buildd/llvm-toolchain-snapshot-3.5~svn210980/build-llvm/tools/opt/Release+Asserts/PassPrinters.o
/tmp/buildd/llvm-toolchain-snapshot-3.5~svn210980/build-llvm/tools/opt/Release+Asserts/Passes.o
/tmp/buildd/llvm-toolchain-snapshot-3.5~svn210980/build-llvm/tools/opt/Release+Asserts/PrintSCC.o
/tmp/buildd/llvm-toolchain-snapshot-3.5~svn210980/build-llvm/tools/opt/Release+Asserts/opt.o
 \
-lLLVM-3.5   -lpthread -lffi -ledit -ltinfo -ldl -lm 
/tmp/buildd/llvm-toolchain-snapshot-3.5~svn210980/include/llvm/Support/CommandLine.h:599:
error: undefined reference to 'llvm::cl::parser<llvm::PassInfo
const*>::getOption(unsigned int) const'
collect2: error: ld returned 1 exit status

Works fine with a normal build.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140614/6bc94580/attachment.html>


More information about the llvm-bugs mailing list