From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10831 Path: news.gmane.org!.POSTED!not-for-mail From: "A. Wilcox" Newsgroups: gmane.linux.lib.musl.general Subject: PowerPC bits/user.h defining struct pt_regs Date: Fri, 30 Dec 2016 01:04:45 -0600 Organization: =?UTF-8?Q?Ad=c3=a9lie_Linux?= Message-ID: <5866070D.8080604@adelielinux.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1483081524 6929 195.159.176.226 (30 Dec 2016 07:05:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 30 Dec 2016 07:05:24 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 To: musl@lists.openwall.com Original-X-From: musl-return-10844-gllmg-musl=m.gmane.org@lists.openwall.com Fri Dec 30 08:05:15 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1cMrFV-0008TT-Lb for gllmg-musl@m.gmane.org; Fri, 30 Dec 2016 08:05:09 +0100 Original-Received: (qmail 14057 invoked by uid 550); 30 Dec 2016 07:05:12 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 14019 invoked from network); 30 Dec 2016 07:05:09 -0000 X-Enigmail-Draft-Status: N1110 Xref: news.gmane.org gmane.linux.lib.musl.general:10831 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 While trying to compile packages on PowerPC that use the ptrace kernel interface - including gdb, psmisc, strace, systemtap, and other packages - we are always receiving this error: make[1]: Leaving directory '/usr/src/sys-process/psmisc-22.21-r3/work/psmisc-22.21' cd .. && make am--refresh cd .. && make am--refresh gcc -DHAVE_CONFIG_H -I. -I.. -Wall - -DLOCALEDIR=\"/usr/share/locale\" -DPPC -O2 -mlong-double-64 - -ggdb -mcpu=G3 -fno-omit-frame-pointer -c -o peekfd.o peekfd.c In file included from /usr/include/sys/user.h:11:0, from peekfd.c:33: /usr/include/bits/user.h:1:8: error: redefinition of 'struct pt_regs' struct pt_regs { ^ In file included from peekfd.c:30:0: /usr/include/asm/ptrace.h:31:8: note: originally defined here struct pt_regs { ^ Removing the struct definition from bits/user.h fixes this error, but I'm not entirely sure when pt_regs should be visible. Any help solving this issue, especially before 1.1.16 is cut, would be greatly helpful in getting a viable PowerPC environment for user enjoyment. :) Thanks so much and happy holiday, - --arw - -- A. Wilcox (awilfox) Project Lead, Adélie Linux http://adelielinux.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYZgcJAAoJEMspy1GSK50UuiAQAJ1nrhPxgw3lg1HYMTnUXcSq YiEzpcRLxJfZhc3lel9ES1ZfBbCdlKEcpAi81sPhpp3sA0OHjnrpGDS/5F7Ockog Im+dNSh2QkSE2xQXxoMirIAjePmzBRv/H614QNT63XJhksujVtBiAhfgd4Ceh8gy NO/+Hena/Pxm3eEfL4RMscYSfd7tlmJ0r0JCTo8oVQZNGf0cj/9R7kxMwfPgHauY c+CcPZbpXYTNJZB9MMdZuEFImrqv7EjJbYhRr4xqorcgDskYuR338V+XGhPG+RBJ AlwwrVT2dta8n0JmxYYSJzU52h+rUbIBtx6W2XgkmDqGBiWNynQ/03PRqLZCJBNh 5c/O3tB4eJKpzFsZKpwEPfycyxS21QJh5TG01mU2t1NO0amFp+8xI+vtv62Vy/as jvCKuuamqJWayEbThHK4S+0T0PkLWhb1IOBIbScxBPqxhzzMHMQffsp8pAI+EUXO bpHABL9hitMLi/goSl2fXNYebm7XkToywHRlTXHp4B5qeTiLYkd+0OT68tL8GcQn 2qy0Zs66O2msZJKof3+3M9VSRAP+KIx3cBjJR7tscax6K5rrilZmluMgDgTS7mdj EQ7RWyqm9UO34OeXXhnftwFM+PPpvpzi2bESdt8f7TIwYFsEKPSLxGUBDSwJJ06O EitC8wcaOi/BjD5y+YFI =xrDa -----END PGP SIGNATURE-----