| Summary: | strace ptests produce odd warnings | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Randy MacLeod <randy.macleod> | ||||
| Component: | devtools / tool chain | Assignee: | Randy MacLeod <randy.macleod> | ||||
| Status: | RESOLVED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher, pavel, ross.burton | ||||
| Version: | 3.1 | ||||||
| Target Milestone: | 4.3 | ||||||
| Hardware: | All | ||||||
| OS: | x86_64 | ||||||
| Whiteboard: | backport 3.1 | ||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Attachments: |
|
||||||
Here's the local.conf used:
$ grep -v "^#" conf/local.conf | grep -v "^$"
MACHINE ??= "qemux86-64"
DISTRO_FEATURES_append = " ptest"
IMAGE_ROOTFS_EXTRA_SPACE = "100000000"
PACKAGE_CLASSES ?= "package_ipk"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
IMAGE_INSTALL_append = " strace-ptest"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-system-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
CONF_VERSION = "1"
Randy: did you speak to upstream about this? Ross, No, sadly I haven't. (In reply to comment #3) > Ross, No, sadly I haven't. I did. https://github.com/strace/strace/issues/142 Commented on https://github.com/strace/strace/issues/142 to see if there's a middle ground. Neither the upstream kernel or strace devs seem to be interested in fixing this annoyance so I'm closing the defect. |
Created attachment 4632 [details] strace ptest log Using oe-core, on HEAD = 6f6a6bbac6 but likely any commit since sometime in 3.0 Build core-image-minimal with conf/local.conf containing: PASS: chown.gen.test SKIP: chown32.gen.test PASS: chroot.gen.test [ 16.451189] capability: warning: `caps' uses deprecated v2 capabilities in a way that may be insecure [ 16.452897] capability: warning: `caps' uses 32-bit capabilities (legacy support in use) [ 17.067693] futex_wake_op: futex tries to shift op by -849; fix this program [ 17.068928] futex_wake_op: futex tries to shift op by -849; fix this program ... [ 17.083682] futex_wake_op: futex tries to shift op by -518; fix this program ... Full log attached. The warning is from linux.git/kernel/futex.c -- commit e78c38f6bdd90 and it seems that the kernel developers think that strace should be fixed. I can reproduce the problem on strace.git/master on my Ubuntu-19.10 distro so I think this is just a tracking defect for YP. I'll work with the strace developers to fix the bug or at least report the issue.