bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44000: Guile-Git cross-compiled to i586-pc-gnu gets bytestructures w


From: Ludovic Courtès
Subject: bug#44000: Guile-Git cross-compiled to i586-pc-gnu gets bytestructures wrong
Date: Mon, 16 Nov 2020 18:37:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi,

Taylan Kammer <taylan.kammer@gmail.com> skribis:

> The module (bytestructures guile numeric) ought to work, although it
> doesn't contain the binding 'arch32bit?'.  Do you actually need that 
> predicate, or was that just for demonstration?  The "right" way to
> test whether the predicate works correctly would be to check whether
> e.g. intptr_t equals int32 or int64 as per 'eq?'.

Oh right, that makes sense.  Apparently, all is good:

--8<---------------cut here---------------start------------->8---
scheme@(guix-user)> ,m (bytestructures guile numeric)          
scheme@(bytestructures guile numeric)> intptr_t
$2 = #<bytestructure-descriptor 0x5600e60>
scheme@(bytestructures guile numeric)> (eq? intptr_t int32)
$3 = #t
scheme@(bytestructures guile numeric)> (eq? intptr_t int64)
$4 = #f
--8<---------------cut here---------------end--------------->8---

I’ll get more debugging info about the crash and will let you know if
Bytestructures is the culprit.  ;-)

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]