Closed omac777 closed 1 month ago
Slint generates big files and rustc have problems to properly optimize them.
Issue in rust repo - https://github.com/rust-lang/rust/issues/121354, the easiest workaround is to build only debug build or disable sroa optimization
https://github.com/omac777/VF2-stuff I plunked the Fedora 40 VF2 binaries here just in case anybody wants to give them a try.
btw if anybody wants to build this on the VF2, ArchLinux's VF2 maintainer cwt gave me a tip to configure rust for the VF2 cpu characteristics:
cat .cargo/config.toml
[net]
git-fetch-with-cli = true
[profile.release]
opt-level = 3
debug = false
lto = 'thin'
strip = true
[target.riscv64gc-unknown-linux-gnu]
rustflags = ["-C", "target-cpu=sifive-u74", "-C", "target-feature=+m,+a,+f,+d,+c,+zba,+zbb"]
cwt is a super-hero, let it be known!!!
Looks like newest slint version fixed problem(at least partially)
Bug Description To build the Slint-based Gui on Starfive VisionFive 2 is difficult to say the least. It's not a czkawka issue, but more of a progress report about porting czkawka to the VF2. The rust compiler on the VF2 is slow, but the rust linker is painfully slow. I started the build at 7pm roughly. It's 7am and it's still not completed. I believe all the compiling to object files is done within a couple of hours, but the linking duration is 6+ hours for whatever reason. The good news is that it does compile though. This build attempt was done on Fedora 40. I will try again on ArchLinux CWT30 image.
Steps to reproduce:
Terminal output (optional):
It has been stuck there for at least 6 hours. UPDATE:
System