<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 --- - [META] Fix errors in UBSan bootstrap of LLVM/Clang"
   href="http://llvm.org/bugs/show_bug.cgi?id=20815">20815</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[META] Fix errors in UBSan bootstrap of LLVM/Clang
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </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>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>vonosmas@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu, richard-llvm@metafoo.co.uk
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I've recently added bootstrap of LLVM/Clang with UBSan to the
sanitizer-x86_64-linux-boostrap buildbot:
<a href="http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap">http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap</a>

You can try it on your machine by passing just-built Clang as a host compiler
and -DLLVM_USE_SANITIZER=Undefined option to CMake.

Currently both check-llvm and check-clang test suites have failing tests:
<a href="http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap/builds/4368/steps/check-llvm%20ubsan/logs/stdio">http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap/builds/4368/steps/check-llvm%20ubsan/logs/stdio</a>
<a href="http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap/builds/4368/steps/check-clang%20ubsan/logs/stdio">http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap/builds/4368/steps/check-clang%20ubsan/logs/stdio</a>

A lot of LLVM failures will be fixed once:
1) <a href="http://reviews.llvm.org/D4976">http://reviews.llvm.org/D4976</a> lands (reviewers are welcome!)
2) jit_exit function in lib/ExecutionEngine/JIT/JITMemoryManager.cpp is defined
to return int to pacify function type sanitizer (if it's an appropriate fix).

There is a not-so-long tail of remaining issues there. I'd be grateful if you
can take a look and/or fix some of them.</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>