tests/docker: Use binaries for debian-tricore-cross
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Tue, 28 Feb 2023 19:06:40 +0000 (19:06 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 1 Mar 2023 10:32:09 +0000 (10:32 +0000)
commit3c471b070160f0b78ddefdf4a42eb4403bbc3657
treedbd9d9d3300d98edf1e83d6c0e2495071a52d4fb
parent267fe57c23b27406fcebb4e9d40c862bc7c3ba7c
tests/docker: Use binaries for debian-tricore-cross

since binutils is pretty old, it fails our CI repeatedly during the
compilation of tricore-binutils. We created a precompiled version using
the debian docker image and download it instead of building it ourself.

We also updated the package to include a newer version of binutils, gcc,
and newlib. The default TriCore ISA version used by tricore-as changed
from the old version, so we have to specify it now. If we don't
'test_fadd' fails with 'unknown opcode'.

The new assembler also picks a new encoding in ld.h which fails the
'test_ld_h' test. We fix that by using the newest TriCore CPU for QEMU.

The old assembler accepted an extra ')' in 'test_imask'. The new one
does not, so lets remove it.

Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-Id: <20230209145812.46730-1-kbastian@mail.uni-paderborn.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230228190653.1602033-12-alex.bennee@linaro.org>
tests/docker/dockerfiles/debian-tricore-cross.docker
tests/tcg/tricore/Makefile.softmmu-target
tests/tcg/tricore/macros.h