Summary: | app-emulation/qemu-7.2.0: sandbox violation on calling 'gdb --version' with sys-devel/gdb-13 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Virtualization Team <virtualization> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dilfridge |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://sourceware.org/bugzilla/show_bug.cgi?id=29907 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
sandbox.log |
Description
Sam James
![]() ![]() ![]() ![]() Created attachment 842945 [details]
sandbox.log
Ah, it's an issue w/ upcoming gdb 13. ``` commit 1bcb0708f22956d5128a2e75df6eba5a18327892 Author: Pedro Alves <pedro@palves.net> Date: Thu Jul 21 19:11:16 2022 +0100 gdb/linux-nat: Check whether /proc/pid/mem is writable Probe whether /proc/pid/mem is writable, by using it to write to a GDB variable. This will be used in the following patch to avoid falling back to writing to inferior memory with ptrace if /proc/pid/mem _is_ writable. Change-Id: If87eff0b46cbe5e32a583e2977a9e17d29d0ed3 ``` It unconditionally checks even for --version, I guess. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d5fee3e5bd040b638a79de4ee903abec9de336c commit 3d5fee3e5bd040b638a79de4ee903abec9de336c Author: Sam James <sam@gentoo.org> AuthorDate: 2022-12-17 04:52:14 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-17 04:52:14 +0000 sys-devel/gdb: add 13.0.50_p20221217 Closes: https://bugs.gentoo.org/886189 Signed-off-by: Sam James <sam@gentoo.org> sys-devel/gdb/Manifest | 1 + sys-devel/gdb/gdb-13.0.50_p20221217.ebuild | 299 +++++++++++++++++++++++++++++ 2 files changed, 300 insertions(+) |