<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - llvm built with clang analyzer fails to link on opt"
   href="http://llvm.org/bugs/show_bug.cgi?id=20041">20041</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llvm built with clang analyzer fails to link on opt
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Build scripts
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>release blocker
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>autoconf
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sylvestre@debian.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>/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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>