I'm trying to compile gcl-2.7.1 on OpenBSD 7.7 with gcc-11. Configure seems to be stopping on this particular error:
configure:7102: egcc -o conftest -fsigned-char -pipe -fcommon -fno-builtin- malloc -fno-builtin-free -std=gnu17 -Wall -Wno-empty-body -Wno-unused-but-set- variable -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -no-pie -Werror -Z conftest.c >&5 ld: error: unknown argument '-Z' I'm not all that strong on the compiler tooling, but it appears that this -Z argument is either being erroneously passed to the linker, or it's expecting ln to have a -Z option. To add some additional context I did substitute the gcl config.guess with the one distributed by OpenBSD. Any suggestions of where to look next? Is there some linker version that does have a -Z option? TIA, --Bruce