Skip to content

Switch most users from abandoned libelf to elfutils #271473

Open
@trofi

Description

@trofi

Describe the bug

libelf did not see an update since 2014: https://github.com/Distrotech/libelf. elfutils is a popular API compatible (?) ELF parser that most users expect.

I suggest switching most users (or maybe even all?) from libelf to elfutils. A few examples which should very likely use elfutils:

$ git grep -F ', libelf'
...
pkgs/development/libraries/mesa/default.nix:, libelf, libvdpau
pkgs/os-specific/linux/iproute/default.nix:, db, iptables, libelf, libmnl
pkgs/os-specific/linux/kernel/manual-config.nix:, libelf, cpio, elfutils, zstd, python3Minimal, zlib, pahole, kmod, ubootTools

Priorities

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

Labels

3.skill: sprintableA larger issue which is split into distinct actionable tasks3.skill: trivialThis is trivial to complete (typically find-and-replace)5.scope: trackingLong-lived issue tracking long-term fixes or multiple sub-problems

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions