Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't build on Ubuntu 10.04: PR_SET_PTRACER #479

Closed
alk opened this issue Aug 23, 2015 · 3 comments
Closed

Doesn't build on Ubuntu 10.04: PR_SET_PTRACER #479

alk opened this issue Aug 23, 2015 · 3 comments

Comments

@alk
Copy link
Contributor

alk commented Aug 23, 2015

Originally reported on Google Code with ID 476

What steps will reproduce the problem?
1. Build on Ubuntu 10.04.
2. Fails with the following error.

src/base/linuxthreads.cc: In function 'int ListAllProcessThreads(void*, int (*)(void*,
int, pid_t*, __va_list_tag*), ...)':
src/base/linuxthreads.cc:629: error: 'PR_SET_PTRACER' was not declared in this scope


What is the expected output? What do you see instead?
It should be built.


What version of the product are you using? On what operating system?
The latest r160.


Please provide any additional information below.
It looks introduced in r152 for the issue 437.  https://code.google.com/p/gperftools/source/detail?r=152

We may need to switch it with versions.

Reported by dmikurube@chromium.org on 2012-10-23 04:11:35

@alk
Copy link
Contributor Author

alk commented Aug 23, 2015

Reported by chappedm on 2012-10-29 12:16:56

  • Status changed: Accepted

@alk
Copy link
Contributor Author

alk commented Aug 23, 2015

A (trial) patch to fix it.  What do you think?

Reported by dmikurube@chromium.org on 2012-10-30 10:40:48


- _Attachment: [476.patch](https://storage.googleapis.com/google-code-attachments/gperftools/issue-476/comment-2/476.patch)_

@alk
Copy link
Contributor Author

alk commented Aug 23, 2015

r171 | chappedm@gmail.com | 2012-11-03 12:14:25 -0400 (Sat, 03 Nov 2012) | 1 line

issue-476: Amendment to r152:issue-437 to fix a build error due to PR_SET_TRACER not
being defined in older glibc releases.

Reported by chappedm on 2012-11-03 16:16:59

  • Status changed: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant