<html>
    <head>
      <base href="https://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 --- - Thread sanitizer crash: error in backend: Sanitizer interface function redefined (memcpy)"
   href="https://llvm.org/bugs/show_bug.cgi?id=30704">30704</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Thread sanitizer crash: error in backend: Sanitizer interface function redefined (memcpy)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.9
          </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>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>keith@doctorigor.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=17447" name="attach_17447" title="preprocessed input">attachment 17447</a> <a href="attachment.cgi?id=17447&action=edit" title="preprocessed input">[details]</a></span>
preprocessed input

Submitting a bug report as requested by clang:

% /usr/local/bin/clang -w -fsanitize=thread mpeg2.c -o mpeg2
i8* (i8*, i8*, i64)* bitcast (void (i8*, i8*, i32)* @memcpy to i8* (i8*, i8*,
i64)*)
fatal error: error in backend: Sanitizer interface function redefined: i8*
(i8*, i8*, i64)* bitcast (void (i8*, i8*, i32)* @memcpy to i8* (i8*, i8*,
i64)*)
clang-3.9: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 3.9.0 (tags/RELEASE_390/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/local/bin
clang-3.9: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.</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>