[LLVMbugs] [Bug 21186] New: AddressSanitizer tests fail for powerpc64

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 7 07:03:01 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=21186

            Bug ID: 21186
           Summary: AddressSanitizer tests fail for powerpc64
           Product: compiler-rt
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: wschmidt at linux.vnet.ibm.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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 http://lab.llvm.org:8011/builders/sanitizer-ppc64-linux1/.

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141007/b4cf0369/attachment.html>


More information about the llvm-bugs mailing list