Bug 22807 - PTRACE_* constants missing for powerpc
Summary: PTRACE_* constants missing for powerpc
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.27
: P2 normal
Target Milestone: 2.28
Assignee: Dmitry V. Levin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-07 09:36 UTC by Andreas Schwab
Modified: 2018-03-31 12:33 UTC (History)
3 users (show)

See Also:
Host: powerpc*-*-*
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schwab 2018-02-07 09:36:40 UTC
ltrace now fails to build for all powerpc variants due to a missing definition of PTRACE_GETFPREGS, among others.  Even though powerpc/sys/ptrace.h never defined it, it was probably defined previously by indirect inclusion of <asm/ptrace.h> via <sys/ucontext.h>, which doesn't happen any more.
Comment 1 Dmitry V. Levin 2018-02-07 09:54:50 UTC
I'm currently testing an update of sys/ptrace.h for powerpc as a part of https://sourceware.org/bugzilla/show_bug.cgi?id=22433
Comment 2 Dmitry V. Levin 2018-02-26 13:52:24 UTC
Fixed by commit f5f473a9d0e8fdbede858fa1ef0d01d12142367b.