On Mon, 21 Oct 2024, Sad Clouds wrote:
Hi, thanks for the pointers. Looks like wm/cde includes a copy of ksh, so I applied the first patch you linked. It is still failing in the same place, even after cleaning up all object files.
Did that iffe test succeed in detecting SYS___getcwd after the patch? If not, you'll have to find out why it didn't.
I logged the actual compiler command, see below. So removing -D_FORTIFY_SOURCE=2 resolves the issue. If NetBSD getcwd() issue was fixed back in 2023, how come this fix did not make to 9.4_STABLE?
You can always ask for a pull-up. Contact christos@/martin@ -RVP