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: [email protected]
Reporter: [email protected]
CC: [email protected]
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@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@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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs