Mark Cave-Ayland <mark.cave-ayland(a)ilande.co.uk> writes:
On 16/07/2025 11:54, Alex Bennée wrote:
> We didn't have any reliable way to build sparc test cases. I have
> found someone who ships a compiler but the binaries still don't run
> due to the need for CASA.
> I'm posting mainly for those who actually care who might want to fix
> up the remaining cases.
> Alex.
> Alex Bennée (6):
> tests/tcg: special case sparc test cases
> tests/tcg: special case sparc32plus test cases
> configure: update sparc and sparc32plus target compiler detection
> tests/docker: add sparc-leon-cross container image
> configure: enable the container fallbacks for sparc/sparc32plus
> docs/about: deprecate add sparc/sparc32plus-*-user
> docs/about/deprecated.rst | 8 ++++
> configure | 11 ++++-
> .../dockerfiles/sparc-leon-cross.docker | 40 +++++++++++++++++
> tests/tcg/Makefile.target | 9 ++--
> tests/tcg/sparc/Makefile.target | 45 +++++++++++++++++++
> tests/tcg/sparc32plus | 1 +
> 6 files changed, 108 insertions(+), 6 deletions(-)
> create mode 100644 tests/docker/dockerfiles/sparc-leon-cross.docker
> create mode 100644 tests/tcg/sparc/Makefile.target
> create mode 120000 tests/tcg/sparc32plus
I think the basic Debian toolchain for 32-bit SPARC is working because
it is currently used to build OpenBIOS, so I don't think we're quite
at deprecation point yet.
If you can figure out the right runes to compile then we can just tweak
configure and also use the debian-all-test-cross image as a fallback.
Let me have a look and see if I can figure out what is going on here.
Ack.
--
Alex Bennée
Virtualisation Tech Lead @ Linaro