Re: Bug#977223: guile-3.0: FTBFS on hppa - segmentation faults

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.powerpc,gmane.linux.debian.ports.hppa,gmane.linux.debian.ports.68k
Message-ID <[email protected]>
Hi Rob!

On 2/28/22 09:53, John Paul Adrian Glaubitz wrote:
> I tested your proposed patch on the porterbox perotto.debian.net in a powerpc
> chroot, but unfortunately it didn't work:

I think this check is wrong:

diff --git a/configure.ac b/configure.ac
index 827e1c09d..dec060414 100644
--- a/configure.ac
+++ b/configure.ac
@@ -369,6 +369,9 @@ else
 fi
 AC_SUBST([SCM_I_GSC_T_PTRDIFF])
 
+AM_CONDITIONAL([DEB_GUILE_32_BIT_BIG_ENDIAN],
+  [test "$ac_cv_words_bigendian" && test "$ac_cv_sizeof_void_p" -lt 8])
+
 AC_CHECK_HEADERS([stdatomic.h])
 
 AC_MSG_CHECKING([for which prebuilt binary set to use during bootstrap])

It looks like the correct variable name for the big-endian check is

	$ac_cv_c_bigendian

Adrian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.