Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496630 - app-emulation/qemu: running strace hits: PTRACE_TRACEME doesn't work as it is not implemented
Summary: app-emulation/qemu: running strace hits: PTRACE_TRACEME doesn't work as it is...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-31 21:48 UTC by Tom Wijsman (TomWij) (RETIRED)
Modified: 2014-01-01 06:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.