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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to