Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 496630

Summary: app-emulation/qemu: running strace hits: PTRACE_TRACEME doesn't work as it is not implemented
Product: Gentoo Linux Reporter: Tom Wijsman (TomWij) (RETIRED) <tomwij>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: ARM   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-12-31 21:48:52 UTC
$ strace 'find . -type f -print0 | xargs -0 touch -r configure' 2>&1 > /tmp/strace
qemu: Unsupported syscall: 26
/usr/bin/strace: test_ptrace_setoptions_for_all: PTRACE_TRACEME doesn't work: Function not implemented
/usr/bin/strace: test_ptrace_setoptions_for_all: unexpected exit status 1

Bug #496406 has `emerge --info` information, but note the comment above it; it may not fully reflect everything. Therefore, let me know which extra details you need; as I have no idea what this error even means or where the problem could be.

Thank you very much in advance.
Comment 1 SpanKY gentoo-dev 2014-01-01 06:30:31 UTC
i think the operative part of that output is:
qemu: Unsupported syscall: 26

it's a known issue that running strace in qemu doesn't work seeing as how it relies on ptrace, and doing arch<->arch ptrace interpolation is a hairy hairy mess.

run strace natively and i'm sure it'll work fine.