OpenBSD port for FPC is marked broken
Original Reporter info from Mantis: DanCrossNYC
-
Reporter name: Dan Cross
Original Reporter info from Mantis: DanCrossNYC
- Reporter name: Dan Cross
Description:
The OpenBSD port for FPC has been marked "BROKEN" by the OpenBSD maintainers. From https://cvsweb.openbsd.org/ports/lang/fpc/Makefile one sees the following commit message for v1.19 of the port's Makefile, committed Jan 28, 2020:
Mark BROKEN. Instead of going through the libc stub, Free Pascal
issues system calls from the main program. This is no longer allowed
starting with sys/kern/exec_elf.c rev 1.154.
Steps to reproduce:
Install OpenBSD, install the ports collection, attempt to install fpc from ports.
Additional information:
Apparently, based on the commit message, OpenBSD no longer supports issuing system calls directly, but (effectively) requires going through the shims in libc. The solution would seem to be to, on OpenBSD, issue system calls by emitting function calls to well-known names in the compiler, and then linking against libc.
Mantis conversion info:
- Mantis ID: 37168
- Build: NA
- Version: 3.0.4