mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #1553] Build issue on ARMv7 of librespot 0.7.0 #703
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#703
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @heitbaum on GitHub (Aug 25, 2025).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1553
Description
Compile issue of librespot 0.7.0 targeting arm32.
aarch64 and x86_64 builds are building as expected.
Version
What version(s) of librespot does this problem exist in? 0.7.0
How to reproduce
Steps to reproduce the behavior in librespot e.g.
Log
Host (what you are running
librespoton):@roderickvd commented on GitHub (Aug 26, 2025):
Our CI is showing a successful build: https://github.com/librespot-org/librespot/actions/runs/17190295060/job/48765014700
On which version of Rust is that?
Is the build directory clean? (
cargo clean)@heitbaum commented on GitHub (Aug 26, 2025):
rust 1.89.0 built using llvm 20.1.8 builds the ARMv7 correctly. (similar to your CI/CD build)
rust 1.85.1 built using llvm 18.1.8 is where the failure is.
fail >> https://github.com/LibreELEC/actions/actions/runs/17223585810/job/48863809463
Yes - built in the GHA CI/CD.
@roderickvd commented on GitHub (Aug 26, 2025):
Clear. Could you find out the lowest working Rust version? Most pragmatic is to just raise the MSRV then.
@heitbaum commented on GitHub (Aug 26, 2025):
Hmm - It's not rust itself - but llvm.
Updating to spirv-llvm-translator-19.1.10 and llvm-19.1.7 whilst leaving rust at 1.85.1 allows librespot to compile on ARMv7.
llvm-18.1.8 has a maximum rust version of 1.85.1 (which is why rust was kept back in the stable release of LibreELEC-12.2, whereas LibreELEC-13 has the latest llvm and rust)
@roderickvd commented on GitHub (Aug 30, 2025):
I see. Not really something librespot can do something about I guess? Will close then, feel free to reopen if you think we can do better.
@heitbaum commented on GitHub (Sep 4, 2025):
All good now. Build now completed in CI/CD with llvm-19.1.7 https://github.com/LibreELEC/actions/actions/runs/17461146867/job/49585908613