[Rpm-maint] [rpm-software-management/rpm] Noarch RPMs that contain EBPF binaries code incorrectly fail with "Arch dependent binaries in noarch package" (Issue #2875)

Panu Matilainen notifications at github.com
Wed Feb 7 13:07:07 UTC 2024


Okay, managed to produce one by myself:

> [pmatilai🎩︎localhost ~]$ clang -target bpf  -c bpf.c -o bpf.o
> [pmatilai🎩︎localhost ~]$ file bpf.o 
> bpf.o: ELF 64-bit LSB relocatable, eBPF, version 1 (SYSV), not stripped

So it's an architecture by itself, speced to be always 64bit: https://www.ietf.org/archive/id/draft-thaler-bpf-elf-00.html so any "coloring" (meaning 32/64bitness in rpm) is just wrong. Luckily it should also be trivial to fix.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2875#issuecomment-1932013089
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/2875/1932013089 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240207/d5558658/attachment.html>


More information about the Rpm-maint mailing list