tests/tcg: don't allow clang as a cross compiler
commitcf22f936f29bc1ee8fff5fbc16064208571a448c
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 12 May 2021 10:20:50 +0000 (12 11:20 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 18 May 2021 08:36:21 +0000 (18 09:36 +0100)
tree178289fd238166dfe25e63e47b0cbe80cb3267a8
parentec6b219a4e25139ae4305c57f3e41bbd4ee36997
tests/tcg: don't allow clang as a cross compiler

Currently there are two problems.

The first is clang generates a preamble (that is always executed) to
stack xmm registers. This causes a ILLOP on the x86_64 softmmu tests
as SSE isn't enabled.

The second is the inline assembler in test-i386.c breaks clangs
compiler and I don't know how to fix it. Even with Theodore's patch
series (D5741445-7EFD-4AF1-8DB2-E4AFA93CBB1A@icloud.com) I still get
compiler failures.

For now lets just skip clang and allow it to fall back to the
containers which we know have compilers which work.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210512102051.12134-31-alex.bennee@linaro.org>
tests/tcg/configure.sh