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

Cannot compile on filesystems not supported mmap #533

Closed
alk opened this issue Aug 23, 2015 · 1 comment
Closed

Cannot compile on filesystems not supported mmap #533

alk opened this issue Aug 23, 2015 · 1 comment

Comments

@alk
Copy link
Contributor

alk commented Aug 23, 2015

Originally reported on Google Code with ID 530

What steps will reproduce the problem?
1. Create VirtualBox VM with Ubuntu guest
2. Share any folder using VirtualBox
3. Try to compile gperftools

What is the expected output? What do you see instead?
gperftools should successfully compile. However, it doesn't as it cannot find mmap,
which is required.

What version of the product are you using? On what operating system?
gperftools-2.0, Ubuntu 12.04 32bit

Please provide any additional information below.

Shared folders use special VirtualBox filesystem, which doesn't support mmap. See related
VirtualBox issue - https://www.virtualbox.org/ticket/819. It should probably reproduce
on any other filesystem without mmap.

Originally, I asked this question in Google group and was pointed to raise issue. See
https://groups.google.com/forum/?fromgroups=#!topic/google-perftools/5O7pyQ-xXmk for
(short) discussion.

Truncated logs are attached.

Reported by p0deje on 2013-05-13 06:19:23


- _Attachment: [make.log](https://storage.googleapis.com/google-code-attachments/gperftools/issue-530/comment-0/make.log)_ - _Attachment: [config.log](https://storage.googleapis.com/google-code-attachments/gperftools/issue-530/comment-0/config.log)_
@alk
Copy link
Contributor Author

alk commented Aug 23, 2015

I've looked at this issue closely.

It appears that AC_FUNC_MMAP is testing if source directly filesystem supports mmap.

We could potentially do something about it but IMHO it's not worth it.

Just don't build gperftools on such filesystems.

Reported by alkondratenko on 2013-07-06 20:17:50

  • Status changed: WontFix

@alk alk closed this as completed Aug 23, 2015
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