I am compiling in docker with: sfdk engine exec sb2 -t SailfishOS-3.4.0.24-armv7hl
.
i486
I tried with i486, but after sfdk tools package-install SailfishOS-3.4.0.24-i486 cargo rust
I get this:
$ sfdk engine exec sb2 -t SailfishOS-3.4.0.24-i486 cargo build
error: process didn't exit successfully: `rustc -vV` (exit code: 127)
--- stderr
rustc: error while loading shared libraries: librustc_driver-001f982dd4742f21.so: cannot open shared object file: No such file or directory
ldconfig in there reports:
$ ldconfig -p | grep rust
p11-kit-trust.so (libc6) => /usr/lib/p11-kit-trust.so
librustc_macros-68b44492c560bf2e.so (libc6) => /usr/lib/librustc_macros-68b44492c560bf2e.so
librustc_driver-001f982dd4742f21.so (libc6) => /usr/lib/librustc_driver-001f982dd4742f21.so
So I cant compare my phone to the emulator ( or run non-arm builds at all).
ARM
I tried to get more backtrace but failed (I have very little expertise here however, mainly just googling around). Tried RUST_BACKTRACE
, but that didnt give anything.
The only further thing I found was putting a backtrace into gdb (or rust-gdb, doesnt seem to make a difference)
(gdb) bt full
#0 0xf6de4bd4 in QArrayData::shared_null () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#1 0xf68a0ce4 in ?? () from /usr/lib/libQt5Qml.so.5
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)