<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 --- - AddressSanitizer tests fail for powerpc64"
   href="http://llvm.org/bugs/show_bug.cgi?id=21186">21186</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>AddressSanitizer tests fail for powerpc64
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </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>compiler-rt
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>wschmidt@linux.vnet.ibm.com
          </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>AddressSanitizer used to work for PowerPC some time ago, but at this time the
tests are broken.  We have an ASAN buildbot running to track the status of
these tests; see <a href="http://lab.llvm.org:8011/builders/sanitizer-ppc64-linux1/">http://lab.llvm.org:8011/builders/sanitizer-ppc64-linux1/</a>.

Currently the buildbot stops with this failure:

FAIL: SanitizerCommon-asan :: Linux/ptrace.cc (1 of 12)
******************** TEST 'SanitizerCommon-asan :: Linux/ptrace.cc' FAILED
********************
Script:
--
/home/buildbots/sanitizerslave1/sanitizer-ppc64-1/build/clang_build/./bin/clang
--driver-mode=g++ -gline-tables-only -fsanitize=address  -O0
/home/buildbots/sanitizerslave1/sanitizer-ppc64-1/build/llvm/projects/compiler-rt/test/sanitizer_common/TestCases/Linux/ptrace.cc
-o
/home/buildbots/sanitizerslave1/sanitizer-ppc64-1/build/clang_build/projects/compiler-rt/test/sanitizer_common/asan/Linux/Output/ptrace.cc.tmp
&& 
/home/buildbots/sanitizerslave1/sanitizer-ppc64-1/build/clang_build/projects/compiler-rt/test/sanitizer_common/asan/Linux/Output/ptrace.cc.tmp
--
Exit Code: 1

Command Output (stderr):
--
/home/buildbots/sanitizerslave1/sanitizer-ppc64-1/build/llvm/projects/compiler-rt/test/sanitizer_common/TestCases/Linux/ptrace.cc:21:5:
error: unknown type name 'user_regs_struct'
    user_regs_struct regs;
    ^
/home/buildbots/sanitizerslave1/sanitizer-ppc64-1/build/llvm/projects/compiler-rt/test/sanitizer_common/TestCases/Linux/ptrace.cc:28:5:
error: unknown type name 'user_fpregs_struct'
    user_fpregs_struct fpregs;
    ^
2 errors generated.

Presumably this requires a simple fix.  However, we know there are more
pervasive problems from earlier investigations, where it appeared that some
endian issues exist in the ASAN code.

This bug should be kept open until all of the ASAN test cases pass successfully
for powerpc64-unknown-linux-gnu and the buildbot status is green and stable.</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>