Skip to content

Key interpreter by soname to avoid duplicate loader entry - #20

Merged
messense merged 1 commit into
mainfrom
fix-duplicate-interpreter
Jul 8, 2026
Merged

Key interpreter by soname to avoid duplicate loader entry#20
messense merged 1 commit into
mainfrom
fix-duplicate-interpreter

Conversation

@messense

@messense messense commented Jul 8, 2026

Copy link
Copy Markdown
Owner

On glibc the dynamic loader is also reachable via DT_NEEDED (libc.so.6 lists e.g. "ld-linux-aarch64.so.1"), so keying the interpreter by its full path recorded the same file twice under two different keys on aarch64 hosts. Key it by its basename instead, matching pax-utils/auditwheel lddtree.py.

Fixes #19

On glibc the dynamic loader is also reachable via DT_NEEDED
(libc.so.6 lists e.g. "ld-linux-aarch64.so.1"), so keying the
interpreter by its full path recorded the same file twice under
two different keys on aarch64 hosts. Key it by its basename
instead, matching pax-utils/auditwheel lddtree.py.

Fixes #19
@messense
messense force-pushed the fix-duplicate-interpreter branch from 32a7f19 to 47eb3c0 Compare July 8, 2026 13:45
@messense
messense merged commit 0b178cc into main Jul 8, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

On Fedora, test_elf fails on aarch64 only

1 participant