summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2022-03-21 00:34:24 +0100
committerMark Wielaard <mark@klomp.org>2022-03-24 11:30:17 +0100
commitd85945f1056641180e03fb48ab770b893125786e (patch)
tree55f6e3fc349a49a45acd4788b4f7845e1b18a2b5 /m4
parenttests: Check addsections test binary is 64bit for run-large-elf-file.sh (diff)
downloadelfutils-d85945f1056641180e03fb48ab770b893125786e.tar.gz
elfutils-d85945f1056641180e03fb48ab770b893125786e.tar.bz2
elfutils-d85945f1056641180e03fb48ab770b893125786e.tar.xz
configure: Don't check whether -m64 works for 32bit host biarch check
Running a 32bit backtrace test against a 64bit binary doesn't work. Only a 64bit binary can backtrace a 32bit binary. So disable the biarch check that inserts -m64 for a 32bit host. https://sourceware.org/bugzilla/show_bug.cgi?id=24158 Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'm4')
-rw-r--r--m4/ChangeLog4
-rw-r--r--m4/biarch.m42
2 files changed, 5 insertions, 1 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog
index d4c3c28c..8729f58c 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,7 @@
12022-03-20 Mark Wielaard <mark@klomp.org>
2
3 * biarch.m4: Don't check whether -m64 works for 32bit host.
4
12022-03-14 Mark Wielaard <mark@klomp.org> 52022-03-14 Mark Wielaard <mark@klomp.org>
2 6
3 * biarch.m4: Use AS_HELP_STRING instead of AC_HELP_STRING. 7 * biarch.m4: Use AS_HELP_STRING instead of AC_HELP_STRING.
diff --git a/m4/biarch.m4 b/m4/biarch.m4
index 68618473..c7baead7 100644
--- a/m4/biarch.m4
+++ b/m4/biarch.m4
@@ -34,7 +34,7 @@ AC_ARG_WITH([biarch],
34AS_IF([test $utrace_biarch_forced = yes], [dnl 34AS_IF([test $utrace_biarch_forced = yes], [dnl
35utrace_cv_cc_biarch=yes 35utrace_cv_cc_biarch=yes
36AC_MSG_NOTICE([enabling biarch tests regardless using $biarch_CC])], [dnl 36AC_MSG_NOTICE([enabling biarch tests regardless using $biarch_CC])], [dnl
37AS_IF([test x$utrace_cv_CC_m32 != xnone], [dnl 37AS_IF([test x$utrace_cv_CC_m32 != xnone -a x$utrace_cv_host64 != xno], [dnl
38AC_CACHE_CHECK([whether $biarch_CC makes executables we can run], 38AC_CACHE_CHECK([whether $biarch_CC makes executables we can run],
39 utrace_cv_cc_biarch, [dnl 39 utrace_cv_cc_biarch, [dnl
40save_CC="$CC" 40save_CC="$CC"