* strace breaks with to be released glibc 2.31
@ 2020-01-15 20:10 Vineet Gupta
2020-01-16 16:52 ` Dmitry V. Levin
0 siblings, 1 reply; 2+ messages in thread
From: Vineet Gupta @ 2020-01-15 20:10 UTC (permalink / raw)
To: strace-devel; +Cc: arcml
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: strace breaks with to be released glibc 2.31
2020-01-15 20:10 strace breaks with to be released glibc 2.31 Vineet Gupta
@ 2020-01-16 16:52 ` Dmitry V. Levin
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry V. Levin @ 2020-01-16 16:52 UTC (permalink / raw)
To: Vineet Gupta; +Cc: arcml, strace-devel
Hi,
On Wed, Jan 15, 2020 at 08:10:38PM +0000, 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-16 16:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-15 20:10 strace breaks with to be released glibc 2.31 Vineet Gupta
2020-01-16 16:52 ` Dmitry V. Levin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).