Re: strace breaks with to be released glibc 2.31
Hi, On Wed, Jan 15, 2020 at 08:10:38PM +, Vineet Gupta wrote: > Hi, > > I've been testing an in-works glibc port for ARC and with 2.31 there's a glibc > change which seems to break strace. > > Commit d1e411e5c786ce3 "Add PTRACE_GET_SYSCALL_INFO from Linux 5.3 to > sys/ptrace.h." > > This now defines PTRACE_GET_SYSCALL_INFO but defines struct > __ptrace_syscall_info > (not the non underscored ver) causing strace to trip. You must've got a relatively rare environment with glibc-2.31 and Linux kernel headers < 5.3. I'm testing a fix. Thanks, -- ldv ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc
strace breaks with to be released glibc 2.31
Hi, I've been testing an in-works glibc port for ARC and with 2.31 there's a glibc change which seems to break strace. Commit d1e411e5c786ce3 "Add PTRACE_GET_SYSCALL_INFO from Linux 5.3 to sys/ptrace.h." This now defines PTRACE_GET_SYSCALL_INFO but defines struct __ptrace_syscall_info (not the non underscored ver) causing strace to trip. I'm not sure how to fix strace: do we need to switch over to glibc provided __ptrace_syscall_info (with some #ifdef GLIBC and MINOR etc) or is there a better way to do this ? Thx, -Vineet ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc