Subject: Re: bug#54198: Guile 3.0.8 cross-compiled to i586-pc-gnu crashes
From: Ludovic Courtès <[email-masked]>
To: [email-masked]
Date: Tue, 01 Mar 2022 09:44:22 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Ludovic Courtès <[email-masked]> skribis:

> #11 0x010b68dc in range_error (bad_val=bad_val@entry=0x6, min=0x2, max=max@entry=0xfffffffe) at numbers.c:6611
> #12 0x010b6b8f in inum_in_range (max=-1, min=0, x=0x6) at numbers.c:6630
> #13 scm_to_uint32 (arg=0x6) at numbers.c:6787

Turns out we had SCM_SIZEOF_LONG == 8 (instead of 4, since i586-pc-gnu
is a 32-bit platform), as Andy hinted on IRC yesterday.

Fixed in Guile commit 24b30130ca75653bdbacea84ce0443608379d630.

Ludo’.