Closed
Description
Update
Trying to run the test suite on QEMU for some targets crashes QEMU
-
armv7-unknown-linux-gnueabihf
-
mips-unknown-linux-gnu
-
powerpc64-unknown-linux-gnu
-
powerpc64le-unknown-linux-gnu
I'm not quite sure what's the exact problem for each target but some possible causes:
- The
std
binaries for the target are "broken". Most likely, some C binding inlibc
is wrong. - We are using the wrong QEMU variant (
qemu-ppc64le
). - "Just" a problem with multithreading. This leads to sporadic failures.
In some cases, using QEMU's system emulation instead of user emulation might fix the problem.
Emphasis on sometimes. This is weird because (a) as of e5ab308, the test suite is deterministic and (b) I'm using RUST_TEST_THREADS=1
to "prevent" multithreading (QEMU is known to have problems handling multiple threads) but I guess this last part is impossible because detecting a panic requires at least two threads.
Metadata
Metadata
Assignees
Labels
No labels