Re: Build failure on FreeBSD/PowerPC 32-bit
Stas Boukarev <[email protected]> Sat, 11 Jan 2025 17:03:55 +0300
| Newsgroups | gmane.lisp.steel-bank.general |
|---|---|
| Message-ID | <CAF63=126QUcurbqkg1RK6zQ1FXPvo0MbD608J+yT8QCM6WvSYQ@mail.gmail.com> |
Protip, instead of "p pointer", do "p $1" (or whichever number after $ it is). On Sat, Jan 11, 2025 at 5:02 PM Douglas Katzman via Sbcl-help <[email protected]> wrote: > > > > 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 _______________________________________________ Sbcl-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sbcl-help