> i got the thing behaving correctly by tweaking the Makefile:
> ifeq ($(shell uname), OpenBSD)
> OS = OpenBSD
> PICOLISP-FLAGS = -m32 -rdynamic -Wl,-E
> LIB-FLAGS = -lc -lm
> DYNAMIC-LIB-FLAGS = -Wl,-E -Wl,-shared
> STRIP = strip
BTW, I was wrong when I said that we used OpenBSD for a previous
customer. Instead, it was FreeBSD! Now the situation makes sense, it
might well be that the OpenBSD build was never really tested.
So there is no risk if I incorporate your changes into the Makefile.