3
26
Fork
You've already forked mere
1

inferArch: skip relocatable ELF objects (ET_REL) #70

Merged
jhuntwork merged 1 commit from skip-relocatables-in-arch-inference into main 2026年05月28日 16:32:07 +02:00

Relocatable objects (.syso, .o) are link-time inputs that may
legitimately target foreign architectures. For example, Go ships
cross-compilation support files (BoringCrypto, race detector) for
multiple architectures in its source tree.

Only executables (ET_EXEC) and shared libraries (ET_DYN) are runnable
on the host and should determine the package's architecture. This
aligns with how runtimeMetadataScanDisposition already skips
non-runtime ELF types.

Relocatable objects (.syso, .o) are link-time inputs that may legitimately target foreign architectures. For example, Go ships cross-compilation support files (BoringCrypto, race detector) for multiple architectures in its source tree. Only executables (ET_EXEC) and shared libraries (ET_DYN) are runnable on the host and should determine the package's architecture. This aligns with how runtimeMetadataScanDisposition already skips non-runtime ELF types.
inferArch: skip relocatable ELF objects (ET_REL)
All checks were successful
/ test (pull_request) Successful in 6m13s
0d628ca7f2
Relocatable objects (.syso, .o) are link-time inputs that may
legitimately target foreign architectures. For example, Go ships
cross-compilation support files (BoringCrypto, race detector) for
multiple architectures in its source tree.
Only executables (ET_EXEC) and shared libraries (ET_DYN) are runnable
on the host and should determine the package's architecture. This
aligns with how runtimeMetadataScanDisposition already skips
non-runtime ELF types.
jhuntwork deleted branch skip-relocatables-in-arch-inference 2026年05月28日 16:32:08 +02:00
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
merelinux/mere!70
Reference in a new issue
merelinux/mere
No description provided.
Delete branch "skip-relocatables-in-arch-inference"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?