mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 04:01:36 +01:00
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:
14
README.adoc
14
README.adoc
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user