patchelf creates unloadable non-PIE riscv64 executables
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
Abandoned without resolution. The report details a snapcraft python3.8 execution failure on riscv64, potentially involving patchelf or seccomp, but received no comments and was closed.
Suggested action: —
No scores available.
Issue body
$ snap run --shell snapcraft
$ cd /snap/snapcraft/current
$ strace -f -s9999 ./usr/bin/python3.8
execve("./usr/bin/python3.8", ["./usr/bin/python3.8"], 0x3ffffa00b0 /* 52 vars */) = -1 EPERM (Operation not permitted)
+++ killed by SIGSEGV +++
Segmentation fault (core dumped)
I don't know why executing python3.8 from inside snapcraft snap is denied with EPERM.
Is seccomp somehow broken?
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Abandoned without resolution. The report details a snapcraft python3.8 execution failure on riscv64, potentially involving patchelf or seccomp, but received no comments and was closed. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution or comments. The report describes patchelf generating non-PIE riscv64 binaries that fail to load due to EPERM and SIGSEGV. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without comments or resolution. The report describes a seccomp EPERM error running python3.8 via snapcraft on riscv64. No fix was provided, indicating the issue was abandoned. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1753995 patchelf warning / binary segfaults | snapcraft (launchpad) | open | 2018 report: snapcraft 2.39.2 patchelf step warns 'cannot find section' on a Go binary (telegraf) and the resulting snap segfaults (core-dump). No maintainer response. Referenced LP bug lp:1736861 is closed as resolved. Affected version long superseded. | |
| #1798881 patchelf fails on i386 vscode | snapcraft (launchpad) | open | i386 vscode snap build fails because patchelf 0.9 cannot patch the 32-bit ELF (virtual address space underrun); no maintainer response, unlabelled, ~7.5 years old. |