Re: [COMMITTED] Include sys/ptrace.h as early as possible.

2018-02-15 Thread Mark Wielaard
On Thu, 2018-02-15 at 18:22 +0300, Dmitry V. Levin wrote: > Yes, but we are also going to fix this in glibc, too. Thanks, I was about to report it, but I needed to build on a system where this is an issue right now. I did check the reordering of includes works fine on various other (older) systems

Re: [COMMITTED] Include sys/ptrace.h as early as possible.

2018-02-15 Thread Dmitry V. Levin
On Thu, Feb 15, 2018 at 03:44:40PM +0100, Mark Wielaard wrote: > On some systems, at least on Fedora 27 ppc64le with glibc 2.26-24 and > kernel 4.14.18-300, including sys/ptrace.h late (after signal.h or > sys/wait.h for example) will cause issues and produce errors like: > > In file included from

[COMMITTED] Include sys/ptrace.h as early as possible.

2018-02-15 Thread Mark Wielaard
On some systems, at least on Fedora 27 ppc64le with glibc 2.26-24 and kernel 4.14.18-300, including sys/ptrace.h late (after signal.h or sys/wait.h for example) will cause issues and produce errors like: In file included from /usr/include/asm/sigcontext.h:12:0, from /usr/include/b