Debian Patches
Status for elfutils/0.196-1~bpo13+2
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| testsuite-ignore-elflint.diff | On many architectures this test fails because binaries/libs produced by binutils don't pass elflint. However elfutils shouldn't FTBFS because of this. So we run the tests on all archs to see what breaks, but if it breaks we ignore the result (exitcode 77 means: this test was skipped). |
no | ||||
| ignore_strmerge.diff | no | |||||
| disable_werror.patch | disable -Werror as it tends to break with new gcc versions | Helmut Grohne <helmut@subdivi.de> | no | debian | 2018-01-01 | |
| remove-old-glibc-hack.diff | no | |||||
| hurd-hacks.diff | no | |||||
| fix-arm64-uio-h-ftbfs.patch | backends: use <sys/uio.h> instead of <linux/uio.h> for struct iovec Since commit 0e8b57a3 ("elfcompress: Handle existing output files (symlinks)") lib/system.h includes <fcntl.h>. When _GNU_SOURCE is defined, glibc's <fcntl.h> pulls in <bits/types/struct_iovec.h> (via bits/fcntl-linux.h), which defines struct iovec. The kernel UAPI header <linux/uio.h> defines struct iovec unconditionally, so including it after "system.h" now breaks the aarch64 backend build: In file included from aarch64_initreg.c:36: /usr/include/linux/uio.h:17:8: error: redefinition of 'struct iovec' 17 | struct iovec | ^~~~~ In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:38, from /usr/include/aarch64-linux-gnu/bits/fcntl.h:61, from /usr/include/fcntl.h:35, from ../lib/system.h:42, from aarch64_initreg.c:33: /usr/include/aarch64-linux-gnu/bits/types/struct_iovec.h:26:8: note: originally defined here Seen building 0.196 on aarch64 with glibc 2.39 and gcc 13.3.0. Both files only need struct iovec to call ptrace (PTRACE_GETREGSET), which glibc provides in <sys/uio.h>; that header guards the definition with __iovec_defined, so it composes with the rest of system.h. arm_initreg.c does not currently include "system.h" and so still builds, but it has the same latent conflict. * backends/aarch64_initreg.c: Include <sys/uio.h> instead of <linux/uio.h>. * backends/arm_initreg.c: Likewise. |
Daeho Ro <email@daeho.ro> | no | upstream, https://sourceware.org/cgit/elfutils/commit/?id=64e89606ff4967a647525524aec00dd33765ba2a | 2026-08-16 |
All known versions for source package 'elfutils'
- 0.196-1 (forky, sid)
- 0.196-1~bpo13+2 (trixie-backports)
- 0.192-4 (trixie)
- 0.192-4~bpo12+1 (bookworm-backports)
- 0.188-2.1 (bookworm)
