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

Compilation error: cast to pointer from integer of different size on ppc64le #83

Closed
dkopecek opened this issue Aug 24, 2016 · 2 comments

Comments

@dkopecek
Copy link

Hi,
here are some more compilation errors. This time from an attempt to compile on ppc64le arch:

linux/ptrace_utils.c: In function 'arch_getPC':
linux/ptrace_utils.c:402:63: error: unused parameter 'status_reg' [-Werror=unused-parameter]
 static size_t arch_getPC(pid_t pid, REG_TYPE * pc, REG_TYPE * status_reg)
                                                               ^~~~~~~~~~
linux/ptrace_utils.c: In function 'arch_ptraceAnalyzeData':
linux/ptrace_utils.c:696:27: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
             funcs[0].pc = (void *)pc;
                           ^
linux/ptrace_utils.c: In function 'arch_ptraceSaveData':
linux/ptrace_utils.c:762:27: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
             funcs[0].pc = (void *)pc;
                           ^
@robertswiecki
Copy link
Collaborator

HI, thanks for the report - possibly fixed in acd1cdb - I don't have ppc64 handly, so it's just a guess

@dkopecek
Copy link
Author

Fixed, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants