]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/tcg/s390x: Use -nostdlib for softmmu tests
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 31 Jan 2023 18:20:57 +0000 (19:20 +0100)
committerThomas Huth <thuth@redhat.com>
Tue, 14 Feb 2023 08:11:27 +0000 (09:11 +0100)
commit1b0e9b9be18210406c9296055cc7f38c6efc26fd
treef8ca28f213841c7078e10f29f2fbe6f3387b9c17
parentb8a310a2970aeebea605cdc1ec94b2da035b6e3c
tests/tcg/s390x: Use -nostdlib for softmmu tests

The code currently uses -nostartfiles, but this does not prevent
linking with libc. On Fedora there is no cross-libc, so the linking
step fails.

Fix by using the more comprehensive -nostdlib (that's also what
probe_target_compiler() checks for as well).

Fixes: 503e549e441e ("tests/tcg/s390x: Test unaligned accesses to lowcore")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20230131182057.2261614-1-iii@linux.ibm.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/tcg/s390x/Makefile.softmmu-target