Describe the bug
compiling cardwire on aerynOS 2026.08 fails with error: could not compile cardwire-ebpf (bin "cardwire-ebpf") due to 1 previous error.
To Reproduce
Expected behavior
Compile newer versions than v0.11.1 on aerynOS
Environment details
rustc 1.97.1 (8bab26f4f 2026-07-14) (AerynOS)
binary: rustc
commit-hash: 8bab26f4f68e0e26f0bb7960be334d5b520ea452
commit-date: 2026-07-14
host: x86_64-unknown-linux-gnu
release: 1.97.1
LLVM version: 22.1.8
lib___.rlib
lib___.so
lib___.so
lib___.a
lib___.so
/usr
off
packed
unpacked
___
emscripten_wasm_eh
fmt_debug="full"
panic="unwind"
proc_macro
relocation_model="pic"
target_abi=""
target_arch="x86_64"
target_endian="little"
target_env="gnu"
target_family="unix"
target_feature="cmpxchg16b"
target_feature="fxsr"
target_feature="lahfsahf"
target_feature="popcnt"
target_feature="sse"
target_feature="sse2"
target_feature="sse3"
target_feature="sse4.1"
target_feature="sse4.2"
target_feature="ssse3"
target_feature="x87"
target_has_atomic
target_has_atomic="16"
target_has_atomic="32"
target_has_atomic="64"
target_has_atomic="8"
target_has_atomic="ptr"
target_has_atomic_load_store
target_has_atomic_load_store="16"
target_has_atomic_load_store="32"
target_has_atomic_load_store="64"
target_has_atomic_load_store="8"
target_has_atomic_load_store="ptr"
target_has_atomic_primitive_alignment="16"
target_has_atomic_primitive_alignment="32"
target_has_atomic_primitive_alignment="64"
target_has_atomic_primitive_alignment="8"
target_has_atomic_primitive_alignment="ptr"
target_has_reliable_f128
target_has_reliable_f16
target_has_reliable_f16_math
target_object_format="elf"
target_os="linux"
target_pointer_width="64"
target_thread_local
target_vendor="unknown"
unix
lib___.rlib
lib___.so
lib___.so
lib___.a
lib___.so
/usr
off
packed
unpacked
___
debug_assertions
emscripten_wasm_eh
fmt_debug="full"
overflow_checks
panic="unwind"
proc_macro
relocation_model="pic"
target_abi=""
target_arch="x86_64"
target_endian="little"
target_env="gnu"
target_family="unix"
target_feature="fxsr"
target_feature="sse"
target_feature="sse2"
target_feature="x87"
target_has_atomic
target_has_atomic="16"
target_has_atomic="32"
target_has_atomic="64"
target_has_atomic="8"
target_has_atomic="ptr"
target_has_atomic_load_store
target_has_atomic_load_store="16"
target_has_atomic_load_store="32"
target_has_atomic_load_store="64"
target_has_atomic_load_store="8"
target_has_atomic_load_store="ptr"
target_has_atomic_primitive_alignment="16"
target_has_atomic_primitive_alignment="32"
target_has_atomic_primitive_alignment="64"
target_has_atomic_primitive_alignment="8"
target_has_atomic_primitive_alignment="ptr"
target_has_reliable_f128
target_has_reliable_f16
target_has_reliable_f16_math
target_object_format="elf"
target_os="linux"
target_pointer_width="64"
target_thread_local
target_vendor="unknown"
ub_checks
unix
Additional context
Let me know what might be the problem within aerynOS during packaging cardwire ...
Describe the bug
compiling
cardwireon aerynOS 2026.08 fails witherror: could not compilecardwire-ebpf(bin "cardwire-ebpf") due to 1 previous error.To Reproduce
cardwire496dd67e2383e71cb6f32f94f6bea9b703018681Expected behavior
Compile newer versions than
v0.11.1on aerynOSEnvironment details
Additional context
Let me know what might be the problem within aerynOS during packaging
cardwire...From my findings, this is caused by llvm <=22.
When building cardwire-ebpf on a machine where either bpf-linker uses the dynamically linked llvm 22 or was statically linked to llvm 22, i get a memset error.
On a machine with bpf-linker installed with their official installation method (cargo binstall), which downloads a bpf-linker bin statically linked to llvm23, i can compile the crate with no issue.
LLVM 23 commit that fixed the issue: llvm/llvm-project@8446b9f