exec(btxld) failed (No such file or directory) and obj via nullfs

From: Rozhuk Ivan <rozhuk.im_at_gmail.com>
Date: Fri, 10 Jun 2022 02:48:39 UTC
Hi!


I found a way to fix error during install: exec(btxld) failed (No such file or directory)
in case obj is nullfs mounted.


Use option: -o nocache
mount_nullfs -o rw -o nocache -o noatime "${MAKEOBJDIRPREFIX_TMP}" "${MAKEOBJDIRPREFIX}"


This helps for me, hope it will be usfull for community.


PS: this works even without https://reviews.freebsd.org/D23411 patch.
I do not dig inside this and have no idea why this option undocumented.
Probably this some kernel/nullfs bug that must be investigated, or just
remove option and make it always enabled.