> Date: Thu, 7 Mar 2024 12:55:50 +0000 > From: Stuart Henderson <s...@spacehopper.org> > > On 2024/03/07 10:28, Mark Kettenis wrote: > > This version looks best to me. But I suspect arm64 needs more work in > > this version too. > > I tried to give it a spin with gnustep-based software, but no > gnustep-base package is available for arm64 yet (I suspect because of > the previous bugs in the libobjc2 port). > > If I try to build gnustep-base myself it fails with BTI SIGILL during > autoconf when doing a test for libffi, so it looks like we're probably > missing something in libffi (tobhe fixed some things last November). > I'm not getting useful backtraces so not sure where in libffi it's > needed. Test program from libobjc2's autoconf files attached: > > $ cc -I/usr/local/include -L/usr/local/lib config.ffi.c -lffi > $ ktrace ./a.out > a > Illegal instruction (core dumped) > $ kdump | tail > 5909 a.out RET mmap 29349658624/0x6d5604000 > 5909 a.out CALL fcntl(1,F_ISATTY) > 5909 a.out RET fcntl 1 > 5909 a.out CALL write(1,0x6d5604000,0x2) > 5909 a.out GIO fd 1 wrote 2 bytes > "a > " > 5909 a.out RET write 2 > 5909 a.out PSIG SIGILL SIG_DFL code=ILL_BTCFI addr=0x6e74fe010 > trapno=905969666 > 5909 a.out NAMI "a.out.core" > > "make test" in libffi runs ok, but picking another consumber of libffi > I tried "make test" in guile3, and that has SIGILLs too.
I'll take a look.