casseopea2 / gperftools

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

Fix 64bit PowerPC build #80

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The following patch fixes 64bit builds on PowerPC:

- Use the mmap syscall instead of mmap2 like on x86-64. I rearranged the
code to make the #ifdef flow simpler.
- dont try and build the mmap2 syscall wrapper, it isn't defined for ppc64

Original issue reported on code.google.com by anton.bl...@gmail.com on 7 Oct 2008 at 9:59

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for the report.  These fixes will be in the next release.

I freely admit our PPC code is a work in progress, and we appreciate your help 
in
making it better.  If you have any other suggestions for improving the PPC 
code, let
us know!

Original comment by csilv...@gmail.com on 10 Oct 2008 at 11:35

GoogleCodeExporter commented 9 years ago
This patch is in perftools 1.0rc1.

Original comment by csilv...@gmail.com on 13 Dec 2008 at 1:43