gem5: classify all test failures

To skip tests, create a decent list of "which instructions a test use"
and "which instructions each simulator does not support".
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-11-05 00:00:00 +00:00
parent 5b67747214
commit 988289f766
2 changed files with 98 additions and 28 deletions

View File

@@ -3815,6 +3815,20 @@ However, in case something goes wrong, you can also try statically linked execut
* gem5 user mode currently only supports static executables as mentioned at: xref:gem5-syscall-emulation-mode[xrefstyle=full]
* QEMU x86_64 guest on x86_64 host was failing with <<stack-smashing-detected>>, but we found a workaround
Running statically linked executables sometimes makes things break:
* <<user-mode-static-executables-with-dynamic-libraries>>
* TODO understand why:
+
....
./run --static --userland userland/c/file_write_read.c
....
fails our assertion that the data was read back correctly:
+
....
Assertion `strcmp(data, output) == 0' faile
....
==== User mode static executables with dynamic libraries
One limitation of static executables is that Buildroot mostly only builds dynamic versions of libraries (the libc is an exception).