Skip to content

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

@GoogleCodeExporter

Description

@GoogleCodeExporter
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:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions