[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH 0/3] check-tcg hacks for BSD
From: |
Alex Bennée |
Subject: |
[RFC PATCH 0/3] check-tcg hacks for BSD |
Date: |
Tue, 3 Aug 2021 12:02:34 +0100 |
Hi Warner,
Here are some hacks I made to nominally get the check-tcg system
working on the BSD user builds. The first step was installing GCC as
we skip clang for x86 builds due to inline assembly issues:
../src/configure --disable-system --enable-user \
--python=/usr/local/bin/python3.7 --cross-cc-x86_64=/usr/local/bin/gcc10
and then at least "gmake build-tcg" generates some binaries. You
should also be able to drop a simple helloworld.c in
tests/tcg/multiarch and have something simple to start with. At the
moment all apart from sha1 segfault when run native. None of them run
under the user mode emulation. I leave figuring that out to the BSD
experts.
Alex Bennée (3):
configure: don't override the selected host test compiler if defined
tests/tcg/sha1: remove endian include
tests/tcg: commit Makefile atrocities in the name of portability
configure | 7 +++++--
tests/tcg/multiarch/sha1.c | 1 -
tests/tcg/multiarch/Makefile.target | 6 +++++-
tests/tcg/x86_64/Makefile.target | 4 ++++
4 files changed, 14 insertions(+), 4 deletions(-)
--
2.30.2
- [RFC PATCH 0/3] check-tcg hacks for BSD,
Alex Bennée <=