[Bug 260899] emulators/qemu-user-static: (and -devel) failing because of change to swapoff(2) in -current
Date: Wed, 05 Jan 2022 08:31:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260899 Martin Birgmeier <d8zNeCFG@aon.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |d8zNeCFG@aon.at --- Comment #6 from Martin Birgmeier <d8zNeCFG@aon.at> --- Created attachment 230725 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=230725&action=edit patch to qemu-user-static-devel I have been using the attached patch for getting qemu-user-static-devel to compile on main 398c88c7582a195cbfeb689ceff1400cc717673f. However, when then using this to run armv6 executables from amd64 (itself a bhyve VM), many programs abort; the following transcripts starts on amd64, after the chroot on armv6, after the exit back to amd64; one can see that cc simply aborts: [0]# uname -a FreeBSD v903.xyzzy 14.0-CURRENT FreeBSD 14.0-CURRENT #0 MBi/main-n243600-4a74367b7a4: Sat Jan 1 15:43:00 CET 2022 root@v903.xyzzy:/net/hal/z/OBJ/FreeBSD/amd64/src/MBi/main/amd64.amd64/sys/XYZZY_SMP_VM amd64 [0]# chroot /d/925s2a [0]# uname -a FreeBSD v903.xyzzy 14.0-CURRENT FreeBSD 14.0-CURRENT #0 MBi/main-n243600-4a74367b7a4: Sat Jan 1 15:43:00 CET 2022 root@v903.xyzzy:/net/hal/z/OBJ/FreeBSD/amd64/src/MBi/main/amd64.amd64/sys/XYZZY_SMP_VM arm [0]# echo $SHELL /bin/zsh [0]# ls .cshrc mnt .profile net .snap patch.2021-12-31.14:20:19 .sujournal proc bin qemu-arm-static.core boot rescue COPYRIGHT root CVS sbin d srcs dev sys etc tmp lib usr libexec var MBi_main.2327598b8ec_ORIG.tar.gz vol media [0]# cc zsh: segmentation fault (core dumped) cc [139]# exit [139]# -- Martin -- You are receiving this mail because: You are the assignee for the bug.