From: Stuart Henderson Subject: Re: devel/ruby-ffi failure on arm64 BTI To: Klemens Nanni Cc: ports , Jeremy Evans Date: Sun, 22 Mar 2026 19:23:04 +0000 On 2026/03/22 15:51, Klemens Nanni wrote: > # pkg_add ruby34-ffi > $ ktrace -di ruby34 /usr/local/lib/ruby/gems/3.4/gems/ffi-1.17.2/samples/getpid.rb > [ big dump of loaded files ] > Illegal instruction (core dumped) > > $ kdump | grep BTCFI > 88448 ruby34 PSIG SIGILL caught handler=0x221c893fcc mask=0<> code=ILL_BTCFI addr=0x22b6114000 trapno=905969665 ... > Even with USE_NOBTCFI-aarch64=Yes in lang/ruby/3.4 (as well as devel/ruby-ffi > and devel/libffi for good measure) it still fails. does it make it into the binary? objdump -p | grep OPENBSD (compare with e.g. python3). setting it on the libraries won't help.