SUMMARY I am on a gentoo llvm+musl system, I compiled krusader with the following flags: ``` -flto=thin -O3 -pipe -falign-functions=32 -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-math-errno -fno-trapping-math -Wp,-D_REENTRANT -mllvm -polly -mllvm -polly-run-dce -mllvm -polly-run-inliner -mllvm -polly-ast-use-context -mllvm -polly-detect-keep-going -mllvm -polly-vectorizer=stripmine -mllvm -polly-invariant-load-hoisting -Wp,-D_REENTRANT -Wno-error=implicit-function-declaration ``` my bet is the `-fno-math-errno -fno-trapping-math` flags; iirc they imply -Ofast, and that afaik that can lead to breakage; STEPS TO REPRODUCE 1. get krusader's source code 2. compile it with CFLAGS AND CXXFLAGS+="-fno-math-errno -fno-trapping-math" (the polly flags are optionals) 3. try it OBSERVED RESULT the result vary: sometimes krusader opens, then crashes, then if I re-launch it it works... until I try to copy/move/do anything on any panel. in the strace attached to this bug I tried to copy a random file from one panel to another EXPECTED RESULT krusader should not crash SOFTWARE/OS VERSIONS I.. actually don't understand which qt version do I need to put, but i'm pretty confidend i'm on 5.15.13 (a quick `fd qt /var/db/pkgs` shows me that all things qt are at that version) OS: Gentoo Linux, musl libc, llvm toolchain 18.1.3, slibtool as a drop-in replacement for libtool; linux version: 6.7.9, with cachyos' patches my env: Sway ADDITIONAL INFORMATION this is my first time opening a but here, so please if i'm missing something do tell! I will provide it asap! I am currently rebuilding krusader with it's deps tree with debug so I can provide more info, in the meantime, this strace is all I can provide!
ok the strace file is too large; here is a link to a public github gist: https://gist.github.com/formula-spectre/14df5686d8756fff9c6f6cafce513496