Re: Build failure on FreeBSD/PowerPC 32-bit

Douglas Katzman via Sbcl-help <[email protected]> Sat, 11 Jan 2025 09:00:44 -0500
Newsgroups gmane.lisp.steel-bank.general
Message-ID <CAOrNaswJ0+gvcR_0rtAvTZ6JkyO8tam+7BypvvKN=hJZ1yY=3w@mail.gmail.com>
On Sat, Jan 11, 2025 at 8:25 AM Curtis Hamilton <[email protected]> wrote:

> Could the issue be related to the ABI?  FreeBSD uses ABI 2 on PowerPC both
> big and little endian, which is the same ABI Linux uses for little endian.
> According to “make-config.sh” little endian is never 32-bit.
>
> Yes, I think this would be a problem for calling from Lisp into C.
However, the failure you're getting implies that at least _some_  calls
into C are working.  The fact that it is able to print the list of files
means it successfully invoked write() in libc.

When you get this error:
   SC: 0, Offset: 30  0x0000004e: other immediate 1, unbound-marker
    SC: 3, Offset: 9 $1=  0x50775c6b: list pointer
Can you try 'p 0x50775c6b' (substituting in the actual value of that
pointer if it is not this) to get a little more information? I'm slightly
confused why UNARY-TRUNCATE-SINGLE-FLOAT-TO-BIGNUM is trying to signal a
type error about an object the name of whose type is a list.  Also, if I
purposely call unary-truncate-single-float-to-bignum with unbound-marker,
then I get a fairly hard crash (which is reasonable since it is
system-internal), and not a type error.

_______________________________________________
Sbcl-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sbcl-help