[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 21/37] configure: reenable plugins by default for 32-bit hosts
From: |
Alex Bennée |
Subject: |
[PATCH v3 21/37] configure: reenable plugins by default for 32-bit hosts |
Date: |
Thu, 16 Jan 2025 16:02:50 +0000 |
From: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20241217224306.2900490-12-pierrick.bouvier@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
configure | 21 +--------------------
1 file changed, 1 insertion(+), 20 deletions(-)
diff --git a/configure b/configure
index 18336376bf..02f1dd2311 100755
--- a/configure
+++ b/configure
@@ -528,25 +528,6 @@ case "$cpu" in
;;
esac
-# Now we have our CPU_CFLAGS we can check if we are targeting a 32 or
-# 64 bit host.
-
-check_64bit_host() {
-cat > $TMPC <<EOF
-#if __SIZEOF_POINTER__ != 8
-#error not 64 bit system
-#endif
-int main(void) { return 0; }
-EOF
- compile_object "$1"
-}
-
-if check_64bit_host "$CPU_CFLAGS"; then
- host_bits=64
-else
- host_bits=32
-fi
-
if test -n "$host_arch" && {
! test -d "$source_path/linux-user/include/host/$host_arch" ||
! test -d "$source_path/common-user/host/$host_arch"; }; then
@@ -1072,7 +1053,7 @@ if test "$static" = "yes" ; then
fi
plugins="no"
fi
-if test "$plugins" != "no" && test $host_bits -eq 64; then
+if test "$plugins" != "no"; then
if has_meson_option "-Dtcg_interpreter=true"; then
plugins="no"
else
--
2.39.5
- [PATCH v3 00/37] maintainer updates for jan '25 (semihosting, gdb, plugins, docs) pre-PR-FINAL, Alex Bennée, 2025/01/16
- [PATCH v3 01/37] semihosting: add guest_error logging for failed opens, Alex Bennée, 2025/01/16
- [PATCH v3 03/37] semihosting/syscalls: Include missing 'exec/cpu-defs.h' header, Alex Bennée, 2025/01/16
- [PATCH v3 05/37] semihosting/arm-compat: Include missing 'cpu.h' header, Alex Bennée, 2025/01/16
- [PATCH v3 07/37] semihosting/meson: Build config.o and console.o once, Alex Bennée, 2025/01/16
- [PATCH v3 12/37] contrib/plugins/howvec: ensure we don't regress if this plugin is extended, Alex Bennée, 2025/01/16
- [PATCH v3 13/37] tests/tcg/plugins/syscall: fix 32-bit build, Alex Bennée, 2025/01/16
- [PATCH v3 04/37] semihosting/uaccess: Include missing 'exec/cpu-all.h' header, Alex Bennée, 2025/01/16
- [PATCH v3 21/37] configure: reenable plugins by default for 32-bit hosts,
Alex Bennée <=
- [PATCH v3 02/37] semihosting/uaccess: Briefly document returned values, Alex Bennée, 2025/01/16
- [PATCH v3 09/37] system: squash usb_parse into a single function, Alex Bennée, 2025/01/16
- [PATCH v3 10/37] system: propagate Error to gdbserver_start (and other device setups), Alex Bennée, 2025/01/16
- [PATCH v3 14/37] tests/tcg/plugins/mem: fix 32-bit build, Alex Bennée, 2025/01/16
- [PATCH v3 30/37] include/exec: remove warning_printed from MemoryRegion, Alex Bennée, 2025/01/16
- [PATCH v3 06/37] semihosting/console: Avoid including 'cpu.h', Alex Bennée, 2025/01/16
- [PATCH v3 37/37] scripts/nsis.py: Run dependency check for each DLL file only once, Alex Bennée, 2025/01/16
- [PATCH v3 11/37] tests/tcg/plugins/insn: remove unused callback parameter, Alex Bennée, 2025/01/16
- [PATCH v3 08/37] system/vl: more error exit into config enumeration code, Alex Bennée, 2025/01/16
- [PATCH v3 16/37] contrib/plugins/cache: fix 32-bit build, Alex Bennée, 2025/01/16