[LLVMbugs] [Bug 16488] New: sanitizer_platform_limits_posix.cc:182:26: error: use of undeclared identifier 'PTRACE_GETREGSET'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jun 28 17:52:22 PDT 2013


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

            Bug ID: 16488
           Summary: sanitizer_platform_limits_posix.cc:182:26: error: use
                    of undeclared identifier 'PTRACE_GETREGSET'
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: ingowald at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

With top of tree (R185245), freshly updated llvm, clang, compiler-rt,
clang-extras, and plain 'cd build; ../configure; make"

make[5]: Entering directory `/home/wald/Projects/llvm/projects/compiler-rt'
  COMPILE:   clang_linux/san-x86_64/x86_64:
/home/wald/Projects/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
/home/wald/Projects/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:182:26:
error: use of undeclared identifier 'PTRACE_GETREGSET'; did
      you mean 'PTRACE_GETREGS'?
  int ptrace_getregset = PTRACE_GETREGSET;
                         ^~~~~~~~~~~~~~~~
                         PTRACE_GETREGS
/usr/include/sys/ptrace.h:75:4: note: 'PTRACE_GETREGS' declared here
   PTRACE_GETREGS = 12,
   ^
/home/wald/Projects/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:183:26:
error: use of undeclared identifier 'PTRACE_SETREGSET'; did
      you mean 'PTRACE_SETREGS'?
  int ptrace_setregset = PTRACE_SETREGSET;
                         ^~~~~~~~~~~~~~~~
                         PTRACE_SETREGS
/usr/include/sys/ptrace.h:80:4: note: 'PTRACE_SETREGS' declared here
   PTRACE_SETREGS = 13,
   ^
2 errors generated.

wald at w510 ~/Projects/llvm/build $ uname -a
Linux w510.localdomain 2.6.32-358.6.2.el6.x86_64 #1 SMP Thu May 16 20:59:36 UTC
2013 x86_64 x86_64 x86_64 GNU/Linux
wald at w510 ~/Projects/llvm/build $ g++ --version
g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

-- 
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/20130629/bf75dab3/attachment.html>


More information about the llvm-bugs mailing list