mauiaaron / linux-syscall-support

Automatically exported from code.google.com/p/linux-syscall-support
3 stars 0 forks source link

powerpc64: sys_mmap2 build fails due to only __NR_mmap being available #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Untar either coredumper or breakpad google projects
2. ./configure
3. make

What is the expected output?

It should compile

What do you see instead?

In file included from 
src/client/linux/crash_generation/crash_generation_client.cc:40:0:
./src/third_party/lss/linux_syscall_support.h: In function ‘void* 
sys_mmap2(void*, size_t, int, int, int, off_t)’:
./src/third_party/lss/linux_syscall_support.h:2793:18: error: ‘__NR_mmap2’ 
was not declared in this scope
         __sc_0 = __NR_##name
                  ^

More detailed output is attached.

What version of the product are you using?

I have tried and replicated this with current and older versions of both 
packages, which include the LSS headers as third party code.

On what operating system?

RHEL7.1 Power8 Processor

Please provide any additional information below.

I have attached the full output from the configure/make steps for both 
coredumper and breakpad.

I cannot grant access to the system, but I will be happy to add patches and 
test as often as required.

Original issue reported on code.google.com by unheili...@gmail.com on 9 May 2015 at 11:08

Attachments:

GoogleCodeExporter commented 8 years ago
One of my colleagues found this reference, which I had missed:

https://code.google.com/p/gperftools/issues/detail?id=80

That seems to suggest a solution.

Original comment by unheili...@gmail.com on 13 May 2015 at 7:34

GoogleCodeExporter commented 8 years ago

Original comment by vapier@chromium.org on 2 Sep 2015 at 4:51