[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 30/40] configure: add an explicit static and plugins check
From: |
Alex Bennée |
Subject: |
[PULL 30/40] configure: add an explicit static and plugins check |
Date: |
Mon, 12 Jul 2021 13:26:43 +0100 |
Moving this check earlier will make the later re-factor for enabling
by default a bit neater.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210709143005.1554-31-alex.bennee@linaro.org>
diff --git a/configure b/configure
index 7f906be68d..2c9c6ab870 100755
--- a/configure
+++ b/configure
@@ -2184,11 +2184,14 @@ if test "$modules" = "no" && test "$module_upgrades" =
"yes" ; then
error_exit "Can't enable module-upgrades as Modules are not enabled"
fi
-# Static linking is not possible with modules or PIE
+# Static linking is not possible with plugins, modules or PIE
if test "$static" = "yes" ; then
if test "$modules" = "yes" ; then
error_exit "static and modules are mutually incompatible"
fi
+ if test "$plugins" = "yes"; then
+ error_exit "static and plugins are mutually incompatible"
+ fi
fi
# Unconditional check for compiler __thread support
@@ -3979,7 +3982,7 @@ if test "$plugins" = "yes" &&
"Plugin support requires dynamic linking and specifying a set of symbols
" \
"that are exported to plugins. Unfortunately your linker doesn't " \
"support the flag (--dynamic-list or -exported_symbols_list) used " \
- "for this purpose. You can't build with --static."
+ "for this purpose."
fi
########################################
--
2.20.1
- [PULL 13/40] tests/docker: remove FEATURES env var from templates, (continued)
- [PULL 13/40] tests/docker: remove FEATURES env var from templates, Alex Bennée, 2021/07/12
- [PULL 24/40] tests/vm: update NetBSD to 9.2, Alex Bennée, 2021/07/12
- [PULL 23/40] tests/docker: expand opensuse-leap package list, Alex Bennée, 2021/07/12
- [PULL 26/40] tests/tcg: make test-mmap a little less aggressive, Alex Bennée, 2021/07/12
- [PULL 32/40] tcg/plugins: enable by default for most TCG builds, Alex Bennée, 2021/07/12
- [PULL 34/40] contrib/plugins: add execlog to log instruction execution and memory access, Alex Bennée, 2021/07/12
- [PULL 22/40] tests/docker: expand ubuntu2004 package list, Alex Bennée, 2021/07/12
- [PULL 40/40] MAINTAINERS: Added myself as a reviewer for TCG Plugins, Alex Bennée, 2021/07/12
- [PULL 37/40] plugins/cache: Enable cache parameterization, Alex Bennée, 2021/07/12
- [PULL 20/40] tests/docker: expand fedora package list, Alex Bennée, 2021/07/12
- [PULL 30/40] configure: add an explicit static and plugins check,
Alex Bennée <=
- [PULL 16/40] tests/docker: fix mistakes in fedora package list, Alex Bennée, 2021/07/12
- [PULL 39/40] docs/devel: Added cache plugin to the plugins docs, Alex Bennée, 2021/07/12
- [PULL 38/40] plugins/cache: Added FIFO and LRU eviction policies, Alex Bennée, 2021/07/12
- [PULL 19/40] tests/docker: expand centos8 package list, Alex Bennée, 2021/07/12
- [PULL 18/40] tests/docker: remove mingw packages from Fedora, Alex Bennée, 2021/07/12
- [PULL 17/40] tests/docker: fix mistakes in ubuntu package lists, Alex Bennée, 2021/07/12
- [PULL 14/40] tests/docker: fix sorting in package lists, Alex Bennée, 2021/07/12
- [PULL 28/40] meson.build: move TCG plugin summary output, Alex Bennée, 2021/07/12
- [PULL 25/40] tests/vm: update openbsd to release 6.9, Alex Bennée, 2021/07/12
- [PULL 15/40] tests/docker: fix mistakes in centos package lists, Alex Bennée, 2021/07/12