https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81324

--- Comment #2 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Tue Jul 18 22:06:31 2017
New Revision: 250324

URL: https://gcc.gnu.org/viewcvs?rev=250324&root=gcc&view=rev
Log:
        PR go/81324
    sysinfo.c: ignore ptrace_peeksiginfo_args from <linux/ptrace.h>

    With some versions of glibc and GNU/Linux ptrace_pseeksiginfo_args is
    defined in both <sys/ptrace.h> and <linux/ptrace.h>. We don't actually
    care about the struct, so use a #define to avoid a redefinition error.

    This fixes https://gcc.gnu.org/PR81324.

    Reviewed-on: https://go-review.googlesource.com/49290

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/libgo/sysinfo.c

Reply via email to