Sgenmi / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Cannot compile on filesystems not supported mmap #530

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by p0deje@gmail.com on 13 May 2013 at 6:19

Attachments:

GoogleCodeExporter commented 9 years ago
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.

Original comment by alkondratenko on 6 Jul 2013 at 8:17