[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 11/11] configure: reenable plugins by default for 32-bit hosts
From: |
Pierrick Bouvier |
Subject: |
[PATCH v2 11/11] configure: reenable plugins by default for 32-bit hosts |
Date: |
Tue, 17 Dec 2024 14:38:25 -0800 |
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
---
configure | 21 +--------------------
1 file changed, 1 insertion(+), 20 deletions(-)
diff --git a/configure b/configure
index 18336376bff..02f1dd2311f 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 v2 00/11] Fix 32-bit build for plugins, Pierrick Bouvier, 2024/12/17
- [PATCH v2 01/11] tests/tcg/plugins/insn: remove unused callback parameter, Pierrick Bouvier, 2024/12/17
- [PATCH v2 02/11] contrib/plugins/howvec: ensure we don't regress if this plugin is extended, Pierrick Bouvier, 2024/12/17
- [PATCH v2 06/11] contrib/plugins/cache: fix 32-bit build, Pierrick Bouvier, 2024/12/17
- [PATCH v2 03/11] tests/tcg/plugins/syscall: fix 32-bit build, Pierrick Bouvier, 2024/12/17
- [PATCH v2 05/11] contrib/plugins/stoptrigger: fix 32-bit build, Pierrick Bouvier, 2024/12/17
- [PATCH v2 08/11] contrib/plugins/cflow: fix 32-bit build, Pierrick Bouvier, 2024/12/17
- [PATCH v2 04/11] tests/tcg/plugins/mem: fix 32-bit build, Pierrick Bouvier, 2024/12/17
- [PATCH v2 07/11] contrib/plugins/hotblocks: fix 32-bit build, Pierrick Bouvier, 2024/12/17
- [PATCH v2 10/11] contrib/plugins/hotpages: fix 32-bit build, Pierrick Bouvier, 2024/12/17
- [PATCH v2 11/11] configure: reenable plugins by default for 32-bit hosts,
Pierrick Bouvier <=
- [PATCH v2 09/11] contrib/plugins/hwprofile: fix 32-bit build, Pierrick Bouvier, 2024/12/17
- Re: [PATCH v2 00/11] Fix 32-bit build for plugins, Pierrick Bouvier, 2024/12/17