problems on FreeBSD14 on armv6 board (RPI1-B)

From: Alex Samorukov <samm_at_freebsd.org>
Date: Sat, 16 Dec 2023 10:34:29 UTC
Hello,

I just upgraded my old (but still working) RPI-B board to FreeBSD 14 
using cross-build [1]. Good news - it actually boots fine and seems to 
work. But i found a problem - `ps -x` command fails:

root@rpi:# ps ax
Floating exception (core dumped)

I tried to recompile it with default flags myself on rpi, but the result 
is the same.

This is output from the gdb:

root@rpi:/usr/src # gdb /bin/ps
GNU gdb (GDB) 12.1 [GDB v12.1 for FreeBSD]
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "armv6-portbld-freebsd14.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
     <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /bin/ps...
Reading symbols from /usr/lib/debug//bin/ps.debug...
(gdb) run ax
Starting program: /bin/ps ax

Program received signal SIGFPE, Arithmetic exception.
Floating point underflow.
0x0002423c in getpcpu (k=k@entry=0x2083aa00) at 
/usr/home/srvadm/freebsd-src/bin/ps/print.c:649
649	/usr/home/srvadm/freebsd-src/bin/ps/print.c: No such file or 
directory.


[1] 
https://smallhacks.wordpress.com/2023/07/20/updating-freebsd-on-armv6-board-rpi-b/


Is it some known issue? Is anyone else using RPI on FreeBSD 14?